Computer Science > QUESTIONS & ANSWERS > World University of Bangladesh ASSIGNMENT On Microprocessor and Assembly Language (All)
Suppose AL contains 1100101lb and CF= l. Give the new contents of AL after each of the following instructions is executed. Assume the preceding initial conditions for each part of this question. · ... · a. SHL·AL, 1; b. SHR AL 1, c. ROL AL,CL if CL contains 2 d. ROR AL,CL if.CL contains 3 e. SAR AL, CL if.CL contains 2 f. RCL AL, 1 . g. RCR AL,CL if CL contains 3 Solution: a. SHL·AL, 1; Instruction Processing AL (Before) AL (After) CF SHL·AL, 1; 10010110 11001011 10010110 1 b. SHR AL 1, Instruction Processing AL (Before) AL (After) CF SHR AL 1; 01100101 11001011 01100101 1 c. ROL AL,CL if CL contains 2 Instruction Processing AL (Before) AL (After) CF ROL AL,CL if CL contains 2 10010111 00101111 11001011 00101111 1 d. ROR AL,CL if.CL contains 3 Instruction Processing AL (Before) AL (After) CF ROL AL,CL if CL contains 3 11100101 11110010 01111001 11001011 01111001 [Show More]
Last updated: 2 years ago
Preview 1 out of 3 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Mar 23, 2023
Number of pages
3
Written in
All
This document has been written for:
Uploaded
Mar 23, 2023
Downloads
0
Views
98
Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·