dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 414

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Operation:
Description: Load the updated address into the destination address register D. The
source address register and the update mode used to compute the updated address are
specified by the effective address (ea). Note that the source address register speci-
fied in the effective address is not updated. All update addressing modes may be
used.
Note: This instruction is considered to be a move-type instruction. Due to instruction
pipelining, if an AGU register (Mn, Nn, or Rn) is directly changed with this instruction, the
new contents may not be available for use until the second following instruction. See the
restrictions discussed in A.9.6 - R, N, and M Register Restrictions on page A-310.
Example:
Explanation of Example: Prior to execution, the 16-bit address register R0 contains the
value $0003, the 16-bit address register N0 contains the value $0005, and the 16-bit
address register R1 contains the value $0004. The execution of the LUA (R0)+N0,R1
instruction adds the contents of the R0 register to the contents of the N0 register and
stores the resulting updated address in the R1 address register. Normally N0 would be
added to R0 and deposited in R0. However, for an LUA instruction, the contents of both
the R0 and N0 address registers are not affected.
A - 148
LUA
ea d
R1
LUA (R0)+N0,R1
M0
R0
N0
:
:
Before Execution
Freescale Semiconductor, Inc.
$FFFF
$0004
$0003
$0005
For More Information On This Product,
INSTRUCTION DESCRIPTIONS
INSTRUCTION SET DETAILS
Load Updated Address
Go to: www.freescale.com
;update R1 using (R0)+N0
R0
Assembler Syntax:
M0
R1
N0
LUA ea,D
After Execution
$FFFF
$0008
$0003
$0005
MOTOROLA
LUA

Related parts for dsp56000