Exercises: 1- Write a code to shift the integer 5 left by 1 bit. Show the results and the status of CF. 2- If binary 00001010 is shifted left by 2 bits, what is the result? 3- Write a code to shift...


Exercises:<br>1- Write a code to shift the integer 5 left by 1 bit. Show the results and the status of CF.<br>2- If binary 00001010 is shifted left by 2 bits, what is the result?<br>3- Write a code to shift the integer 32 (20h) right by 2 bits (positions). What is the result<br>4- If AL =80h is shifted arithmetic twice to the left, what is the result?<br>5- Show the result of the following instruction manually without using the program<br>emu8086:<br>MOV AL, E0<br>SAL AL, 2<br>Check the result with emu806 program<br>6- If AL= 25h, write a code to rotate the contents of AL 3 times to the left.<br>7- Write a program to rotate 6A4BH left 4 bits. What is the result and CF.<br>8- In the following instructions, AL is rotated 3 times to the right.<br>MOV AL, 4H<br>Asmple<br>ROL AL, 3<br>RET<br>

Extracted text: Exercises: 1- Write a code to shift the integer 5 left by 1 bit. Show the results and the status of CF. 2- If binary 00001010 is shifted left by 2 bits, what is the result? 3- Write a code to shift the integer 32 (20h) right by 2 bits (positions). What is the result 4- If AL =80h is shifted arithmetic twice to the left, what is the result? 5- Show the result of the following instruction manually without using the program emu8086: MOV AL, E0 SAL AL, 2 Check the result with emu806 program 6- If AL= 25h, write a code to rotate the contents of AL 3 times to the left. 7- Write a program to rotate 6A4BH left 4 bits. What is the result and CF. 8- In the following instructions, AL is rotated 3 times to the right. MOV AL, 4H Asmple ROL AL, 3 RET

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here