Arm Cortex R4F Manuel d'utilisateur Page 52

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 456
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 51
Programmer’s Model
ARM DDI 0363E Copyright © 2009 ARM Limited. All rights reserved. 2-6
ID013010 Non-Confidential, Unrestricted Access
2.5 Memory formats
The processor views memory as a linear collection of bytes numbered in ascending order from
zero. For example, bytes 0-3 hold the first stored word, and bytes 4-7 hold the second stored
word.
The processor can treat words of data in memory as being stored in either:
Byte-invariant big-endian format
Little-endian format.
Additionally, the processor supports mixed-endian and unaligned data accesses. For more
information, see the ARM Architecture Reference Manual.
2.5.1 Byte-invariant big-endian format
In byte-invariant big-endian (BE-8) format, the processor stores the most significant byte of a
word at the lowest-numbered byte, and the least significant byte at the highest-numbered byte.
Figure 2-1 shows byte-invariant big-endian (BE-8) format.
Figure 2-1 Byte-invariant big-endian (BE-8) format
2.5.2 Little-endian format
In little-endian format, the lowest-numbered byte in a word is the least significant byte of the
word and the highest-numbered byte is the most significant. Figure 2-2 shows little-endian
format.
Figure 2-2 Little-endian format
Memory Register
Address
A[31:0]
+1
msbyte
lsbyte
+2
+3
B0
07
B1
B3B2B0 B1
31 24 23 16 15 8 7 0
B2
B3
Memory Register
Address
A[31:0]
+1
msbyte
lsbyte
+2
+3
b0
07
b1
b0b1b3 b2
31 24 23 16 15 8 7 0
b2
b3
Vue de la page 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 455 456

Commentaires sur ces manuels

Pas de commentaire