(a) Suppose AL contains the hexadecimal value of your ID:(171-15-9529) (Last 4 digit). Now, (i) clear the...
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
Discrete and Combinatorial Mathematics An Applied Introduction
ISBN: 978-0201726343
5th edition
Authors: Ralph P. Grimaldi
Posted Date: