Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

UGC-NET | UGC-NET CS 2017 Dec 2 | Question 32

  • Last Updated : 19 Nov, 2018

Consider the following assembly program fragment :

stc
mov al, 11010110b
mov cl, 2
rcl al, 3
rol al, 4
shr al, cl
mul cl

The contents of the destination register ax (in hexadecimal) and the status of Carry Flag (CF) after the execution of above instructions, are:
(A) ax=003CH; CF=0
(B) ax=001EH; CF=0
(C) ax=007BH; CF=1
(D) ax=00B7H; CF=1


Answer: (A)

Explanation:

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!