English
Language : 

C166SV2 Datasheet, PDF (316/438 Pages) Infineon Technologies AG – 16-Bit Microcontroller
User Manual
C166S V2
Detailed Instruction Description
CoABS
Group
Absolute Value
Arithmetic Instructions
CoABS
Syntax
CoABS
Source Operand(s)
ACC → 40-bit signed value
Destination Operand(s) ACC → 40-bit signed value
Operation
(ACC) ← Abs(ACC)
Description
Computes the absolute value of the 40-bit ACC contents.
MAC Flags
MV
MSL
ME
MSV
MC
MZ
MN
Sat.
*
*
*
*
0
*
*
yes
MV
MSL
ME
MSV
MC
MZ
MN
Set if the ACC contents was 80 0000 0000H. Cleared otherwise.
Set if the contents of ACC is automatically saturated. Not affected
otherwise.
Set if the MAE is used. Cleared otherwise.
Set if the ACC contents was 80 0000 0000H. Not affected otherwise.
Always cleared.
Set if result equals zero. Cleared otherwise.
Set if the most significant bit of the result is set. Cleared otherwise.
Encoding
Mnemonic
CoABS
Format
A3 00 1A rrr0:0000
Bytes
4
User Manual
8-316
V 1.7, 2001-01