2 instruction list, 1 function classification – Epson S1C63000 User Manual
Page 43
S1C63000 CORE CPU MANUAL
EPSON
37
CHAPTER 4: INSTRUCTION SET
• Signed 16-bit PC relative addressing
The addressing mode of the following branch instructions, which have an 8-bit relative address as the
operand, change to the signed 16-bit PC relative addressing with the E flag set to "1". Consequently, it
is possible to extend the branch range to the next address -32768 to +32767. (In this mode these
instructions can branch the entire 64K program memory.)
Instructions that operate in the signed 16-bit PC relative addressing mode with the E flag
JR
sign8
JRC
sign8
JRNC sign8
JRZ
sign8
JRNZ sign8
CALR sign8
Examples:
LDB
%EXT,0x64
JR
0x29
...Works as "JR 0x6429"
LDB
%EXT,0x3A
JR
∗
0x88
...Works as "JR
∗
0x3A88" (
∗
= C, NC, Z, or NZ)
LDB
%EXT,0xF8
CALR 0x62
...Works as "CALR 0xF862"
4.2 Instruction List
4.2.1 Function classification
Table 4.2.1.1 lists the function classifications of the instructions.
Table 4.2.1.1 Instruction function classifications
Function classification
Arithmetic
Logic
Transfer
Mnemonic
Operation
Addition
Addition with carry
Subtraction
Subtraction with carry
Comparison
Increment (adds 1)
Decrement (subtracts 1)
Logical product
Logical sum
Exclusive OR
Bit test
Bit clear
Bit set
Bit test
Load (4-bit data)
Load (8-bit data)
Exchange (4-bit data)
ADD
ADC
SUB
SBC
CMP
INC
DEC
AND
OR
XOR
BIT
CLR
SET
TST
LD
LDB
EX
Function classification
Rotate / shift
Stack control
Branch
System control
Mnemonic
Operation
Rotate to left with carry
Rotate to right with carry
Logical shift to left
Logical shift to right
Push
Pop
Relative jump
Indirect jump
Absolute call
Rrelative call
Return
Return and skip
Return and data set
Interrupt return
Software interrupt
No operation
Shift to HALT status
Shift to SLEEP status
RL
RR
SLL
SRL
PUSH
POP
JR
JP
CALZ
CALR
RET
RETS
RETD
RETI
INT
NOP
HALT
SLP