594
Appendix A
List of Instruction Sets
Preliminary User’s Manual U15839EE1V0UM00
Load/store
ST.H
reg2,
disp16 [reg1]
rrrrr1110
11RRRRR
ddddddddd
dddddd0
Note 3
adr
←
GR [reg1] + sign-extend
(disp16)
Store-memory (adr, GR [reg2],
Halfword)
ST.W
reg2,
disp16 [reg1]
rrrrr1110
11RRRRR
ddddddddd
dddddd1
Note 3
adr
←
GR [reg1] + sign-extend
(disp16)
Store-memory (adr, GR [reg2],
Word)
Arithmetic
operation
MOV
reg1, reg2
rrrrr0000
00RRRRR
GR [reg2]
←
GR [reg1]
MOV
imm5, reg2
rrrrr0100
00iiiii
GR [reg2]
←
sign-extend (imm5)
MOVHI
imm16, reg1,
reg2
rrrrr1100
10RRRRR
iiiiiiii-
iiiiiiii
GR [reg2]
←
GR [reg1] + (imm16
|| 0
16
)
MOVEA
imm16, reg1,
reg2
rrrrr1100
01RRRRR
iiiiiiii-
iiiiiiii
GR [reg2]
←
GR [reg1] + sign-
extend (imm16)
LD.H
disp16 [reg1],
reg2
rrrrr1110
01RRRRR
ddddddddd
dddddd0
Note 3
adr
←
GR [reg1] + sign-extend
(disp16)
GR [reg2]
←
sign-extend (Load-
memory (adr, Halfword))
LD.W
disp16 [reg1],
reg2
rrrrr1110
01RRRRR
ddddddddd
dddddd1
Note 3
adr
←
GR [reg1] + sign-extend
(disp16)
GR [reg2]
←
Load-memory (adr,
Word))
SST.B
reg2,
disp7 [ep]
rrrrr0111
ddddddd
adr
←
ep + zero-extend (disp7)
Store-memory (adr, GR [reg2],
Byte)
ADD
reg1, reg2
rrrrr001110
RRRRR
GR [reg2]
←
GR [reg2] + GR
[reg1]
ADD
imm5, reg2
rrrrr010010i
iiii
GR [reg2]
←
GR [reg2] + sign-
extend (imm5)
×
×
×
×
Table A-6: Instruction Set List (2/7)
Instruction
Group
Mne-
monic
Operand
Opcode
Operation
Flag
CY
OV
S
Z
SAT
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.
4. Only the lower half-word data is valid.
5. ddddddddddddddddddddd is the higher 21 bits of dip22.
6. dddddddd is the higher 8 bits of disp9.
7. The op code of this instruction uses the field of reg1 through the source register is shown as reg2 in the
above table. Therefore, the meaning of register specification for mnemonic description and op code is
different from that of the other instructions
rrr = regID specification
RRRRR = reg2 specification
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......