APPENDIX C INSTRUCTION SET LIST
User’s Manual U13850EJ6V0UD
654
Instruction Set List (1/4)
Flag
Instruction
Group
Mnemonic
Operand
Opcode
Operation
CY OV
S
Z SAT
SLD.B
disp7 [ep],
reg2
rrrrr0110ddddddd
adr
←
ep + zero-extend (disp7)
GR [reg2]
←
sign-extend (Load-memory
(adr, Byte))
SLD.H
disp8 [ep],
reg2
rrrrr1000ddddddd
(
Note 1
)
adr
←
ep + zero-extend (disp8)
GR [reg2]
←
sign-extend (Load-memory
(adr, Halfword))
SLD.W
disp8 [ep],
reg2
rrrrr1010dddddd0
(
Note 2
)
adr
←
ep + zero-extend (disp8)
GR [reg2]
←
Load-memory (adr, Word)
LD.B
disp16
[reg1], reg2
rrrrr111000RRRRR
dddddddddddddddd
adr
←
GR [reg1] + sign-extend (disp16)
GR [reg2]
←
sign-extend (Load-memory
(adr, Byte))
LD.H
disp16
[reg1], reg2
rrrrr111001RRRRR
ddddddddddddddd0
(
Note 3
)
adr
←
GR [reg1] + sign-extend (disp16)
GR [reg2]
←
sign-extend (Load-memory
(adr, Halfword))
LD.W
disp16
[reg1], reg2
rrrrr111001RRRRR
ddddddddddddddd1
(
Note 3
)
adr
←
GR [reg1] + sign-extend (disp16)
GR [reg2]
←
Load-memory (adr, Word))
SST.B
reg2,
disp7 [ep]
rrrrr0111ddddddd
adr
←
ep + zero-extend (disp7)
Store-memory (adr, GR [reg2], Byte)
SST.H
reg2,
disp8 [ep]
rrrrr1001ddddddd
(
Note 1
)
adr
←
ep + zero-extend (disp8)
Store-memory (adr, GR [reg2], Halfword)
SST.W
reg2,
disp8 [ep]
rrrrr1010dddddd1
(
Note 2
)
adr
←
ep + zero-extend (disp8)
Store-memory (adr, GR [reg2], Word)
ST.B
reg2,
disp16
[reg1]
rrrrr111010RRRRR
dddddddddddddddd
adr
←
GR [reg1] + sign-extend (disp16)
Store-memory (adr, GR [reg2], Byte)
ST.H
reg2,
disp16
[reg1]
rrrrr111011RRRRR
ddddddddddddddd0
(
Note 3
)
adr
←
GR [reg1] + sign-extend (disp16)
Store-memory (adr, GR [reg2], Halfword)
Load/store
ST.W
reg2,
disp16
[reg1]
rrrrr111011RRRRR
ddddddddddddddd1
(
Note 3
)
adr
←
GR [reg1] + sign-extend (disp16)
Store-memory (adr, GR [reg2], Word)
MOV
reg1, reg2
rrrrr000000RRRRR
GR [reg2]
←
GR [reg1]
MOV
imm5, reg2 rrrrr010000iiiii
GR [reg2]
←
sign-extend (imm5)
MOVHI
imm16,
reg1, reg2
rrrrr110010RRRRR
iiiiiiiiiiiiiiii
GR [reg2]
←
GR [reg1] + (imm16 || 0
16
)
Arithmetic
operation
MOVEA
imm16,
reg1, reg2
rrrrr110001RRRRR
iiiiiiiiiiiiiiii
GR [reg2]
←
GR [reg1] + sign-extend
(imm16)
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.
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...