Teaching UGC NET Mock Test Series 2025 (Paper 1 & 2) Computer Organization and Architecture Machine Instructions and Addressing Modes
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:
1
ax = 003CH; CF = 0
2
ax = 001EH; CF = 0
3
ax = 007BH; CF = 1
4
ax = 00B7H; CF = 1