User’s Manual
PPC440x5 CPU Core
Preliminary
Page 44 of 589
prgmodel.fm.
September 12, 2002
Big Endian Mapping
The big endian mapping of structure
s follows (the data is highlighted in the structure mappings). Addresses,
in hexadecimal, are below the data stored at the address. The contents of each byte, as defined in structure
s, is shown as a (hexadecimal) number or character (for the string elements). The shaded cells correspond to
padded bytes.
Little Endian Mapping
Structure
s is shown mapped little endian.
2.1.3.2 Instruction Byte Ordering
PowerPC Book-E defines instructions as aligned words (four bytes) in memory. As such, instructions in a big
endian program image are arranged with the most-significant byte (MSB) of the instruction word at the
lowest-numbered address.
Consider the big endian mapping of instruction p at address 0x00, where, for example, p = add r7, r7, r4:
11
12
13
14
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
21
22
23
24
25
26
27
28
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
31
32
33
34
'A'
'B'
'C'
'D'
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
'E'
'F'
'G'
51
52
0x18
0x19
0x1A
0x1B
0x1C
0x1D
0x1E
0x1F
61
62
63
64
0x20
0x21
0x22
0x23
0x24
0x25
0x26
0x27
14
13
12
11
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
28
27
26
25
24
23
22
21
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F
34
33
32
31
'A'
'B'
'C'
'D'
0x10
0x11
0x12
0x13
0x14
0x15
0x16
0x17
'E'
'F'
'G'
52
51
0x18
0x19
0x1A
0x1B
0x1C
0x1D
0x1E
0x1F
64
63
62
61
0x20
0x21
0x22
0x23
0x24
0x25
0x26
0x27
MSB
LSB
0x00
0x01
0x02
0x03
Содержание PPC440X5 CPU Core
Страница 1: ...PPC440x5 CPU Core User s Manual Preliminary SA14 2613 02 September 12 2002 Title Page...
Страница 22: ...User s Manual PPC440x5 CPU Core Preliminary Page 22 of 583 ppc440x5LOT fm September 12 2002...
Страница 26: ...User s Manual PPC440x5 CPU Core Preliminary Page 26 of 589 preface fm September 12 2002...
Страница 38: ...User s Manual PPC440x5 CPU Core Preliminary Page 38 of 589 overview fm September 12 2002...
Страница 94: ...User s Manual PPC440x5 CPU Core Preliminary Page 94 of 589 init fm September 12 2002...
Страница 132: ...User s Manual PPC440x5 CPU Core Preliminary Page 132 of 589 cache fm September 12 2002...
Страница 158: ...User s Manual PPC440x5 CPU Core Preliminary Page 158 of 589 mmu fm September 12 2002...
Страница 218: ...User s Manual PPC440x5 CPU Core Preliminary Page 218 of 589 timers fm September 12 2002...
Страница 248: ...User s Manual PPC440x5 CPU Core Preliminary Page 248 of 589 debug fm September 12 2002...
Страница 458: ...User s Manual PPC440x5 CPU Core Preliminary Page 458 of 589 regsummIntro fm September 12 2002...
Страница 568: ...User s Manual PPC440x5 CPU Core Preliminary Page 568 of 589 instalfa fm September 12 2002...
Страница 588: ...User s Manual PPC440x5 CPU Core Preliminary Page 588 of 583 ppc440x5IX fm September 12 2002...
Страница 590: ......