APPENDIX C INSTRUCTION SET LIST
User’s Manual U13850EJ6V0UD
655
Instruction Set List (2/4)
Flag
Instruction
Group
Mnemonic
Operand
Opcode
Operation
CY OV
S
Z SAT
ADD
reg1, reg2
rrrrr001110RRRRR
GR [reg2]
←
GR [reg2] + GR [reg1]
×
×
×
×
ADD
imm5, reg2
rrrrr010010iiiii
GR [reg2]
←
GR [reg2] + sign-extend
(imm5)
×
×
×
×
ADDI
imm16,
reg1, reg2
rrrrr110000RRRRR
iiiiiiiiiiiiiiii
GR [reg2]
←
GR [reg1] + sign-extend
(imm16)
×
×
×
×
SUB
reg1, reg2
rrrrr001101RRRRR
GR [reg2]
←
GR [reg2]
−
GR [reg1]
×
×
×
×
SUBR
reg1, reg2
rrrrr001100RRRRR
GR [reg2]
←
GR [reg1]
−
GR [reg2]
×
×
×
×
MULH
reg1,reg2
rrrrr000111RRRRR
GR [reg2]
←
GR [reg2]
Note
×
GR [reg1]
Note
(Signed multiplication)
MULH
imm5, reg2
rrrrr010111iiiii
GR [reg2]
←
GR [reg2]
Note
×
sign-extend
(imm5)
(Signed multiplication)
MULHI
imm16,
reg1, reg2
rrrrr110111RRRRR
iiiiiiiiiiiiiiii
GR [reg2]
←
GR [reg1]
Note
×
imm16
(Signed multiplication)
DIVH
reg1, reg2
rrrrr000010RRRRR
GR [reg2]
←
GR [reg2]
÷
GR [reg2]
Note
(Signed division)
×
×
×
CMP
reg1, reg2
rrrrr001111RRRRR
result
←
GR [reg2]
−
GR [reg1]
×
×
×
×
CMP
imm5, reg2
rrrrr010011iiiii
result
←
GR [reg2]
−
sign-extend (imm5)
×
×
×
×
Arithmetic
operation
SETF
cccc, reg2
rrrrr1111110cccc
0000000000000000
if conditions are satisfied
then GR [reg2]
←
00000001H
else GR [reg2]
←
00000000H
SATADD
reg1, reg2
rrrrr000110RRRRR
GR [reg2]
←
saturated (GR [reg2] + GR
[reg1])
×
×
×
×
×
SATADD
imm5, reg2
rrrrr010001iiiii
GR [reg2]
←
saturated (GR [reg2] + sign-
extend (imm5))
×
×
×
×
×
SATSUB
reg1, reg2
rrrrr000101RRRRR
GR [reg2]
←
saturated (GR [reg2]
−
GR
[reg1])
×
×
×
×
×
SATSUBI
imm16,
reg1, reg2
rrrrr110011RRRRR
iiiiiiiiiiiiiiii
GR [reg2]
←
saturated (GR [reg1]
−
sign-
extend (imm16))
×
×
×
×
×
Saturated
operation
SATSUBR
reg1, reg2
rrrrr000100RRRRR
GR [reg2]
←
saturated (GR [reg1]
−
GR
[reg2])
×
×
×
×
×
TST
reg1, reg2
rrrrr001011RRRRR
result
←
GR [reg2] AND GR [reg1]
0
×
×
OR
reg1, reg2
rrrrr001000RRRRR
GR [reg2]
←
GR [reg2] OR GR [reg1]
0
×
×
ORI
imm16,
reg1, reg2
rrrrr110100RRRRR
iiiiiiiiiiiiiiii
GR [reg2]
←
GR [reg1] OR zero-extend
(imm16)
0
×
×
AND
reg1, reg2
rrrrr001010RRRRR
GR [reg2]
←
GR [reg2] AND GR [reg1]
0
×
×
Logic
operation
ANDI
imm16,
reg1, reg2
rrrrr110110RRRRR
iiiiiiiiiiiiiiii
GR [reg2]
←
GR [reg1] AND zero-extend
(imm16)
0
0
×
Note
Only the lower halfword data is valid.
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...