Machine-translated by Google. Questions are authored in English.
Top

Discussion

Using 16's complement method of subtraction compute CB2H - 972H :

  • A.68DH
  • B.1340H
  • C.340H
  • D.CB2H

Answer: C

CB2H - 972H = 340H.

In 16's complement subtraction, add the 16's complement of the subtrahend and discard the end carry. The 15's complement of 972 is FFF - 972 = 68D; adding 1 gives the 16's complement 68E.

\[ \begin{aligned} \text{CB2} + \text{68E} &= \text{1340} \\ \text{discard carry} &\Rightarrow \text{340H} \end{aligned} \]

Check in decimal: CB2H = 3250, 972H = 2418, and 3250 - 2418 = 832 = 340H. 68DH is only the 15's complement of the subtrahend, and 1340H is the sum before the end carry is dropped.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.