Epson S1C63000 Personal Computer User Manual


 
S1C63000 CORE CPU MANUAL EPSON 117
CHAPTER 4: INSTRUCTION SET
POP %ir
PUSH %r Push r reg. onto stack 1 cycle
Function: [SP2-1] r, SP2 SP2 -1
Decrements the stack pointer SP2, then stores the content of the r register (A, B or F) into the
address indicated by the SP2.
Code:
Mnemonic MSB LSB
PUSH %A 1111111100111 1FE7H
PUSH %B 1111111100110 1FE6H
PUSH %F 11111111001011FE5H
Flags: EICZ
–––
Mode: Register direct
Extended addressing: Invalid
Pop top of stack into ir reg. 1 cycle
Function: ir ([SP1*4+3]~[SP1*4]), SP1 SP1 +1
Loads the 16-bit data that has been stored in the addresses (4 words) indicated by the stack
pointer SP1 (SP1 indicates the lowest address) into the ir register (X or Y), then increments the
SP1.
Code:
Mnemonic MSB LSB
POP %X 11111111010011FE9H
POP %Y 111111110101X1FEAH, (1FEBH)
Flags: EICZ
–––
Mode: Register direct
Extended addressing: Invalid