Panasonic MN103001G/F01K User Manual Page 78

  • Download
  • Add to my manuals
  • Print
  • Page
    / 466
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 77
Extension Instruction Specifications
3-22
SAT24 (24-bit saturation operation instruction)
[Instruction Format (Macro Name)]
SAT24 Dm, Dn
[Assembler Mnemonic]
udf05 Dm, Dn
[Operation]
When Dm is a 24-bit signed number which is the maximum positive value (0x007fffff) or more, the maximum
positive value (0x007fffff) is written into Dn. When Dm is a 24-bit signed number which is the maximum negative
value (0xff800000) or less, the maximum negative value (0xff800000) is written into Dn. In all other cases, the
contents of Dm are written into Dn.
[Flag Changes]
Flag Change Condition
V * Undefined
C * Undefined
N + 1 when MSB of the operation results is 1; 0 in all other cases
Z + 1 when the operation 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.
The operations of "udf05 imm8, Dn", "udf05 imm16, Dn" and "udf05 imm32, Dn" are not assured. In addition, a
system error interrupt does not occur in these cases.
Page view 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 465 466

Comments to this Manuals

No comments