APPENDIX B INSTRUCTION SET LIST
User’s Manual U12688EJ4V0UM00
436
(3/6)
Execution
Clock
Flags
Mnemonic
Operand
Op Code
Operation
i
r
l
CY OV
S
Z SAT
LD.HU
disp16[reg1],reg2
r r r r r 1 1 1 1 1 1 R R R R R
ddddddddddddddd1
Note 8
adr
←
GR[reg1]+sign-extend(disp16)
GR[reg2]
←
zero-extend(Load-memory(adr,Half-
word))
1
1
n
Note 11
LD.W
disp16[reg1],reg2
r r r r r 1 1 1 0 0 1 R R R R R
ddddddddddddddd1
Note 8
adr
←
GR[reg1]+sign-exend(disp16)
GR[reg2]
←
Load-memory(adr,Word)
1
1
n
Note 9
Other than
regID=PSW
LDSR
reg2,regID
r r r r r 1 1 1 1 1 1 R R R R R
0000000000100000
Note 12
SR[regID]
←
GR[reg2]
regID=PSW
1
1
1
×
×
×
×
×
reg1,reg2
r r r r r 0 0 0 0 0 0 R R R R R
GR[reg2]
←
GR[reg1]
1
1
1
imm5,reg2
r r r r r 0 1 0 0 0 0 i i i i i
GR[reg2]
←
sign-extend(imm5)
1
1
1
MOV
imm32,reg1
00000110001RRRRR
i i i i i i i i i i i i i i i i
i i i i i i i i i i i i i i i i
GR[reg1]
←
imm32
2
2
2
MOVEA
imm16,reg1,reg2
r r r r r 1 1 0 0 0 1 R R R R R
i i i i i i i i i i i i i i i i
GR[reg2]
←
GR[reg1]+sign-extend(imm16)
1
1
1
MOVHI
imm16,reg1,reg2
r r r r r 1 1 0 0 1 0 R R R R R
i i i i i i i i i i i i i i i i
GR[reg2]
←
GR[reg1]+(imm16 ll 0
16
)
1
1
1
reg1,reg2,reg3
r r r r r 1 1 1 1 1 1 R R R R R
wwwww01000100000
GR[reg3] ll GR[reg2]
←
GR[reg2]xGR[reg1]
1
2
Note 14
2
MUL
imm9,reg2,reg3
r r r r r 1 1 1 1 1 1 i i i i i
w w w w w 0 1 0 0 1 l l l l 0 0
GR[reg3] ll GR[reg2]
←
GR[reg2]xsign-extend(imm9)
Note 13
1
2
Note 14
2
reg1,reg2
r r r r r 0 0 0 1 1 1 R R R R R
GR[reg2]
←
GR[reg2]
Note 6
xGR[reg1]
Note 6
1
1
2
MULH
imm5,reg2
r r r r r 0 1 0 1 1 1 i i i i i
GR[reg2]
←
GR[reg2]
Note 6
xsign-extend(imm5)
1
1
2
MULHI
imm16,reg1,reg2
r r r r r 1 1 0 1 1 1 R R R R R
i i i i i i i i i i i i i i i i
GR[reg2]
←
GR[reg1]
Note 6
ximm16
1
1
2
reg1,reg2,reg3
r r r r r 1 1 1 1 1 1 R R R R R
wwwww01000100010
GR[reg3] ll GR[reg2]
←
GR[reg2]xGR[reg1]
1
2
Note 14
2
MULU
imm9,reg2,reg3
r r r r r 1 1 1 1 1 1 i i i i i
w w w w w 0 1 0 0 1 l l l l 1 0
GR[reg3] ll GR[reg2]
←
GR[reg2]xzero-extend(imm9)
Note 13
1
2
Note 14
2
NOP
000 00 000 00 00 00 00
Pass at least one clock cycle doing nothing.
1
1
1
NOT
reg1,reg2
r r r r r 0 0 0 0 0 1 R R R R R
GR[reg2]
←
NOT(GR[reg1])
1
1
1
0
×
×
bit#3,disp16[reg1]
01bbb111110RRRRR
dddddddddddddddd
adr
←
GR[reg1]+sign-extend(disp16)
Z flag
←
Not(Load-memory-bit(adr,bit#3))
Store-memory-bit(adr,bit#3,Z flag)
3
Note 3
3
Note 3
3
Note 3
×
NOT1
reg2,[reg1]
r r r r r 1 1 1 1 1 1 R R R R R
0000000011100010
adr
←
GR[reg1]
Z flag
←
Not(Load-memory-bit(adr,reg2))
Store-memory-bit(adr,reg2,Z flag)
3
Note 3
3
Note 3
3
Note 3
×
OR
reg1,reg2
r r r r r 0 0 1 0 0 0 R R R R R
GR[reg2]
←
GR[reg2]OR GR[reg1]
1
1
1
0
×
×
Summary of Contents for V850E/MS1 UPD703100
Page 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Page 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Page 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Page 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Page 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Page 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Page 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Page 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Page 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...