Question: (a) Suppose AL contains the hexadecimal value of your ID:(171-15-9529) (Last 4 digit). Now, (i) clear the MSB and LSB of AL preserving the other

(a) Suppose AL contains the hexadecimal value of your ID:(171-15-9529) (Last 4 digit). Now,

(i) clear the MSB and LSB of AL preserving the other bits.

(ii) Set the 2nd and 7th bit of AL preserving the other bits.

(iii) Change the 4th and 5th bit of AL preserving the other bits and after that write the final value of AL.

(b) Consider the value of BL register is the binary value of the last two digit of your ID. now perform the operation sequentially: 1 logical SHL, 2 arithmetical SHR, 1 arithmetical SHL. Write the final value of BL.

(c) Considering the same value of BL now perform: RCR CL where CL contains 2, then ROL 3 then RCL CL where CL contains 3. Write the final value of BL.

Step by Step Solution

3.41 Rating (167 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!