![](http://datasheet.mmic.net.cn/370000/mPD705101_datasheet_16723211/mPD705101_38.png)
μ
PD705101
38
Instruction
Operand(s)
Format
CY
OV
S
Z
Function
MACI
imm16,
reg1, reg2
V
–
–
–
–
Sum-of-products operation on signed 32-bit
operands. reg1 and imm16, sign-extended to
32 bits, are multiplied together as signed
integers and the product is added to reg2 as a
signed integer.
[If no overflow has occurred:]
The result is written into reg2.
[If an overflow has occurred:]
The SAT bit is set. If the result is positive,
the positive maximum is written into reg2; if
the result is negative, the negative maximum
is written into reg2.
MACT3
reg1, reg2,
reg3
VIII
–
–
–
–
Saturatable operation on signed 32-bit
operands. reg1 and reg2 are multiplied together
as signed integers and the high-order 32 bits of
the product are added to reg3 as signed integers.
[If no overflow has occurred:]
The result is written into reg3.
[If an overflow has occurred:]
The SAT bit is set. If the result is positive,
the positive maximum is written into reg3; if
the result is negative, the negative maximum
is written into reg3.
MAX3
reg1, reg2,
reg3
VIII
–
–
–
–
Maximum. reg2 and reg1 are compared as
signed integers. The larger value is written
into reg3.
MIN3
reg1, reg2,
reg3
VIII
–
–
–
–
Minimum. reg2 and reg1 are compared as
signed integers. The smaller value is written
into reg3.
MOV
reg1, reg2,
I
–
–
–
–
Data transfer. reg1 is copied to reg2 for
data transfer.
imm5, reg2
II
–
–
–
–
Data transfer. imm5, sign-extended to a word,
is copied into reg2 for data transfer.
MOVEA
imm16,
reg1, reg2
V
–
–
–
–
Addition. The high-order 16 bits (imm16),
sign-extended to a word, are added to reg1 and
the sum is written into reg2.
MOVHI
imm16,
reg1, reg2
V
–
–
–
Addition. A word consisting of the high-order
16 bits (imm16) and low-order 16 bits (0) is
added to reg1 and the sum is written into reg2.
MUL
reg1, reg2
I
–
Multiplication of signed operands. reg2 and reg1
are multiplied together as signed values. The
high-order 32 bits of the product (double word)
are written into r30 and low-order 32 bits are
written into reg2.
MUL3
reg1, reg2,
reg3
VIII
–
–
–
–
Multiplication of signed 32-bit operands.
reg2 and reg1 are multiplied together as signed
integers. The high-order 32 bits of the product
are written into reg3.