5 INSTRUCTION SET
S1C17 FAMILY S1C17 CORE MANUAL
EPSON
5-3
Classification
Shift and swap
Immediate extension
Conversion
Branch
System control
Coprocessor control
Function
Logical shift to the right with the number of bits specified by the register
Logical shift to the right with the number of bits specified by immediate
Arithmetic shift to the right with the number of bits specified by the register
Arithmetic shift to the right with the number of bits specified by immediate
Logical shift to the left with the number of bits specified by the register
Logical shift to the left with the number of bits specified by immediate
Bytewise swap on byte boundary in 16 bits
Extend operand in the following instruction
Convert signed 8-bit data into 24 bits
Convert signed 16-bit data into 24 bits
Convert 32-bit data into 24 bits
Converts 24-bit data into 32 bits
Converts 16-bit data into 32 bits
PC relative jump
Delayed branching possible
Absolute jump
Delayed branching possible
PC relative conditional jump
Branch condition: !Z & !(N ^ V)
Delayed branching possible
PC relative conditional jump
Branch condition: !(N ^ V)
Delayed branching possible
PC relative conditional jump
Branch condition: N ^ V
Delayed branching possible
PC relative conditional jump
Branch condition: Z | N ^ V
Delayed branching possible
PC relative conditional jump
Branch condition: !Z & !C
Delayed branching possible
PC relative conditional jump
Branch condition: !C
Delayed branching possible
PC relative conditional jump
Branch condition: C
Delayed branching possible
PC relative conditional jump
Branch condition: Z | C
Delayed branching possible
PC relative conditional jump
Branch condition: Z
Delayed branching possible
PC relative conditional jump
Branch condition: !Z
Delayed branching possible
PC relative subroutine call
Delayed call possible
Absolute subroutine call
Delayed call possible
Return from subroutine
Delayed return possible
Software interrupt
Software interrupt with interrupt level setting
Return from interrupt handling
Delayed call possible
Debug interrupt
Return from debug processing
No operation
HALT mode
SLEEP mode
Enable interrupts
Disable interrupts
Transfer data to coprocessor
Transfer data to coprocessor and get results and flag statuses
Transfer data to coprocessor and get flag statuses
sr
sa
sl
swap
ext
cv.ab
cv.as
cv.al
cv.la
cv.ls
jpr
jpr.d
jpa
ipa.d
jrgt
jrgt.d
jrge
jrge.d
jrlt
jrlt.d
jrle
jrle.d
jrugt
jrugt.d
jruge
jruge.d
jrult
jrult.d
jrule
jrule.d
jreq
jreq.d
jrne
jrne.d
call
call.d
calla
calla.d
ret
ret.d
int
intl
reti
reti.d
brk
retd
nop
halt
slp
ei
di
ld.cw
ld.ca
ld.cf
%rd,%rs
%rd,imm7
%rd,%rs
%rd,imm7
%rd,%rs
%rd,imm7
%rd,%rs
imm13
%rd,%rs
sign10
%rb
imm7
%rb
sign7
sign10
%rb
imm7
%rb
imm5
imm5,imm3
%rd,%rs
%rd,imm7
%rd,%rs
%rd,imm7
%rd,%rs
%rd,imm7
Mnemonic
The ld.a instruction accesses memories in 32-bit length. During data transfer from a register to a memory, the
32-bit data in which the eight high-order bits are set to 0 is written to the memory. During reading from a memo-
ry, the eight high-order bits of the read data are ignored.