What value will be in the AL register after these instructio

What value will be in the AL register after these instructions are executed. Explain your answered by using binary data. MOV AL, F3H AND AL, 65H B. What value will be in the AL register after these instructions are executed. Explain your answered by using binary data. MOV AL, 81H OR AL, 62H C. What value will be in the AL register after these instructions are executed. Explain your answered by using binary data. MOV AL, 83H NEG AL

Solution

Ans)

A: these instructions perform AND operation

F3H= 1111 0011 b

65H= 0110 0101 b

-----------------------------------

0110 0001 b----61 H--contents in AL register at the end

--------------------------------------------------------------------------

B)

these instructions perform OR operation

81H= 1000 0001 b

62H= 0110 0010 b

-----------------------------------

1110 0011 b----E3 H--contents in AL register at the end

--------------------------------------------------------------------------

C)

these instructions perform NEG(2\'s Compliment) operation

83H= 1000 0011 b

1\'s Compliment= 0111 1100 b

1

2\'s Compliment= 0111 1101 b-------7D H contents in AL register at the end

-----------------------------------

  

--------------------------------------------------------------------------

 What value will be in the AL register after these instructions are executed. Explain your answered by using binary data. MOV AL, F3H AND AL, 65H B. What value

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site