Epson S1C63000 Personal Computer User Manual


 
S1C63000 CORE CPU MANUAL EPSON 83
CHAPTER 4: INSTRUCTION SET
CALZ imm8 Call subroutine at location imm8 1 cycle
Function: ([(SP1-1)*4+3]~[(SP1-1)*4]) PC + 1, SP1 SP1 - 1, PC imm8
Saves the address next to this instruction to the stack as a return address, then unconditionally
calls the subroutine started from the address (0000H–00FFH) specified with the imm8.
Code:
Mnemonic MSB LSB
CALZ imm8 00011i7i6i5i4i3i2i1i00300H–03FFH
Flags: EICZ
–––
Mode: Immediate data
Extended addressing: Invalid
CLR [addr6],imm2 Clear bit imm2 in location [addr6] 2 cycles
Function: [addr6] [addr6] not (2
imm2
)
(addr6 = 0000H–003FH or FFC0H–FFFFH)
Clears the bit specified with the imm2 in the data memory specified with the addr6 to "0".
Code:
Mnemonic MSB LSB
CLR [00addr6],imm2
10100i1i0a5a4a3a2a1a01400H–14FFH
CLR [FFaddr6],imm2
10101i1i0a5a4a3a2a1a01500H–15FFH
Flags: EICZ
––
Mode: Src: Immediate data
Dst: 6-bit absolute
Extended addressing: Invalid