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.

X: X Memory Data Move X:Note:Due to instruction pipelining, if an AGU register (Mn, Nn, or Rn) is directly changedwith this instruction, the new contents may not be available for use until the second followinginstruction. See the restrictions discussed in A.9.6 - R, N, and M Register R~strictionson page A-31 o.Example:ASL A R2,X:-(R2) ;A*2-+A, save updated R2 in X:(R2)~1~ ______Before ExecutionX:$1000 1~ _____ $0_0_00_00 ______ ~After Execution$_10_01 ______ ~ R2~1 ______ ~$1_00_0 ____ ~X:$1000 ~I ______ $0_01_00_0 ____ ~Explanation <strong>of</strong> Example: Prior to execution, the 16-bit R2 address register contains thevalue $1001, and the 24-bit X memory location X:$1000 contains the value $000000.The execution <strong>of</strong> the parallel move portion <strong>of</strong> the instruction, R2,X:-(R2), predecrementsthe R2 address register and then uses the R2 address register to move the updated contents<strong>of</strong> the R2 address register into the 24-bit X memory location X:$1 000.Condition Codes:S -L -Computed according to the definition in A.5 CONDITION CODE COMPUTATION.Set if data limiting has occurred during parallel move.Note: The MOVE A,X:ea operation will result in a 24-bit positive or negative saturationconstant being stored in the specified 24-bit X memory location if the signed integer portion<strong>of</strong> the A accumulator is in use.

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

Saved successfully!

Ooh no, something went wrong!