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.

ASL Arithmetic Shift Accumulator Left ASLOperation:55 47 23 ocl ~ I~"'--I~"'-- I 0 (parallel move)Assembler Syntax:ASL 0 (parallel move)Description: Arithmetically shift the destination operand D one bit to the left and storethe result in the destination accumulator. The MS bit <strong>of</strong> 0 prior to instruction execution isshifted into the carry bit C and a zero is shifted into the LS bit <strong>of</strong> the destination accumulatorD. If a zero shift count is specified, the carry bit is cleared. The difference betweenASL and LSL is that ASL operates on the entire 56 bits <strong>of</strong> the accumulator and thereforesets the V bit if the number overflowed.Example:ASL A (R3)- ;multiply A by 2, update R3Before ExecutionoA

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

Saved successfully!

Ooh no, something went wrong!