597
Appendix A
List of Instruction Sets
Preliminary User’s Manual U15839EE1V0UM00
Logic
operation
SHR
reg1, reg2
rrrrr1111
111cccc
000000001
0000000
GR [reg2]
←
GR [reg2] logically
shift right by GR [reg1]
×
0
×
×
SHR
imm5, reg2
rrrrr0101
00iiiii
GR [reg2]
←
GR [reg2] logically
shift right
by zero-extend (imm5)
×
0
×
×
SAR
reg1, reg2
rrrrr1111
11RRRRR
000000001
0100000
GR [reg2]
←
GR [reg2] arithmeti-
cally shift right by GR [reg1]
×
0
×
×
SAR
imm5, reg2
rrrrr0101
01iiiii
GR [reg2]
←
GR [reg2] arithmeti-
cally shift right by zero-extend
(imm5)
×
0
×
×
Jump
JMP
[reg1]
000000000
11RRRRR
PC
←
GR [reg1]
JR
disp22
000001111
0dddddd
ddddddddd
dddddd0
Note 5
PC
←
PC + sign-extend (disp22)
JARL
disp22, reg2
rrrrr1111
0dddddd
ddddddddd
dddddd0
Note 5
GR [reg2]
←
PC + 4
PC
←
PC + sign-extend (disp22)
Bcond
disp9
ddddd1011
dddcccc
Note 6
if conditions are satisfied
then PC
←
PC + sign-extend
(disp9)
Bit manip-
ulate
SET1
bit#3,
disp16 [reg1]
00bbb1111
10RRRRR
ddddddddd
ddddddd
adr
←
GR [reg1] + sign-extend
(disp16)
Z flag
←
Not (Load-memory-bit
(adr, bit#3)
Store memory-bit (adr, bit#3, 1)
×
CLR1
bit#3, disp16
[reg1]
10bbb1111
10RRRRR
ddddddddd
ddddddd
adr
←
GR [reg1] + sign-extend
(disp16)
Z flag
←
Not (Load-memory-bit
(adr, bit#3))
Store memory-bit (adr, bit#3, 0)
×
Table A-6: Instruction Set List (5/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
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......