![Samsung S3F84B8 Скачать руководство пользователя страница 39](http://html.mh-extra.com/html/samsung/s3f84b8/s3f84b8_user-manual_347832039.webp)
S3F84B8_UM_REV 1.00
2 ADDRESS SPACES
2-9
2.3.1.4 Working Registers
Instructions can access specific 8-bit registers or 16-bit register pairs using 4-bit or 8-bit address fields. When 4-bit
working register addressing is used, consider the 256 byte register file as the one that consists of 32 8-byte
register groups or “slices.” Each slice comprises of eight 8-bit registers.
Using the two 8-bit register pointers (RP1 and RP0), the two working register slices can be selected at one time to
form a 16 byte working register block. Using the register pointers, you can move this 16 byte register block
anywhere in the addressable register file, except the set 2 area.
The terms “slice” and “block” are used in this manual to help you visualize the size and relative locations of
selected working register spaces.
One working register slice is 8 bytes (eight 8-bit working registers, R0–R7 or R8–R15)
One working register block is 16 bytes (sixteen 8-bit working registers, R0–R15)
All the registers in an 8 byte working register slice have the same binary value for their five most significant
address bits. This makes it possible for each register pointer to point to one of the 32 slices in the register file. The
base addresses for the two selected 8 byte register slices are contained in register pointers RP0 and RP1.
After a reset, both RP0 and RP1 always point to the 16 byte common area in set 1 (C0H–CFH).
Each register pointer points to
one 8-byte slice of the register
space, selecting a total 16-byte
working register block.
1 1 1 1 1 X X X
RP1 (Registers R8-R15)
RP0 (Registers R0-R7)
Slice 32
Slice 31
~
~
CFH
C0H
FFH
F8H
F7H
F0H
FH
8H
7H
0H
Slice 2
Slice 1
10H
Set 1
Only
0 0 0 0 0 X X X
Figure 2-6 8 Byte Working Register Areas (Slices)