
10
10.3 Functional Instruction
690
[Data format]
0 : Addend value or address, 1 : Address
1 : 1–byte, 2 : 2–byte, 4 : 4–byte
f 0 0 f
[Operation output register]
#7
#6 #5 #4 #3 #2 #1 #0
R9000
VNZ
V : Overflow, Z : Zero, N : Negative
(42) Subtraction
SUB
SUB 20
f
ffff
ffff
ffff
BYT
RST
ACT
W1(1 : Error, in case of
the result is negative.)
Data format
(0 : Constant data, 1 : Address)
Subtrahend address
Subtrahend value
(Address or constant data)
Output address
(43) Binary subtraction
SUBB
SUB 37 ffff
ffff
ffff
ffff
RST
ACT
W1(1:Error)
Data format
(The conditions are same as
(41) ADDB.)
Subtrahend address
Subtrahend value
(Address or constant data)
Output address
[Operation output register]
#7
#6 #5 #4 #3 #2 #1 #0
R9000
VNZ
V : Overflow, Z : Zero, N : Negative
(44) Multiplication
MUL
SUB 21 f
ffff
ffff
ffff
BYT
RST
ACT
W1(1:Error)
Data format
(0 : Constant data, 1 : Address)
Multiplicand address
Multiplier value
(Address or constant data)
Output address
(45) Binary multiplication
MULB
SUB 38
ffff
ffff
ffff
ffff
RST
ACT
W1(1:Error)
Data format
(The conditions are same as (41)
ADDB.)
Multiplicand address
Multiplier value
(Address or constant data)
Output address