APPENDIX B INSTRUCTION SET LIST
User’s Manual U12688EJ4V0UM00
435
(2/6)
Execution
Clock
Flags
Mnemonic
Operand
Op Code
Operation
i
r
l
CY OV
S
Z SAT
imm5,list12
0 0 0 0 0 1 1 0 0 1 i i i i i L
LLLLLLLLLLL00000
sp
←
sp+zero-extend(imm5 logically shift left by 2)
GR[reg in list12]
←
Load-memory(sp,Word)
sp
←
sp+4
repeat 2 steps above until all regs in list12 is loaded
N+1
Note 4
N+1
Note 4
N+1
Note 4
DISPOSE
imm5,list12,[reg1]
0 0 0 0 0 1 1 0 0 1 i i i i i L
LLLLLLLLLLLRRRRR
Note 5
sp
←
sp+zero-extend(imm5 logically shift left by 2)
GR[reg in list12]
←
Load-memory(sp,Word)
sp
←
sp+4
repeat 2 steps above until all regs in list12 is loaded
PC
←
GR[reg1]
N+3
Note 4
N+3
Note 4
N+3
Note 4
DIV
reg1,reg2,reg3
r r r r r 1 1 1 1 1 1 R R R R R
wwwww01011000000
GR[reg2]
←
GR[reg2}÷GR[reg1]
GR[reg3]
←
GR[reg2]%GR[reg1]
35
35
35
×
×
×
reg1,reg2
r r r r r 0 0 0 0 1 0 R R R R R
GR[reg2]
←
GR[reg2]÷GR[reg1]
Note 6
35
35
35
×
×
×
DIVH
reg1,reg2,reg3
r r r r r 1 1 1 1 1 1 R R R R R
wwwww01010000000
GR[reg2]
←
GR[reg2]÷GR[reg1]
Note 6
GR[reg3]
←
GR[reg2]%GR[reg1]
35
35
35
×
×
×
DIVHU
reg1,reg2,reg3
r r r r r 1 1 1 1 1 1 R R R R R
wwwww01010000010
GR[reg2]
←
GR[reg2]÷GR[reg1]
Note 6
GR[reg3]
←
GR[reg2]%GR[reg1]
34
34
34
×
×
×
DIVU
reg1,reg2,reg3
r r r r r 1 1 1 1 1 1 R R R R R
wwwww01011000010
GR[reg2]
←
GR[reg2]÷GR[reg1]
GR[reg3]
←
GR[reg2]%GR[reg1]
34
34
34
×
×
×
EI
1000011111100000
0000000101100000
PSW.ID
←
0
1
1
1
HALT
0000011111100000
0000000100100000
Stop
1
1
1
HSW
reg2,reg3
r r r r r 1 1 1 1 1 1 0 0 0 0 0
wwwww01101000100
GR[reg3]
←
GR[reg2](15 : 0) ll GR[reg2] (31 : 16)
1
1
1
×
0
×
×
JARL
disp22,reg2
r r r r r 1 1 1 1 0 d d d d d d
ddddddddddddddd0
Note 7
GR[reg2]
←
PC+4
PC
←
PC+sign-extend(disp22)
2
2
2
JMP
[reg1]
00000000011RRRRR
PC
←
GR[reg1]
3
3
3
JR
disp22
0000011110dddddd
ddddddddddddddd0
Note 7
PC
←
PC+sign-extend(disp22)
2
2
2
LD.B
disp16[reg1],reg2
r r r r r 1 1 1 0 0 0 R R R R R
dddddddddddddddd
adr
←
GR[reg1]+sign-extend(disp16)
GR[reg2]
←
sign-extend(Load-memory(adr,Byte))
1
1
n
Note 9
LD.BU
disp16[reg1],reg2
r r r r r 1 1 1 1 0 b R R R R R
ddddddddddddddd1
Notes 8, 10
adr
←
GR[reg1]+sign-extend(disp16)
GR[reg2]
←
zero-extend(Load-memory(adr,Byte))
1
1
n
Note 11
LD.H
disp16[reg1],reg2
rrr rr 111 00 1RRRRR
ddddddddddddddd0
Note 8
adr
←
GR[reg1]+sign-extend(disp16)
GR[reg2]
←
sign-extend(Load-memory(adr,Half-
word))
1
1
n
Note 9
Содержание V850E/MS1 UPD703100
Страница 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Страница 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Страница 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Страница 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Страница 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Страница 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Страница 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Страница 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Страница 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...
Страница 422: ...User s Manual U12688EJ4V0UM00 422 MEMO ...