Z8 Microcontrollers
Instruction Descriptions and Formats ZiLOG
12-68 UM001601-0803
SRP
SET REGISTER POINTER
Example:
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 70H (01110000B). Any reference
to Working Registers in the interrupt routine will point to registers 70H to 7FH.