Instruction List; Function Classification - Epson S1C63000 Core Cpu Manual

Seiko epson s1c63000 cmos 4-bit single chip microcomputer core cpu manual
Table of Contents

Advertisement

• 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
CALR sign8
Examples:
LDB
%EXT,0x64
JR
0x29
LDB
%EXT,0x3A
JR
0x88
LDB
%EXT,0xF8
CALR 0x62

4.2 Instruction List

4.2.1 Function classification

Table 4.2.1.1 lists the function classifications of the instructions.
Function classification
Mnemonic
Arithmetic
Logic
Transfer
S1C63000 CORE CPU MANUAL
JRC
sign8
JRNC sign8
...Works as "JR 0x6429"
...Works as "JR 0x3A88" ( = C, NC, Z, or NZ)
...Works as "CALR 0xF862"
Table 4.2.1.1 Instruction function classifications
Operation
ADD
Addition
ADC
Addition with carry
SUB
Subtraction
SBC
Subtraction with carry
CMP
Comparison
INC
Increment (adds 1)
DEC
Decrement (subtracts 1)
AND
Logical product
OR
Logical sum
XOR
Exclusive OR
BIT
Bit test
CLR
Bit clear
SET
Bit set
TST
Bit test
LD
Load (4-bit data)
LDB
Load (8-bit data)
EX
Exchange (4-bit data)
JRZ
Function classification
Rotate / shift
Stack control
Branch
System control
EPSON
CHAPTER 4: INSTRUCTION SET
sign8
JRNZ sign8
Mnemonic
Operation
RL
Rotate to left with carry
RR
Rotate to right with carry
SLL
Logical shift to left
SRL
Logical shift to right
PUSH
Push
POP
Pop
JR
Relative jump
JP
Indirect jump
CALZ
Absolute call
CALR
Rrelative call
RET
Return
RETS
Return and skip
RETD
Return and data set
RETI
Interrupt return
INT
Software interrupt
NOP
No operation
HALT
Shift to HALT status
SLP
Shift to SLEEP status
37

Advertisement

Table of Contents
loading

Table of Contents