APPENDIX B LIST OF INSTRUCTION SET
381
Instruction Set (alphabetical order) (4/4)
Mnemonic
Operand
Op Code
Operation
Execution
Clock
Flag
i
r
l
CY
OV
S
Z
SAT
SST.B
reg2,
disp7 [ep]
rrrrr0111ddddddd
adr
←
ep + zero-extend (disp7)
Store-memory (adr, GR [reg2], Byte)
1
1
1
SST.H
reg2,
disp8 [ep]
rrrrr1001ddddddd
Note 1
adr
←
ep + zero-extend (disp8)
Store-memory (adr, GR [reg2], Halfword)
1
1
1
SST.W
reg2,
disp8 [ep]
rrrrr1010ddddddd
Note 2
adr
←
ep + zero-extend (disp8)
Store-memory (adr, GR [reg2], Word)
1
1
1
ST.B
reg2,
disp16 [reg1]
rrrrr111010RRRRR
dddddddddddddddd
adr
←
GR [reg1] + sign-extend (disp16)
Store-memory (adr, GR [reg2], Byte)
1
1
1
ST.H
reg2,
disp16 [reg1]
rrrrr111011RRRRR
ddddddddddddddd0
Note 3
adr
←
GR [reg1] + sign-extend (disp16)
Store-memory (adr, GR [reg2], Halfword)
1
1
1
ST.W
reg2,
disp16 [reg1]
rrrrr111011RRRRR
ddddddddddddddd1
Note 3
adr
←
GR [reg1] + sign-extend (disp16)
Store-memory (adr, GR [reg2], Word)
1
1
1
STSR
regID, reg2
rrrrr111111RRRRR
0000000001000000
GR [reg2]
←
SR [regID]
1
1
1
SUB
reg1, reg2
rrrrr001101RRRRR
GR [reg2]
←
GR [reg2]
−
GR [reg1]
1
1
1
×
×
×
×
SUBR
reg1, reg2
rrrrr001100RRRRR
GR [reg2]
←
GR [reg2]
−
GR [reg1]
1
1
1
×
×
×
×
TRAP
vector
00000111111iiiii
0000000100000000
EIPC
←
(Restored PC)
EIPSW
←
PSW
ECR.EICC
←
Interrupt code
PSW.EP
←
1
PSW.ID
←
1
PC
←
00000040H(vector = 00H to 0FH)
00000050H(vector = 10H to 1FH)
4
4
4
TST
reg1, reg2
rrrrr001011RRRRR
result
←
GR [reg2] AND [reg1]
1
1
1
0
×
×
TST1
bit#3,
disp16 [reg1]
11bbb111110RRRRR
dddddddddddddddd
adr
←
GR [reg1] + sign-extend (disp16)
Z flag
←
Not (Load-memory-bit (adr,
bit#3))
3
3
3
×
XOR
reg1, reg2
rrrrr001001RRRRR
GR [reg2]
←
GR [reg2] XOR GR [reg1]
1
1
1
0
×
×
XORI
imm16,
reg1, reg2
rrrrr110101RRRRR
iiiiiiiiiiiiiiii
GR [reg2]
←
GR [reg1] XOR zero-extend
(imm16)
1
1
1
0
×
×
Notes 1.
ddddddd is the higher 7 bits of dip8.
2.
dddddd is the higher 6 bits of disp8.
3.
ddddddddddddddd is the higher 15 bits of disp 16.
Содержание V850/SA1 mPD703015
Страница 2: ...2 MEMO ...
Страница 100: ...100 MEMO ...
Страница 144: ...144 MEMO ...
Страница 200: ...200 MEMO ...
Страница 328: ...328 MEMO ...
Страница 356: ...356 MEMO ...
Страница 358: ...358 MEMO ...
Страница 368: ...368 MEMO ...
Страница 374: ...374 MEMO ...
Страница 382: ...382 MEMO ...