Panasonic MN103S User Manual page 499

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

MULQI (signed high-speed multiply instruction: immediate to register)
[Instruction format (macro name)]
MULQI imm, Dn
[Assembler mnemonic]
udf00 imm8,Dn
: imm8 is sign-extended
udf00 imm16,Dn
: imm16 is sign-extended
udf00 imm32,Dn
[Operation]
This instruction performs high-speed multiply operation by means of the multiplier provided in the extension
arithmetic unit.
The instruction multiplies 32-bit data (multiplicand), obtained by sign-extending imm, by the content of Dn
(signed 32-bit integer: multiplier) and stores high-order 32 bits and low-order 32 bits of the 64-bit result
respectively in the high-speed multiply register MDRQ and Dn.
The instruction determines the range within which the multiplier stored in Dn is significant (determination is
made starting LSB and in units of 2 bytes) before performing operation. Only the range within which a significant
value is contained is subject to multiply operation. That is, the smaller the content of Dn, the faster the operation
result is obtained.
[Flag changes]
Flag
Change
Condition
V
*
Undefined
C
*
Undefined
N
+
"1" if the MSB of the low-order 32 bits of the result is "1." "0" in any other case.
Z
+
"1" if the low-order 32 bits of the result are "0s." "0" in any other case.
[Note for programming]
Updating of the PSW as a result of flag changes is delayed by 1 instruction.
Note, however, that flags can be evaluated for the Bcc and Lcc instructions before flag changes are reflected in the
PSW.
Extension Instruction Specification
Chapter 16
Appendix
XVI - 47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents