dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 576

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
NEGA
Operation:
0 – D →
Description: The destination pointer register is subtracted from zero, and the result is stored back in the destination
Example:
Explanation of Example:
Condition Codes Affected:
Instruction Fields:
Instruction Opcodes:
Timing:
Memory:
A-232
NEGA
Operation
NEGA
Before Execution
Rn
R2
D
register.
NEGA
Prior to execution, the R2 register contains the value $000001. The NEGA R2 instruction takes the
two’s-complement of the value in R2 and stores the 24-bit result ($FFFFFF) back into R2.
The condition codes are not affected by this instruction.
1 oscillator clock cycle
1 program word
(no parallel move)
Operands
000001
R2
Rn
DSP56800E Core Reference Manual
Negate AGU Register
15
1
C
1
0
; negate value in R2
W
1
0
Assembler Syntax:
NEGA
Negate AGU register
12
0
11
0
After Execution
R2
1
0
D
1
8
FFFFFF
Comments
7
0
(no parallel move)
0
Freescale Semiconductor
1
0
4
R
3
NEGA
1
R
R
0

Related parts for dsp56800e