Freescale-semiconductor StarCore SC140 Manual de usuario Pagina 94

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 760
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 93
2-62 SC140 DSP Core Reference Manual
Memory Interface
2.4.1.5 Instruction Word Transfers
Instruction words are transferred to the core from memory over the program data bus (PDB) to special
instruction registers in the program dispatch unit (PDU).
The instruction registers can be accessed only with aligned access of 128-bit width (8 instruction words).
Figure 2-24 shows the program memory organization in big and little endian modes. Note that program
data consists of a series of 16-bit instructions. In this example the assembler determines the instructions to
be:
word address $
00 instruction $a0b0
word address $02 instruction $c0d0
word address $04 instruction $e0f0
word address $06 instruction $a1b1
word address $08 instruction $c1d1
word address $0a instruction $e1f1
word address $0c instruction $a2b2
word address $0e instruction $c2d2
word address $10 instruction $e2f2
.....
These are to be placed in memory as shown in the following figure.
Figure 2-24. Program Memory Organization in Big and Little Endian Modes
The assembler outputs a byte stream to the loader and therefore corrects for the byte address reversal inside
each 16-bit instruction to achieve the memory results above.
Big Endian Assembler OutputLittle Endian Assembler Output
byte address $00 data $a0byte address $00 data $b0
byte address $01 data $b0byte address $01 data $a0
byte address $02 data $c0byte address $02 data $d0
byte address $03 data $d0byte address $03 data $c0
byte address $04 data $e0byte address $04 data $f0
..... .....
0
8
16 ($10)
24 ($18)
76543210
Little Endian
a0b0c0d0e0f0a1b1
c1d1e1f1a2b2
c2d2
e2f2
a3b3
c3d3e3f3
0
8
16 ($10)
24 ($18)
01234567
Big Endian
a1b1e0f0c0d0
c2d2a2b2e1f1
e3f3
c3d3
a3b3e2f2
a0b0
c1d1
Vista de pagina 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 759 760

Comentarios a estos manuales

Sin comentarios