Motorola DSP56000 Manual page 572

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

Advertisement

A.9.1 Restrictions Near the End of DO Loops
Proper DO loop operation is not guaranteed if an instruction starting at address LA–2,
LA–1, or LA specifies one of the program controller registers SR, SP, SSL, LA, LC, or
(implicitly) PC as a destination register. Similarly, the SSH register may not be specified
as a source or destination register in an instruction starting at address LA–2, LA–1, or
LA. Additionally, the SSH register cannot be specified as a source register in the DO
instruction itself, and LA cannot be used as a target for jumps to subroutine (i.e., JSR,
JScc, JSSET, or JSCLR to LA). The following instructions cannot begin at the indicated
position(s) near the end of a DO loop:
At LA–2, LA–1, and LA
At LA
*This restriction applies to the situation in which the DSP56K simulator's single-line
assembler is used to change the last instruction in a DO loop from a one-word instruc-
tion to a two-word instruction. All changes made using the simulator should be reassem-
bled at the source code level using the DSP56K macro assembler to verify that no
restricted instruction sequences have been generated.
A - 306
INSTRUCTION SEQUENCE RESTRICTIONS
DO
BCHG LA, LC, SR, SP, SSH, or SSL
BCLR LA, LC, SR, SP, SSH, or SSL
BSET LA, LC, SR, SP, SSH, or SSL
BTST SSH
JCLR/JSET/JSCLR/JSSET SSH
MOVEC from SSH
MOVEM from SSH
MOVEP from SSH
MOVEC to LA, LC, SR, SP, SSH, or SSL
MOVEM to LA, LC, SR, SP, SSH, or SSL
MOVEP to LA, LC, SR, SP, SSH, or SSL
ANDI MR
ORI MR
any two-word instruction
Jcc
JMP
JScc
JSR
REP
RESET
RTI
RTS
STOP
WAIT
INSTRUCTION SET DETAILS
*
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents