CHAPTER 2 REGISTERS
User’s Manual U11047EJ3V0UM00
25
Figure 2-4. Data to Be Saved to Stack Memory
Figure 2-5. Data to Be Restored from Stack Memory
2.2 General-Purpose Registers
The general-purpose register consists of eight 8-bit registers (X, A, C, B, E, D, L, and H).
Each register can be used as an 8-bit register, or two 8-bit registers in pairs can be used as a 16-bit register (AX,
BC, DE, and HL).
Registers can be described in terms of functional names (X, A, C, B, E, D, L, H, AX, BC, DE, and HL) and
absolute names (R0 to R7 and RP0 to RP3).
Interrupt
PSW
PC15 to PC8
PC15 to PC8
PC7 to PC0
Lower byte in
register pair
SP SP
−
2
SP
−
2
CALL, CALLT
instructions
PUSH rp
instruction
SP
−
1
SP
SP SP
−
2
SP
−
2
SP
−
1
SP
PC7 to PC0
SP
−
3
SP
−
2
SP
−
1
SP
SP SP
−
3
Upper byte in
register pair
RETI instruction
PSW
PC15 to PC8
PC15 to PC8
PC7 to PC0
Lower byte in
register pair
RET instruction
POP rp
instruction
SP
PC7 to PC0
Upper byte in
register pair
SP + 1
SP SP + 2
SP
SP + 1
SP SP + 2
SP
SP + 1
SP + 2
SP SP + 3
Содержание 78K/0S Series
Страница 2: ...User s Manual U11047EJ3V0UM00 2 MEMO ...
Страница 14: ...User s Manual U11047EJ3V0UM00 14 MEMO ...
Страница 28: ...User s Manual U11047EJ3V0UM00 28 MEMO ...
Страница 118: ...User s Manual U11047EJ3V0UM00 118 MEMO ...
Страница 120: ...User s Manual U11047EJ3V0UM00 120 MEMO ...
Страница 122: ...User s Manual U11047EJ3V0UM00 122 MEMO ...