11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A.9.1 Restrictions Near the End <strong>of</strong> DO LoopsProper DO loop operation is not guaranteed if an instruction starting at address LA-2,LA-1, or LA specifies one <strong>of</strong> the program controller registers SR, SP, SSL, LA, LC, or(implicitly) PC as a destination register. Similarly, the SSH register may not be specifiedas a source or destination register in an instruction starting at address LA-2, LA-1, orLA. Additionally, the SSH register cannot be specified as a source register in the DOinstruction itself, and LA cannot be used as a target for jumps to subroutine (Le., JSR,JScc, JSSET, or JSCLR to LA). The following instructions cannot begin at the indicatedposition(s) near the end <strong>of</strong> a DO loop:-At LA-2, LA-1, and LAAt LADOBCHG LA, LC, SR, SP, SSH, or SSLBCLR LA, LC, SR, SP, SSH, or SSLBSET LA, LC, SR, SP, SSH, or SSLBTSTSSHJCLRlJSET/JSCLRlJSSET SSHMOVEC from SSHMOVEM from SSHMOVEP from SSHMOVEC to LA, LC, SR, SP, SSH, or SSLMOVEM to LA, LC, SR, SP, SSH, or SSLMOVEP to LA, LC, SR, SP, SSH, or SSLANDI MRORIMRany two-word instruction *JccJMPJSccJSRREPRESETRTIRTSSTOPWAIT*This restriction applies to the situation in which the DSP56K simulator's single-lineassembler is used to change the last instruction in a DO loop from a one-word instructionto a two-word instruction. All changes made using the simulator should be reassembledat the source code level using the DSP56K macro assembler to verify that norestricted instruction sequences have been generated.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!