408
User’s Manual U11969EJ3V0UM00
APPENDIX B INSTRUCTION SET LIST
Instruction Set (alphabetical order) (4/4)
i
r
l CY OV S
Z SAT
ST.H
reg2, disp16[reg1]
adr
←
GR[reg1]+sign-extend(disp16)
1
1
1
Store-memory(adr, GR[reg2], Halfword)
ST.W
reg2, disp16[reg1]
adr
←
GR[reg1]+sign-extend(disp16)
1
1
1
Store-memory(adr, GR[reg2], Word)
STSR
regID, reg2
GR[reg2]
←
SR[regID]
1
1
1
SUB
reg1, reg2
GR[reg2]
←
GR[reg2]–GR[reg1]
1
1
1
x
x
x
x
SUBR
reg1, reg2
GR[reg2]
←
GR[reg1]–GR[reg2]
1
1
1
x
x
x
x
TRAP
vector
EIPC
←
PC+4(Restored PC)
4
4
4
EIPSW
←
PSW
ECR.EICC
←
Interrupt code
PSW.EP
←
1
PSW.ID
←
1
PC
←
00000040H(vector = 00H to 0FH)
00000050H(vector = 10H to 1FH)
TST
reg1, reg2
result
←
GR[reg2] AND GR[reg1]
1
1
1
0
x
x
TST1
bit#3, disp16[reg1]
adr
←
GR[reg1]+sign-extend(disp16)
3
3
3
x
Z flag
←
Not(Load-memory-bit(adr, bit#3))
XOR
reg1, reg2
GR[reg2]
←
GR[reg2] XOR GR[reg1]
1
1
1
0
x
x
XORI
imm16, reg1, reg2
GR[reg2]
←
GR[reg1] XOR zero-extend(imm16)
1
1
1
0
x
x
Note ddddddddddddddd is the higher 15 bits of disp16.
Operation
Operand
Code
r r r r r 1 1 1 0 1 1RRRRR
d d d d d d d d d d d d d d d 0
Note
r r r r r 1 1 1 0 1 1RRRRR
d d d d d d d d d d d d d d d 1
Note
r r r r r 1 1 1 1 1 1RRRRR
0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
r r r r r 0 0 1 1 0 1RRRRR
r r r r r 0 0 1 1 0 0RRRRR
0 0 0 0 0 1 1 1 1 1 1 i i i i i
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
r r r r r 0 0 1 0 1 1RRRRR
1 1 b b b 1 1 1 1 1 0RRRRR
d d d d d d d d d d d d d d d d
r r r r r 0 0 1 0 0 1RRRRR
r r r r r 1 1 0 1 0 1RRRRR
i i i i i i i i i i i i i i i i
Flag
Mnemonic
Execution
Clock
Summary of Contents for V854 UPD703006
Page 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Page 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Page 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Page 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Page 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Page 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Page 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Page 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Page 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Page 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Page 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Page 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...