Suppose you have two 8-bit binary numbers, A and B, represented as (00010101)2 and (00000110)2, respectively. Perform the subtraction A−B and determine the decimal equivalent of the result.
Suppose you have two 8-bit binary numbers, *A* and *B*, represented as (00010101)2 and (00000110)2, respectively. Perform the subtraction *A*−*B* and determine the decimal equivalent of the result. Consider the following algorithm where number n stored in register R1, and the final result stored in register R2.\ 1\. R1 = n\ 2\. R2 = 1\ 3\. R2 = R2 \* R1\ 4\. R1 = R1 - 1\ 5\. If R1 \> 0, go to step 3, otherwise go to step 6.\ 6\. Print(R2)\ Which of the following statements represents the correct purpose of the given algorithm? Figure from the original question paper