dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 554

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
MOVEU.BP
Operation:
S → D
Description: Move an 8-bit value from memory to a register or between two memory locations. Register-indirect
Example 1:
Explanation of Example:
Example 2:
Explanation of Example:
Condition Codes Affected:
A-210
Before Execution
Before Execution
(no parallel move)
A2
F
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 destination operand is a 16-bit register, the lower 8 bits are written and the upper 8 bits are
– If the destination operand is the Y register, the lower 8 bits of Y1 are written. The upper 8 bits of
– If the destination operand is a full accumulator, the lower 8 bits of FF1 are written. FF2 and the
MOVEU.BP X:(R0)+,A
Prior to the memory move, the accumulator register A contains the value $F:CCDD:2233. After exe-
cution of the MOVEU.BP X:(R0)+,A instruction, the FF1 portion of A is updated with the value in
memory that is pointed to by the byte pointer R0, and it is zero extended. The FF0 portion of A is zero
filled, resulting in the value $0:0099:0000. The R0 pointer is then incremented by one.
MOVEU.BP X:(R0+$21),Y0
Prior to the memory move, the register Y0 contains the value $1111. After execution of the
MOVEU.BP X:(R0+$21),A instruction, the lower 8-bit portion of Y0 is updated with the value in
memory that is pointed to by the byte pointer R0, with an offset of $21 bytes, and is zero extended. The
Y0 register becomes $0088. The R0 pointer is unchanged.
The condition codes are not affected by this instruction.
filled with zero extension.
Y1 and all of Y0 are filled with zero.
upper 8 bits of FF1 are filled with zero extension, and FF0 is zero filled.
CCDD
00FF
R0
R0
X:$2222
X:$2232
A1
Y1
004444
004444
DSP56800E Core Reference Manual
Move Unsigned Byte
2233
5599
1111
8899
A0
Y0
(Byte Pointer)
; move byte into A, update R0
Assembler Syntax:
MOVEU.BP
; move byte into Y0
After Execution
After Execution
A2
0
S,D
R0
R0
0099
00FF
X:$2222
X:$2232
A1
Y1
(no parallel move)
MOVEU.BP
Freescale Semiconductor
004445
004444
0000
5599
0088
8899
A0
Y0

Related parts for dsp56800e