APPENDIX B INSTRUCTION SET LIST
User’s Manual U12688EJ4V0UM00
438
(5/6)
Execution
Clock
Flags
Mnemonic
Operand
Op Code
Operation
i
r
l
CY OV
S
Z SAT
bit#3,disp16[reg1]
00bbb111110RRRRR
dddddddddddddddd
adr
←
GR[reg1]+sign-extend(disp16)
Z flag
←
Not (Load-memory-bit(adr,bit#3))
Store-memory-bit(adr,bit#3,1)
3
Note 3
3
Note 3
3
Note 3
×
SET1
reg2,[reg1]
r r r r r 1 1 1 1 1 1 R R R R R
0000000011100000
adr
←
GR[reg1]
Z flag
←
Not(Load-memory-bit(adr,reg2))
Store-memory-bit(adr,reg2,1)
3
Note 3
3
Note 3
3
Note 3
×
reg1,reg2
r r r r r 1 1 1 1 1 1 R R R R R
0000000011000000
GR[reg2]
←
GR[reg2] logically shift left by GR[reg1]
1
1
1
×
0
×
×
SHL
imm5,reg2
r r r r r 0 1 0 1 1 0 i i i i i
GR[reg2]
←
GR[reg2] logically shift left
by zero-extend(imm5)
1
1
1
×
0
×
×
reg1,reg2
r r r r r 1 1 1 1 1 1 R R R R R
0000000010000000
GR[reg2]
←
GR[reg2] logically shift right by GR[reg1]
1
1
1
×
0
×
×
SHR
imm5,reg2
r r r r r 0 1 0 1 0 0 i i i i i
GR[reg2]
←
GR[reg2] logically shift right
by zero-extend(imm5)
1
1
1
×
0
×
×
SLD.B
disp7[ep],reg2
r r r r r 0 1 1 0 d d d d d d d
adr
←
ep+zero-extend(disp7)
GR[reg2]
←
sign-extend(Load-memory(adr,Byte))
1
1
n
Note 9
SLD.BU
disp4[ep],reg2
Note 18
r r r r r 0 0 0 0 1 1 0 d d d d
adr
←
ep+zero-extend(disp4)
GR[reg2]
←
zero-extend(Load-memory(adr,Byte))
1
1
n
Note 9
SLD.H
disp8[ep],reg2
r r r r r 1 0 0 0 d d d d d d d
Note 19
adr
←
ep+zero-extend(disp8)
GR[reg2]
←
sign-extend(Load-memory(adr,Half-
word))
1
1
n
Note 9
SLD.HU
disp5[ep],reg2
Notes 18, 20
r r r r r 0 0 0 0 1 1 1 d d d d
adr
←
ep+zero-extend(disp5)
GR[reg2]
←
zero-extend(Load-memory(adr,Half-
word))
1
1
n
Note 9
SLD.W
disp8[ep],reg2
r r r r r 1 0 1 0 d d d d d d 0
Note 21
adr
←
ep+zero-extend(disp8)
GR[reg2]
←
Load-memory(adr,Word)
1
1
n
Note 9
SST.B
reg2,disp7[ep]
r r r r r 0 1 1 1 d d d d d d d
adr
←
ep+zero-extend(disp7)
Store-memory(adr,GR[reg2],Byte)
1
1
1
SST.H
reg2,disp8[ep]
r r r r r 1 0 0 1 d d d d d d d
Note 19
adr
←
ep+zero-extend(disp8)
Store-memory(adr,GR[reg2],Half-word)
1
1
1
SST.W
reg2,disp8[ep]
r r r r r 1 0 1 0 d d d d d d 1
Note 21
adr
←
ep+zero-extend(disp8)
Store-memory(adr,GR[reg2],Word)
1
1
1
ST.B
reg2,disp16[reg1]
r r r r r 1 1 1 0 1 0 R R R R R
dddddddddddddddd
adr
←
GR[reg1]+sign-extend(disp16)
Store-memory(adr,GR[reg2],Byte)
1
1
1
ST.H
reg2,disp16[reg1]
r r r r r 1 1 1 0 1 1 R R R R R
ddddddddddddddd0
Note 8
adr
←
GR[reg1]+sign-extend(disp16)
Store-memory (adr,GR[reg2], Half-word)
1
1
1
ST.W
reg2,disp16[reg1]
rrr rr 111 01 1RRRRR
ddddddddddddddd1
Note 8
adr
←
GR[reg1]+sign-extend(disp16)
Store-memory (adr,GR[reg2], Word)
1
1
1
STSR
regID,reg2
r r r r r 1 1 1 1 1 1 R R R R R
0000000001000000
GR[reg2]
←
SR[regID]
1
1
1
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 ...