MPYU ACC,T,loc16
MPYU ACC,T,loc16
SYNTAX OPTIONS
MPYU ACC,T,loc16
Operands
ACC
T
loc16
Description
Flags and
Z
Modes
N
Repeat
Example
; Calculate unsigned using 16-bit multiply:
; Y32 = Y32 + X16*M16
MOV
MPYU
ADDL
6-240
0011 0110 LLLL LLLL
Accumulator register
Multiplicand register
Addressing mode (see Chapter 5)
Multiply the unsigned 16-bit content of the T register by the unsigned 16-bit
content of the location pointed to by the "loc16" addressing mode and store
the 32-bit results in the ACC register:
ACC = unsigned T * unsigned [loc16];
After the operation, the Z flag is set if the ACC is zero, else Z is cleared.
After the operation, the N flag is set if bit 31 of the ACC is 1, else N is cleared.
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
T,@X16
; T = X16
ACC,T,@M16
; ACC = T * M16
@Y32,ACC
; Y32 = Y32 + ACC
16 X 16-bit Unsigned Multiply
OPCODE
OBJMODE
RPT
CYC
X
−
1
Need help?
Do you have a question about the TMS320C28x and is the answer not in the manual?