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.

I Immediate Short Data Move IExample:ABS B #$18,R1;take absolute value <strong>of</strong> B, #$18~R1Before ExecutionAfter ExecutionR1 $0000 R1 ~I _______ $0_01_8 ______ ~Explanation <strong>of</strong> Example: Prior to execution, the 16-bit address register R1 contains thevalue $0000. The execution <strong>of</strong> the parallel move portion <strong>of</strong> the instruction, #$18,R1,moves the 8-bit immediate short operand into the eight LS bits <strong>of</strong> the R1 register andzeros the remaining eight MS bits <strong>of</strong> that register. The 8-bit value is interpreted as anunsigned integer since its destination is the R1 address register.-

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

Saved successfully!

Ooh no, something went wrong!