group of 16 registers. Registers
R15.
Example 3
The statement:
SRP 0Fh
Op Code: 31 0F
sets the Register Pointer to access Expanded Register Bank F, Reg
current Working Registers. All references to Working Registers now affect this group of
16 registers. These registers are now accessed as Working Registers R0 to R15. Port Reg-
isters are now not accessable.
Example 4
Assume the RP currently addresses the Control and Peripheral Working Register Group
and the program has just entered an interrupt service routine. The statement:
SRP 70h
Op Code: 31 70
retains the contents of the Control and Peripheral Registers by setting the RP to
(
01110000b
ters
70h
UM001604-0108
F0h
). Any reference to Working Registers in the interrupt routine points to regis-
to
.
7Fh
to
can be accessed as Working Registers R0 to
FFh
®
Z8
CPU
User Manual
←
to Reg
, as the
0Fh
70h
Instruction Description
230
Need help?
Do you have a question about the Z8 Series and is the answer not in the manual?