11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DOStart Hardware LoopDOAt LAOther Restrictions:any two-word instruction*JccJCLRJSETJMPJSccJSRREPRESETRTIRTSSTOPWAIT*This restriction applies to the situation in which theDSP56K simulator's single-line assembler is used tochange the last instruction in a DO loop from a onewordinstruction to a two-word instruction.DO SSH,xxxxJSR to (LA) whenever the loop flag (LF) is setJScc to (LA) whenever the loop flag (LF) is setJSCLR to (LA) whenever the loop flag (LF) is setJSSET to (LA) whenever the loop flag (LF) is setA DO instruction cannot be repeated using the REP instruction.Note: Due to instruction pipelining, if an AGU register (Mn, Nn, or Rn) is directly changedwith a MOVE-type instruction, the new contents may not be available for use until thesecond following instruction. See the restrictions discussed in A.9.6 - R, N, and M RegisterRestrictions on page A-310.This restriction also applies to the sitLiation in which thelast instruction in a DO loop changes an address register and the first instruction at thetop <strong>of</strong> the DO loop uses that same address register. The top instruction becomes the followinginstruction because <strong>of</strong> the loop construct.Similarly, since the DO instruction accesses the program controller registers, the DOinstruction must not be immediately preceded by any <strong>of</strong> the following instructions:Immediately before DOMOVEC to LA, LC, SSH, SSL, or SPMOVEM to LA, LC, SSH, SSL, or SPMOVEP to LA, LC, SSH, SSL, or SPMOVEC from SSHMOVEM from SSHMOVEP from SSH-

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

Saved successfully!

Ooh no, something went wrong!