Instruction Set ArchitectureIP2022 Users Manual
176
www.ubicom.com
MULS W,fr
Signed Multiply fr,W into MULH || W
Operation:
W = fr × W; low 8 bits of signed product
MULH = fr × W; high 8 bits of signed product
Bits affected:
None
Opcode:
0101 010f ffff ffff
Description:
This instruction performs a signed multiply of the
contents of the specified data memory location by
the contents of W. The low 8 bits of the product
are written to W, and the high 8 bits are written to
the MULH register. The data memory location is
left unchanged.
Both operands are interpreted as twos-
complement numbers, and the result loaded into
MULH || W is also in twos complement format.
Cycles:
1