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.


                                                    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 a MIPS/SPIM assembly language program that prints the smallest and largest values found in a non-empty table of N word-sized integers. The address of the first entry in your

Task One Produce a menu such as the one below (remember to keep to this specification). M E N U 1, Enter Number 1 2, Enter Number 2 3, Display num1 and num2 4, D

Write a MC68H12 assembly language program to find the largest number in an array of ten 8-bit numbers. The array is stored in memory locations starting at address $1100. Use branch

Sum of series of 10 numbers and store result in memory location total

General terms for Cache : Cache Hits : When the cache consisted the information requested, the transaction is said to be a cache hit. Cache Miss : When the cache does n

Internal Hardware-Interrupts Internal hardware-interrupts are the outcome of sure situations that occur during the execution of a program, for example. Divide by 0. The interru

1) Write an 80x86 assembly language program in EXE file format to do the following tasks: a) Open and read the contents of a file into memory (use at least 1 kB). b) Sort the li

Write a program that will input a number from the keyboard, and then display the number in binary form, as well as the number of one's in the number. Hint: Shift the value left (or

IRET : Return from ISR:- When an interrupt service routine is called, before transferring control to it, the IP, CS  register and flag registers are stored in the stack to ment

I was wondering if you guys could offer me some advice and help on how to proceed - not answers- for a homework problem I am attempting. I am currently working on a "bomb" project