598
Appendix A
List of Instruction Sets
Preliminary User’s Manual U15839EE1V0UM00
Bit manip-
ulate
NOT1
bit#3,
disp16 [reg1]
01bbb1111
10RRRRR
ddddddddd
ddddddd
adr
←
GR [reg1] + sign-extend
(disp16)
Z flag
←
Not (Load-memory-bit
(adr, bit#3))
Store-memory-bit (adr, bit#3, Z
flag)
×
TST1
bit#3,
disp16 [reg1]
11bbb1111
10RRRRR
ddddddddd
ddddddd
adr
←
GR [reg1] + sign-extend
(disp16)
Z flag
←
Not (Load-memory-bit
(adr, bit#3))
×
Special
LDSR
reg2, regID
rrrrr1111
11RRRRR
000000000
0100000
Note 7
SR [regID]
←
GR [reg2]
regID = EIPSW, FEPSW
regID = PSW
×
×
×
×
×
STSR
regID, reg2
rrrrr1111
11RRRRR
000000000
1000000
GR [reg2]
←
SR [regID]
TRAP
vector
000001111
11iiiii
000000010
0000000
EIPC
←
PC + 4 (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)
RETI
000001111
1100000
000000010
1000000
if PSW.EP = 1
then PC
←
EIPC
PSW
←
EIPSW
else
if PSW.NP = 1
then PC
←
FEPC
PSW
←
FEPSW
else PC
←
EIPC
PSW
←
EIPSW
R
R
R
R
R
HALT
000001111
1100000
000000010
0100000
Stops
Table A-6: Instruction Set List (6/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: ......