5
INSTRUCTION SET
18
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
5
Instruction Set
The C
33
PE Core instruction set consists of the function-extended instruction set of the C
33
STD Core CPU and
the new instructions, in addition to the conventional S
1
C
33
-series instructions. Some instructions of the C
33
STD
Core CPU are deleted. As the C
33
PE Core is object-code compatible with the C
33
STD Core CPU, software assets
can be transported from the S
1
C
33
series to the C
33
PE model easily, with minimal modifications required.
All of the instruction codes are fixed to
16
bits in length which, combined with pipelined processing, allows most
important instructions to be executed in one cycle. For details, refer to the description of each instruction in the
latter sections of this manual.
5
.
1
S
1
C
33
-Series-Compatible Instructions
Table
5
.
1
.
1
S
1
C
33
-Series-Compatible Instructions
Classification
Arithmetic operation
Branch
Function
Addition between general-purpose registers
Addition of a general-purpose register and immediate
Addition of SP and immediate (with immediate zero-extended)
Addition with carry between general-purpose registers
Subtraction between general-purpose registers
Subtraction of general-purpose register and immediate
Subtraction of SP and immediate (with immediate zero-extended)
Subtraction with carry between general-purpose registers
Arithmetic comparison between general-purpose registers
Arithmetic comparison of general-purpose register and immediate
(with immediate zero-extended)
Signed integer multiplication (16 bits
×
16 bits
→
32 bits)
Unsigned integer multiplication (16 bits
×
16 bits
→
32 bits)
Signed integer multiplication (32 bits
×
32 bits
→
64 bits)
Unsigned integer multiplication (32 bits
×
32 bits
→
64 bits)
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 jump
Delayed branching possible
Absolute jump
Delayed branching possible
PC relative subroutine call
Delayed call possible
Absolute subroutine call
Delayed call possible
Subroutine return
Delayed return possible
Return from interrupt or exception handling
Return from the debug processing routine
Software exception
Debug exception
add
adc
sub
sbc
cmp
mlt.h
mltu.h
mlt.w
mltu.w
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
jp
jp.d
call
call.d
ret
ret.d
reti
retd
int
brk
%rd,%rs
%rd,imm6
%sp
,imm10
%rd,%rs
%rd,%rs
%rd,imm6
%sp
,imm10
%rd,%rs
%rd,%rs
%rd,sign6
%rd,%rs
%rd,%rs
%rd,%rs
%rd,%rs
sign8
sign8
sign8
sign8
sign8
sign8
sign8
sign8
sign8
sign8
sign8
%rb
sign8
%rb
imm2
Mnemonic
Содержание S1C33 Series
Страница 1: ...CMOS 32 BIT SINGLE CHIP MICROCOMPUTER Core Manual S1C33 Family C33 PE ...
Страница 4: ......