edited by
5,775 views
5 5 votes

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$

1 Answer

Answer:
Position:
Show:

Related questions

2 2 votes
2 2 answers
7.3k
7.3k views
Arjun asked Nov 5, 2017
7,325 views
Consider the following program fragment in assembly language:mov ax, 0h mov cx, 0A h do loop: dec ax loop doloopWhat is the value of $ax$ and $cx$ registers after the com...
1 1 vote
2 2 answers
3.9k
3.9k views
Arjun asked Nov 5, 2017
3,907 views
Which speed up could be achieved according to Amdahl's Law for infinte number of processes if $5\%$ of a program is sequential and the remaining part is ideally parallel?...
0 0 votes
1 1 answer
1.7k
1.7k views
Arjun asked Nov 5, 2017
1,701 views
Which of the following Super Computers is the fastest Super Computer?Sun-way TaihuLightTitanPiz DaintSequoia
1 1 vote
1 answers 1 answer
2.7k
2.7k views
Arjun asked Nov 5, 2017
2,659 views
In $8085$ microprocessor the address bus is of ___________ bits.$4$$8$$16$$32$