Panasonic MN103001G/F01K User Manual Page 68

  • Download
  • Add to my manuals
  • Print
  • Page
    / 466
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 67
Extension Instruction Specifications
3-12
MULQI (Signed high-speed multiplication instruction: between immediate value and 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 multiplication quickly using the multiplier of the extension function unit.
The 32-bit data obtained by sign-extending imm (multiplicand) and the contents of Dn (signed 32-bit integer:
multiplier) are multiplied, and the upper 32 bits of the results (64 bits) are written into the high-speed multiply
register MDRQ and the lower 32 bits into Dn.
The significant value range of the multiplicand stored in imm before the operation is judged (starting point: LSB,
judgment unit: 2 bytes), and the operation is only performed for the range containing these significant values. In
other words, if the number of imm bits is 16 or less, the operation results will be derived faster.
[Flag Changes]
Flag Change Condition
V * Undefined
C * Undefined
N + 1 when MSB of the lower 32 bits of the results is 1; 0 in all other cases
Z + 1 when the lower 32 bits of results are 0; 0 in all other cases
[Programming Cautions]
PSW updating by flag changes is delayed by one instruction.
However, Bcc and Lcc instructions can evaluate flags without waiting for flag reflection to PSW.
Page view 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 465 466

Comments to this Manuals

No comments