Motorola DSP56000 Manual page 482

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

MOVEM
Example:
:
MOVEM P:(R5+N5), LC
:
Before Execution
P:(R5 + N5)
LC
Explanation of Example: Prior to execution, the 16-bit loop counter (LC) register con-
tains the value $0000, and the 24-bit program (P) memory location P:(R5+N5) contains
the value $000116. The execution of the MOVEM P:(R5+N5), LC instruction moves the
16 LS bits of the 24-bit program (P) memory location P:(R5+N5) into the 16-bit LC regis-
ter.
Condition Codes:
15
14
13
LF
DM
For D=SR operand:
S — Set according to bit 7 of the source operand
L — Set according to bit 6 of the source operand
E — Set according to bit 5 of the source operand
U — Set according to bit 4 of the source operand
N — Set according to bit 3 of the source operand
Z — Set according to bit 2 of the source operand
V — Set according to bit 1 of the source operand
C — Set according to bit 0 of the source operand
For D
SR operand:
S — Computed according to the definition in A.5 CONDITION CODE COMPUTATION
L — Set if data limiting has occurred during the move
A - 216
INSTRUCTION DESCRIPTIONS
Move Program Memory
$000116
$0000
12
11
10
9
T
**
S1
S0
I1
MR
INSTRUCTION SET DETAILS
:move P:(R5+N5) into the loop counter (LC)
After Execution
P:(R5 + N5)
$000116
LC
$0116
8
7
6
5
4
I0
S
L
E
U
CCR
MOVEM
3
2
1
0
N
Z
V
C
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents