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
Code for Reading Flow & Generating LED Output The code starts with the scanning of the PORT 3, for reading the flow status to check for various flow conditions and compare to

NAME : Logical Name of a Module: The NAME directive which is used to assign a name to an assembly language program module. The modulecan now be mention to by its declared name.

Software Interrupts Software interrupts are the result of an INT instruction in an executed program.  It may be assumed as a programmer triggered event that immediately stops e


programs

to separate positive and negative numbers

Write a program to do the following: 1. Print your name 2. Using a bottom testing loop, prompt the user to enter a number from 1 to 5.  If the number entered is not 1..5, pri

code, Assembly Language How to print strings in Right Triangle form?

Addressing mode of 8086 : Addressing mode specify a way of locating operands or data. Depending on the data types used the memory  addressing  modes and in the instruction  ,

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