NEC V850E/CA2 JUPITER Preliminary User's Manual page 595

32-/16-bit romless microcontroller
Table of Contents

Advertisement

Instruction
Mne-
Group
monic
imm16, reg1,
ADDI
reg2
SUB
reg1, reg2
SUBR
reg1, reg2
MULH
reg1,reg2
MULH
imm5, reg2
Arithmetic
operation
imm16, reg1,
MULHI
reg2
DIVH
reg1, reg2
CMP
reg1, reg2
CMP
imm5, reg2
SETF
cccc, reg2
SAT-
reg1, reg2
ADD
Saturated
SAT-
imm5, reg2
operation
ADD
SAT-
reg1, reg2
SUB
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
Appendix A
Table A-6: Instruction Set List (3/7)
Operand
Opcode
rrrrr110
000RRRRR
iiiiiiii
iiiiiiii
rrrrr001
101RRRRR
rrrrr001
100RRRRR
rrrrr000
111RRRRR
rrrrr010
111iiiii
rrrrr110
111RRRRR
iiiiiiii
iiiiiiii
rrrrr000
010RRRRR
rrrrr001
111RRRRR
rrrrr010
011iiiii
rrrrr111
1110cccc
00000000
00000000
rrrrr000
110RRRRR
rrrrr010
001iiiii
rrrrr000
101RRRRR
Preliminary User's Manual U15839EE1V0UM00
List of Instruction Sets
Operation
GR [reg2] ← GR [reg1] + sign-
extend (imm16)
GR [reg2] ← GR [reg2] - GR
[reg1]
GR [reg2] ← GR [reg1] - GR
[reg2]
GR [reg2] ← GR [reg2]
Note 4
GR [reg1]
(Signed multiplication)
GR [reg2] ← GR [reg2]
sign-extend
(imm5) (Signed multiplication)
GR [reg2] ← GR [reg1]
imm16
(signed multiplication)
GR [reg2] ← GR [reg2] ÷ GR
Note 4
[reg2]
(Signed division)
result ← GR [reg2] - GR [reg1]
result ← GR [reg2] - sign-extend
(imm5)
if conditions are satisfied
then GR [reg2] ← 00000001H
else GR [reg2] ← 00000000H
GR [reg2] ← saturated (GR [reg2]
+ GR [reg1])
GR [reg2] ← saturated (GR [reg2]
+ sign-extend (imm5))
GR [reg2] ← saturated (GR [reg2]
- GR [reg1])
Flag
CY OV
S
×
×
×
×
×
×
×
×
×
×
Note 4
×
×
×
Note 4
×
×
Note 4
×
×
×
×
×
×
×
×
×
×
×
×
×
×
Z
SAT
×
×
×
×
×
×
×
×
×
×
×
595

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd703128Mpd703129

Table of Contents