EasyManua.ls Logo

Panasonic MN103S - Page 514

Panasonic MN103S
552 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 16
Appendix
XVI - 62 Extension Instruction Specification
SAT16(16-bit saturation instruction)
[Instruction format (macro name)]
SAT16 imm, Dn
[Assembler mnemonic]
udf04 Dm, Dn
[Operation]
This instruction stores the 16-bit signed positive maximum value (0x00007fff) and the 16-bit signed negative
maximum value (0xffff8000) in Dn respectively when Dm is equal to or greater than the positive maximum value
(0x00007fff) and equal to or smaller than the negative maximum value (0xffff8000). In any other case, the
instruction stores the content of Dm in Dn.
[Flag changes]
[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.
Flag Change Condition
V * Undefined
C * Undefined
N + "1" if the MSB of the operation result is "1." "0" in any other case.
Z + "1" if the operation result is "0s." "0" in any other case.

Table of Contents

Other manuals for Panasonic MN103S

Related product manuals