User’s Manual U11969EJ3V0UM00
69
CHAPTER 3 CPU FUNCTIONS
3.4.7 Recommended use of address space
The architecture of the V854 requires that a register that serves as a pointer be secured for address generation
in operand data accessing for data space. The address in this pointer register
±
32 Kbytes can be accessed directly
from instruction. However, general register used as a pointer register is limited. Therefore, by minimizing the
deterioration of address calculation performance when changing the pointer value, the number of usable general
registers for handling variables is maximized, and the program size can be saved because instructions for calculating
pointer addresses are not required.
To enhance the efficiency of using the pointer in connection with the memory map of the V854, the following points
are recommended:
(1) Program space
Of the 32 bits of the PC (program counter), the higher 8 bits are fixed to “0”, and only the lower 24 bits are
valid. Therefore, a contiguous 16-Mbyte space, starting from address 00000000H, unconditionally corresponds
to the memory map of the program space.
(2) Data space
For the efficient use of resources to be performed through the wrap-around feature of the data space, the
continuous 8-Mbyte address spaces 00000000H to 007FFFFFH and FF800000H to FFFFFFFFH of the 4-
Gbyte CPU are used as the data space. With the V854, 16-Mbyte physical address space is seen as 256
images in the 4-Gbyte CPU address space. The highest bit (bit 23) of this 24-bit address is assigned as address
sign-extended to 32 bits.
Application of wrap-around
For example, when R = r0 (zero register) is specified for the LD/ST disp 16 [R] instruction, an addressing range
of 00000000H
±
32 Kbytes can be referenced with the sign-extended, 16-bit displacement value. By mapping
the external memory in the 24-Kbyte area in the figure, all resources including on-chip hardware can be
accessed with one pointer.
The zero register (r0) is a register set to 0 by the hardware, and eliminates the need for additional registers
for the pointer.
00007FFFH
(R =) 00000000H
FFFFF000H
FFFF8000H
Internal
ROM area
Peripheral I/O
External memory
area
FFFFE000H
Internal RAM area
32 KB
4 KB
4 KB
24 KB
0001FFFFH
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...