dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 632

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Tcc
Example:
Explanation of Example:
Condition Codes Affected:
A-288
Before Execution
A2
X0
0
CMP
TGT
In this example, the value in A ($0:0124:FFFF) is larger than the expanded value in X0 ($0:0024:0000)
and the specified condition is true. The contents of the expanded X0 register are transferred to the
36-bit A accumulator, and the contents of the 24-bit R0 address register are transferred to the address
register R1. If the specified condition were false, a NOP instruction would be executed.
The condition codes are tested but not modified by this instruction.
R1
R0
0124
0024
A1
X0,A
X0,A
007900
002800
DSP56800E Core Reference Manual
Transfer Conditionally
R0,R1 ; transfer X0 → A and R0 → R1 if X0 <
FFFF
A0
; compare X0 and A (sort for minimum)
After Execution
A2
X0
0
R1
R0
0024
0024
A1
002800
002800
Freescale Semiconductor
0000
A0
Tcc

Related parts for dsp56800e