English
Language : 

C166SV2 Datasheet, PDF (404/438 Pages) Infineon Technologies AG – 16-Bit Microcontroller
User Manual
C166S V2
Detailed Instruction Description
CoNEG
Group
Negate Accumulator
Arithmetic Instructions
CoNEG
Syntax
CoNEG
Source Operand(s)
ACC → 40-bit signed value
Destination Operand(s) ACC → 40-bit signed value
Operation
(ACC) ← 0 - (ACC)
Description
The ACC register contents are subtracted from zero before being stored in the 40-bit
ACC register.
MAC Flags
MV
MSL
ME
MSV
MC
MZ
MN
Sat.
*
*
*
*
*
*
*
yes
MV
MSL
ME
MSV
MC
MZ
MN
Set if an arithmetic underflow occurred, i.e. the result cannot be
represented in the 40-bit data type. Cleared otherwise.
Set if the contents of ACC is automatically saturated. Not affected
otherwise.
Set if the MAE is used. Cleared otherwise.
Set if an arithmetic underflow occurred. Not affected otherwise.
Set if a borrow is generated. Cleared otherwise.
Set if result equals zero. Cleared otherwise.
Set if the most significant bit of the result is set. Cleared otherwise.
Encoding
Mnemonic
CoNEG
Format
A3 00 32 rrr0:0000
Bytes
4
User Manual
8-404
V 1.7, 2001-01