2 CPU
2-4
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
3.2 Function Extended Instructions
Table 2.
Classification
Mnemonic
Function
Extended function
Logical operation
and
%rd,%rs
Logical AND between general-purpose
registers
The V flag is cleared after the
instruction has been executed.
%rd,sign6
Logical AND of general-purpose register and
immediate
or
%rd,%rs
Logical OR between general-purpose
registers
%rd,sign6
Logical OR of general-purpose register and
immediate
xor
%rd,%rs
Exclusive OR between general-purpose
registers
%rd,sign6
Exclusive OR of general-purpose register and
immediate
not
%rd,%rs
Logical inversion between general-purpose
registers (1’s complement)
%rd,sign6
Logical inversion of general-purpose register
and immediate (1’s complement)
Shift and rotate
srl
%rd,%rs
Logical shift to the right
(Bits 0–31 shifted as specified by the register)
For rotate/shift operation, it has
been made possible to shift 9–31
bits.
%rd,imm5
Logical shift to the right
(Bits 0–31 shifted as specified by immediate)
sll
%rd,%rs
Logical shift to the left
(Bits 0–31 shifted as specified by the register)
%rd,imm5
Logical shift to the left
(Bits 0–31 shifted as specified by immediate)
sra
%rd,%rs
Arithmetic shift to the right
(Bits 0–31 shifted as specified by the register)
%rd,imm5
Arithmetic shift to the right
(Bits 0–31 shifted as specified by immediate)
sla
%rd,%rs
Arithmetic shift to the left
(Bits 0–31 shifted as specified by the register)
%rd,imm5
Arithmetic shift to the left
(Bits 0–31 shifted as specified by immediate)
rr
%rd,%rs
Rotate to the right
(Bits 0–31 rotated as specified by the register)
%rd,imm5
Rotate to the right
(Bits 0–31 rotated as specified by immediate)
rl
%rd,%rs
Rotate to the left
(Bits 0–31 rotated as specified by the register)
%rd,imm5
Rotate to the left
(Bits 0–31 rotated as specified by immediate)
Data transfer
ld.w
%rd,%ss
Special register (word)
→
general-purpose
register
The number of special registers
that can be used to load data
has been increased.
%sd,%rs
General-purpose register (word)
→
special
register
3.3 Instructions Added to the C33 PE Core
Table 2.
Classification
Mnemonic
Function
Branch
jpr
jpr.d
%rb
PC relative jump
Delayed branching possible
System control
psrset
imm5
Set a specified bit in PSR
psrclr
imm5
Clear a specified bit in PSR
Coprocessor control
ld.c
%rd,imm4
Load data from coprocessor
ld.c
imm4,%rs
Store data in coprocessor
do.c
imm6
Execute coprocessor
ld.cf
Load C, V, Z, and N flags from coprocessor
Other
swaph
%rd,%rs
Bytewise swap on halfword boundary in word
push
%rs
Push single general-purpose register
pop
%rd
Pop single general-purpose register
pushs
%ss
Push special registers
%ss
–ALR onto the stack
pops
%sd
Pop data for special registers
%sd
–ALR off the stack