
APPENDIX B INSTRUCTION LIST
204
User’s Manual U14559EJ3V1UM
Table B-1. Instruction Function List (in Alphabetical Order) (7/11)
Flag
Mnemonic
Operand
Format
CY
OV
S
Z
SAT
Instruction Function
SATADD
reg1, reg2
I
0/1
Saturated Add. Adds the word data of reg1 to
the word data of reg2, and stores the result in
reg2. However, if the result exceeds the
maximum positive value, the maximum
positive value is stored in reg2; if the result
exceeds the maximum negative value, the
maximum negative value is stored in reg2. The
SAT flag is set to 1.
SATADD
imm5, reg2
II
0/1
Saturated Add. Adds the 5-bit immediate data,
sign-extended to word length, to the word data
of reg2, and stores the result in reg2.
However, if the result exceeds the maximum
positive value, the maximum positive value is
stored in reg2; if the result exceeds the
maximum negative value, the maximum
negative value is stored in reg2. The SAT flag
is set to 1.
SATSUB
reg1, reg2
I
0/1
Saturated Subtract. Subtracts the word data of
reg1 from the word data of reg2, and stores
the result in reg2. However, if the result
exceeds the maximum positive value, the
maximum positive value is stored in reg2; if the
result exceeds the maximum negative value,
the maximum negative value is stored in reg2.
The SAT flag is set to 1.
SATSUBI
imm16, reg1, reg2
VI
0/1
Saturated Subtract Immediate. Subtracts a 16-
bit immediate data, sign-extended to word
length, from the word data of reg1, and stores
the result in reg2. However, if the result
exceeds the maximum positive value, the
maximum positive value is stored in reg2; if the
result exceeds the maximum negative value,
the maximum negative value is stored in reg2.
The SAT flag is set to 1.
SATSUBR
reg1, reg2
I
0/1
Saturated Subtract Reverse. Subtracts the
word data of reg2 from the word data of reg1,
and stores the result in reg2. However, if the
result exceeds the maximum positive value,
the maximum positive value is stored in reg2; if
the result exceeds the maximum negative
value, the maximum negative value is stored in
reg2. The SAT flag is set to 1.
SET1
bit#3, disp16 [reg1]
VIII
0/1
Set Bit. First, adds a 16-bit displacement, sign-
extended to word length, to the data of reg1 to
generate a 32-bit address. The bits, specified
by the 3-bit bit number, are set at the byte data
location specified by the generated address.