A SERVICE OF

logo

120 EPSON S1C63000 CORE CPU MANUAL
CHAPTER 4: INSTRUCTION SET
RETS
RL %r Rotate left r reg. with carry 1 cycle
Function:
Rotates the content of the r register (A or B) including the carry (C) to the left for 1 bit. The
content of the C flag moves to bit 0 of the r register and bit 3 moves to the C flag.
Code:
Mnemonic MSB LSB
RL %A 100001111001010F2H
RL %B 100001111011010F6H
Flags: EICZ
↕↕
Mode: Register direct
Extended addressing: Invalid
Return and skip 2 cycles
Function: PC ([SP1*4+3]~[SP1*4]), SP1 SP1 +1, PC PC + 1
After executing the RET instruction, increments the PC to skip 1 instruction immediately after
the return.
Code:
Mnemonic MSB LSB
RETS 11111111110111FFBH
Flags: EICZ
–––
C 3210 r