595
Appendix A
List of Instruction Sets
Preliminary User’s Manual U15839EE1V0UM00
Arithmetic
operation
ADDI
imm16, reg1,
reg2
rrrrr110
000RRRRR
iiiiiiii
iiiiiiii
GR [reg2]
←
GR [reg1] + sign-
extend (imm16)
×
×
×
×
SUB
reg1, reg2
rrrrr001
101RRRRR
GR [reg2]
←
GR [reg2] - GR
[reg1]
×
×
×
×
SUBR
reg1, reg2
rrrrr001
100RRRRR
GR [reg2]
←
GR [reg1] - GR
[reg2]
×
×
×
×
MULH
reg1,reg2
rrrrr000
111RRRRR
GR [reg2]
←
GR [reg2]
Note 4
×
GR [reg1]
Note 4
(Signed multiplication)
×
×
×
×
MULH
imm5, reg2
rrrrr010
111iiiii
GR [reg2]
←
GR [reg2]
Note 4
×
sign-extend
(imm5) (Signed multiplication)
MULHI
imm16, reg1,
reg2
rrrrr110
111RRRRR
iiiiiiii
iiiiiiii
GR [reg2]
←
GR [reg1]
Note 4
×
imm16
(signed multiplication)
DIVH
reg1, reg2
rrrrr000
010RRRRR
GR [reg2]
←
GR [reg2]
÷
GR
[reg2]
Note 4
(Signed division)
CMP
reg1, reg2
rrrrr001
111RRRRR
result
←
GR [reg2] - GR [reg1]
×
×
×
CMP
imm5, reg2
rrrrr010
011iiiii
result
←
GR [reg2] - sign-extend
(imm5)
×
×
×
×
SETF
cccc, reg2
rrrrr111
1110cccc
00000000
00000000
if conditions are satisfied
then GR [reg2]
←
00000001H
else GR [reg2]
←
00000000H
×
×
×
×
Saturated
operation
SAT-
ADD
reg1, reg2
rrrrr000
110RRRRR
GR [reg2]
←
saturated (GR [reg2]
+ GR [reg1])
SAT-
ADD
imm5, reg2
rrrrr010
001iiiii
GR [reg2]
←
saturated (GR [reg2]
+ sign-extend (imm5))
×
×
×
×
×
SAT-
SUB
reg1, reg2
rrrrr000
101RRRRR
GR [reg2]
←
saturated (GR [reg2]
- GR [reg1])
×
×
×
×
×
Table A-6: Instruction Set List (3/7)
Instruction
Group
Mne-
monic
Operand
Opcode
Operation
Flag
CY
OV
S
Z
SAT
Notes: 1. ddddddd is the higher 7 bits of disp8.
2. dddddd is the higher 6 bits of disp8.
3. ddddddddddddddd is the higher 15 bits of disp16.
4. Only the lower half-word data is valid.
5. ddddddddddddddddddddd is the higher 21 bits of dip22.
6. dddddddd is the higher 8 bits of disp9.
7. The op code of this instruction uses the field of reg1 through the source register is shown as reg2 in the
above table. Therefore, the meaning of register specification for mnemonic description and op code is
different from that of the other instructions
rrr = regID specification
RRRRR = reg2 specification
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......