2 CPU
S1C17704 TECHNICAL MANUAL
EPSON
2-5
Classification
Mnemonic
Function
Shift and swap
sr
%rd
,
%rs
Logical shift to the right with the number of bits specifi ed by the register
%rd
,
imm7
Logical shift to the right with the number of bits specifi ed by immediate
sa
%rd
,
%rs
Arithmetic shift to the right with the number of bits specifi ed by the register
%rd
,
imm7
Arithmetic shift to the right with the number of bits specifi ed by immediate
sl
%rd
,
%rs
Logical shift to the left with the number of bits specifi ed by the register
%rd
,
imm7
Logical shift to the left with the number of bits specifi ed by immediate
swap
%rd
,
%rs
Bytewise swap on byte boundary in 16 bits
Immediate extension
ext
imm13
Extend operand in the following instruction
Conversion
cv.ab
%rd
,
%rs
Convert signed 8-bit data into 24 bits
cv.as
%rd
,
%rs
Convert signed 16-bit data into 24 bits
cv.al
%rd
,
%rs
Convert 32-bit data into 24 bits
cv.la
%rd
,
%rs
Converts 24-bit data into 32 bits
cv.ls
%rd
,
%rs
Converts 16-bit data into 32 bits
Branch
jpr
jpr.d
sign10
PC relative jump
Delayed branching possible
%rb
jpa
ipa.d
imm7
Absolute jump
Delayed branching possible
%rb
jrgt
jrgt.d
sign7
PC relative conditional jump
Branch condition: !Z & !(N ^ V)
Delayed branching possible
jrge
jrge.d
sign7
PC relative conditional jump
Branch condition: !(N ^ V)
Delayed branching possible
jrlt
jrlt.d
sign7
PC relative conditional jump
Branch condition: N ^ V
Delayed branching possible
jrle
jrle.d
sign7
PC relative conditional jump
Branch condition: Z | N ^ V
Delayed branching possible
jrugt
jrugt.d
sign7
PC relative conditional jump
Branch condition: !Z & !C
Delayed branching possible
jruge
jruge.d
sign7
PC relative conditional jump
Branch condition: !C
Delayed branching possible
jrult
jrult.d
sign7
PC relative conditional jump
Branch condition: C
Delayed branching possible
jrule
jrule.d
sign7
PC relative conditional jump
Branch condition: Z | C
Delayed branching possible
jreq
jreq.d
sign7
PC relative conditional jump
Branch condition: Z
Delayed branching possible
jrne
jrne.d
sign7
PC relative conditional jump
Branch condition: !Z
Delayed branching possible
call
call.d
sign10
PC relative subroutine call
Delayed call possible
%rb
calla
calla.d
imm7
Absolute subroutine call
Delayed call possible
%rb
ret
ret.d
Return from subroutine
Delayed return possible
int
imm5
Software interrupt
intl
imm5
,
imm3
Software interrupt with interrupt level setting
reti
reti.d
Return from interrupt handling
Delayed call possible
brk
Debug interrupt
retd
Return from debug processing
System control
nop
No operation
halt
HALT mode
slp
SLEEP mode
ei
Enable interrupts
di
Disable interrupts
∗
1 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 memory,
the eight high-order bits of the read data are ignored.
∗
2 The S1C17704 does not include a coprocessor. Therefore, the coprocessor instructions are not available.
Содержание S1C17704
Страница 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Страница 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...