dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 498

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
INC.L
Operation:
D + 1 → D
Description: Increment a long-word value in a register or memory. When an operand located in memory is operated
Usage:
Example:
Explanation of Example:
Condition Codes Affected:
A-154
Before Execution
A2
0
on, the low-order 32 bits of the result are stored back to memory. The condition codes are calculated
based on the 32-bit result. Absolute addresses pointing to long elements must always be even aligned
(that is, pointing to the lowest 16 bits).
This instruction is typically used when integer data is processed.
INC.L
Prior to execution, the 36-bit A accumulator contains the value $0:0020:0000. Execution of the INC.L
instruction adds one to the A accumulator. The CCR is updated based on the result of the addition.
E
U
N
Z
V
C
LF
15
— Set if the extension portion of the 36-bit result is in use
— Set if the 36-bit result is unnormalized
— Set if bit 31 of the result is set
— Set if the result is zero
— Set if overflow has occurred in result
— Set if a carry occurs from bit 31 of the result
(no parallel move)
0020
P4
14
A1
A
13
P3
SR
P2
12
MR
DSP56800E Core Reference Manual
P1
11
0000
0300
A0
P0
10
Increment Long
; increment value in A by one
I1
9
INC.L
Assembler Syntax:
I0
8
SZ
7
After Execution
6
L
A2
0
5
E
D
U
4
CCR
0020
A1
N
3
(no parallel move)
SR
2
Z
Freescale Semiconductor
V
1
0001
0310
C
0
A0
INC.L

Related parts for dsp56800e