Panasonic MN103001G/F01K User Manual page 64

Panax series microcomputer
Table of Contents

Advertisement

Extension Instruction Specifications
GETCHX (Register high-order 32-bit transfer instruction for multiply-and-accumulate operation: Store)
[Instruction Format (Macro Name)]
GETCHX Dn
[Assembler Mnemonic]
udf12 Dn, Dn
[Operation]
This instruction transfers the contents of the multiply-and-accumulate register MCRH to Dn.
The content of the multiply-and-accumulate overflow detect register MCVF is set in the V flag.
[Flag Changes]
When multiply-and-accumulate operation overflow was not detected (MCVF = 0)
Flag
Change
V
0
C
0
N
*
Z
*
When multiply-and-accumulate operation overflow was detected (MCVF = 1)
Flag
Change
V
1
C
0
N
*
Z
*
[Programming Cautions]
There is a one-instruction delay in the updating of the PSW to reflect flag changes.
However, the Bcc and Lcc instructions can evaluate the flags without waiting for the flag changes to be reflected in
the PSW.
When "udf12 Dm, Dn" is operated, Dm is ignored.
The operations of "udf12 imm8, Dn", "udf12 imm16, Dn" and "udf12 imm32, Dn" are not assured. In addition, a
system error interrupt does not occur in these cases.
3-8
Indicates that the multiply-and-accumulate operation is valid.
Always 0
Undefined
Undefined
Indicates that the multiply-and-accumulate operation is invalid.
Always 0
Undefined
Undefined
Condition
Condition

Advertisement

Table of Contents
loading

Table of Contents