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.

_______-----'MOVEP Move Peripheral Data MOVEPA MOVEP instruction which specifies SSH as the source operand or LA, LC, SSH, SSL,or SP as the destination operand cannot be used immediately before a DO instruction.A MOVEP instruction which specifies SSH as the source operand or LA, LC, SR, SSH,SSL, or SP as the destination operand cannot be used immediately before anENDDO instruction.A MOVEP instruction which specifies SSH as the source operand or SR, SSH, SSL, orSP as the destination operand cannot be used immediately before an RTI instruction.A MOVEP instruction which specifies SSH as the source operand or SSH, SSL, or SPas the destination operand cannot be used immediately before an RTS instruction.A MOVEP instruction which specifies SP as the destination operand cannot be usedimmediately before a MOVEC, MOVEM, or MOVEP instruction which specifies SSH orSSL as the source operand.Example:MOVEP #1113,X:«$FFFE:initialize Bus Control Register wait statesX:$FFFE I(BCR) L-.Before Execution$FFFFAfter ExecutionX:$FFFE I(BCR) L-. ____ $1_11_3 ___--'Explanation <strong>of</strong> Example: Prior to execution, the 16-bit, X memory-mapped, 1/0 buscontrol register (BCR) contains the value $FFFF. The execution <strong>of</strong> the MOVEP#$1113,X:«$FFFE instruction moves the value $1113 into the 16-bit bus control registerX:$FFFE, resulting in one wait state for all external X, external Y, and external programmemory accesses and three wait states for all external 1/0 accesses.-

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

Saved successfully!

Ooh no, something went wrong!