dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 436

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
CLR.L
Operation:
0 → D
Description: Set a long word in memory to zero. The destination address of the long word that is to be cleared must
Example:
Explanation of Example:
Condition Codes Affected:
Instruction Fields:
A-92
Operation
CLR.L
Before Execution
Addresses
(no parallel move)
Word
be an even word pointer value, and it indicates the address of the lower half of the long word.
CLR.L
The long-word value in X memory at the address $3000 is cleared.
The condition codes are not affected by this instruction.
$3002
$3001
$3000
$2FFF
X:$3000
X:(Rn+xxxxxx)
X:(Rn+xxxx)
15
Operands
X:(Rn+N)
X:xxxxxx
X:(Rn)+
X:(Rn)–
X:xxxx
X:(Rn)
X Memory
4444
3333
2222
1111
DSP56800E Core Reference Manual
0
Clear Long
; set long word at address $3000 to zero
C
1
1
1
2
2
3
2
3
Assembler Syntax:
CLR.L
W
1
1
1
1
2
3
2
3
Clear a long in memory
After Execution
Addresses
Word
D
$3002
$3001
$3000
$2FFF
(no parallel move)
Comments
15
Freescale Semiconductor
X Memory
4444
0000
0000
1111
CLR.L
0

Related parts for dsp56800e