Infineon Technologies C166S V2 User Manual page 316

16-bit microcontroller
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents