edited by
5,213 views
5 votes
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$
edited by

1 Answer

Answer:

Related questions

1 votes
1 votes
0 answers
2
1 votes
1 votes
1 answer
3
Arjun asked Nov 5, 2017
1,698 views
In the architecture of $8085$ microprocessor match the following :$\begin{array}{clcl} \text{(a)} & \text{Processing unit} & \text{(i)} & \text{Interrupt} \\ \text{(b)}...
3 votes
3 votes
2 answers
4
Arjun asked Nov 5, 2017
1,644 views
In $8085$ microprocessor which of the following flag(s) is (are) affected by an arithmetic operation?AC flag onlyCY flag OnlyZ flag OnlyAC, CY, Z flags