NEC PD75P402 User Manual Page 184

  • Download
  • Add to my manuals
  • Print
  • Page
    / 195
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 183
173
CHAPTER 9. INSTRUCTION SET
PUSH rp
Function: (SP-1) rpH, (SP-2) rpL, SP SP-2
Saves the contents of register pair rp (XA, HL) to the data memory (stack) addressed by the stack pointer
(SP), then decrements the SP.
The high-order side (rp
H: X, H) of the register pair is saved to the stack addressed by (SP-1) and the low-
order side (rp
L: A, L) is saved to the stack addressed by (SP-2).
POP rp
Function: rpL (SP), rpH (SP+1), SP SP+2
Restores the contents of the data memory (stack) addressed by the stack pointer (SP) to register pair rp (XA,
HL), then increments the SP.
The contents of (SP) are restored to the low-order side (rp
L: A, L) of the register pair and the contents of (SP+1)
are restored to the high-order side (rp
H: X, H).
Page view 183
1 2 ... 179 180 181 182 183 184 185 186 187 188 189 ... 194 195

Comments to this Manuals

No comments