Panasonic MN103S User Manual page 507

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

MACIB (signed byte data multiply and accumulate instruction: immediate to register)
[Instruction format (macro name)]
MACIB imm, Dn
[Assembler mnemonic]
udf32 imm8, Dn
[Operation]
This instruction performs multiply and accumulate operation by means of the multiplier and the adder provided in
the extension arithmetic unit.
The instruction multiplies imm 8-bit data (multiplicand) by the content of Dn (signed 8-bit integer: multiplier),
adds this product to the 32-bit accumulative sum that is stored in the multiply and accumulate register MCRL and
stores the 32-bit result in the multiply and accumulate register MCRL.
The register outputs a multiply and accumulate overflow detection flag "1" to the register MCVF if the
accumulative sum data overflows beyond 32 bits during addition of the product and the accumulative sum.
[Flag changes]
Flag
Change
Condition
V
-
C
-
N
-
Z
-
[Note for programming]
An instruction other than extension instructions that requires 1 or more cycles must be inserted between this
instruction and a next extension instruction.
Extension Instruction Specification
Chapter 16
Appendix
XVI - 55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents