dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 531

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
MOVE.BP
Operation:
S → D
Description: Move an 8-bit value from a register to memory, from memory to a register, or between two memory
Example 1:
Explanation of Example:
Example 2:
Explanation of Example:
Freescale Semiconductor
Before Execution
Before Execution
(no parallel move)
A2
0
locations. Register-indirect memory locations are specified with byte pointers, offsets are specified as
byte offsets, and absolute addresses are specified as byte addresses. Register operands are affected as
follows:
– If the source operand is a 16-bit register, the lower 8 bits are moved.
– If the destination operand is a 16-bit register, the lower 8 bits are written and the upper 8 bits are
– If the source operand is an accumulator, the lower 8 bits of FF1 are moved.
– If the destination operand is an accumulator, the lower 8 bits of FF1 are written, FF2 and the upper
– If the destination operand is the Y register, the lower 8 bits of Y1 are written, the upper 8 bits of Y1
MOVE.BP X:(R0)+,A; move byte into A, update R0
Prior to the memory move, the accumulator register A contains the value $0:6677:8888. After execu-
tion of the MOVE.BP X:(R0)+,A instruction, the lower 8 bits of A1 are updated with the value in
memory pointed to by the byte pointer R0, the result is sign extended through bit 35 of A, and the FF0
portion is filled with zero. The value in A becomes $F:FF96:0000. The R0 pointer is then incremented
by one.
MOVE.BP X0,X:(R0+$21) ; move byte into data memory location
Prior to the memory move, the word memory location X:$2232 contains the value $9060. After exe-
cution of the MOVE.BP X0,X:(R0+$21) instruction, the lower 8 bits of X0 are written to the upper
byte of the word memory location X:$2232. This memory location is the result of the effective address
(R0+$21) in bytes.
filled with sign extension.
8 bits of FF1 are filled with sign extension, and FF0 is zero filled.
are filled with sign extension, and Y0 is zero filled.
6677
R0
R0
X:$2222
X:$2232
A1
X0
004444
004444
Move Byte (Byte Pointer)
77AA
9060
8888
6996
A0
Instruction Set Details
Assembler Syntax:
MOVE.BP
After Execution
After Execution
A2
F
S,D
R0
R0
FF96
X:$2232
X:$2222
A1
(no parallel move)
X0
004445
004444
MOVE.BP
77AA
AA60
0000
6996
A0
A-187

Related parts for dsp56800e