Shl/sal-logical instruction-microprocessor, Assembly Language

SHL/SAL : Shift logical/Arithmetic Left: These instructions shift the operand byte or word bit by bit to the left and insert 0 in the newly introduced least significant bits. In case of all the ROTATE and SHIFT instructions, the count is either 1 or specified by register CL. The operand might reside in a register or a memory location but can't be an immediate data. All flags are affected depending on the result. Given figure describe the execution of this instruction. It is to be considering here that the shift operation is through carry flag.

1125_SHL-SAL.jpg

                                                    Figure: Execution of SHL/SAL

Posted Date: 10/12/2012 2:46:12 AM | Location : United States







Related Discussions:- Shl/sal-logical instruction-microprocessor, Assignment Help, Ask Question on Shl/sal-logical instruction-microprocessor, Get Answer, Expert's Help, Shl/sal-logical instruction-microprocessor Discussions

Write discussion on Shl/sal-logical instruction-microprocessor
Your posts are moderated
Related Questions
Write an Lc-3 assembly language program to read in a sequence of single-digit positive integers from the keyboard(one integer per line) until the sentinel value of 0 is reached and

Declare 1 constant. This can be done just below the prototype section. Put the following divider above the constant section. ;************************ Constants ****************

ASSUME: Assume Logical Segment Name:- The ASSUME directive which is used to inform the assembler, the specified names of the logical segments to be consider for different segme

Write a program to calculate the first 20 numbers of Fibonacci series. Use the stack (memory) to store the calculated series. Your debugger output should look like the following sc

LENGTH : Byte Length of a Label: This directive is not available in MASM. This is used to mention to the length of a data array or a string. MOV CX. LENGTH ARRAY This sta


Write an assembly program that will compute and output tuition cost: a. accept keyboard input of the number of credit hours taken b. accept keyboard input of the type of classes 1

SBB: Subtract  with Borrow  :- The subtract with borrow instruction subtracts the source operand and the borrow flag (CF) which might reflect the result of the past calculations,

Interrupt System Based on Single 8259 A The 8259A is contained in a 28-pin dual-in-line package that need only a + 5-V supply voltage.  Its organization is shown in given figur

hey ,, I need to know how to let a symbol moves with mouse ??