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.

Immediately before JSCLR from SSH or SSL,xxxxImmediately before JSSET from SSH or SSL,xxxxAlso, the instruction MOVEC SSH,SSH is illegal.BCHG to SPBCLR to SPBSET to SPBCHG to SPBCLR to SPBSETto SPA.9.G R, N, and M Register RestrictionsDue to pipelining, if an address register Rn is the destination <strong>of</strong> a MOVE-type instructionexcept MOVEP (MOVE, MOVEC, MOVEM, LUA, Tcc) , the new contents will not beavailable for use as an address pointer until the second following instruction cycle.Likewise, if an· <strong>of</strong>fset register Nn or a modifier register Mn is the destination <strong>of</strong> a MOVEtypeinstruction except MOVEP, the new contents will not be available for use in addresscalculations until the second following instruction cycle.However, if the processor is in the No Update addressing mode (where Mn and Nn areignored) and register Mn or Nn is the destination <strong>of</strong> a MOVE instruction, the next instructionmay use the corresponding Rn register as an address pointer. Also, if the processoris in the Postincrement by 1, Postdecrement by 1, or Predecrement by 1 addressingmode (where Nn is ignored), a MOVE to Nn may be immediately followed by an instructionthat uses Rn as an address pointer.Note: This restriction also applies to the situation in which the last instruction in a DOloop changes an address register using a move-type instruction and the first instructionat the top <strong>of</strong> the DO loop uses that same address register. The top instruction becomesthe following instruction because <strong>of</strong> the loop construct. The DSP assembler will generatea warning if this condition is detected.A.9.7 Fast Interrupt RoutinesThe following instructions may not be used in a fast interrupt routine:-In a fast interrupt rou~ine DO MOVEM from SSH STOPENDDO MOVEP from SSH SWIRTI ORI MR or ORI CCR WAITRTS ANDI MR or ANDI CCR, MOVEC to LA, LC, SSH, SSL, SP, or SRMOVEM to LA, LC, SSH, SSL, SP, or SRMOVEP to LA, LC, SSH, SSL, SP, or SRMOVEC from SSH

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

Saved successfully!

Ooh no, something went wrong!