Compare the eight- and 16-bit representations for +73 from Problem 6-54. Then compare the two representations for
Question:
Compare the eight- and 16-bit representations for +73 from Problem 6-54. Then compare the two representations for –82. There is a general rule that can be used to convert easily from eight-bit to 16-bit representations. Can you see what it is? It has something to do with the sign bit of the eight-bit number.
Data from Problem 6-54
In working with microcomputers, it is often necessary to move binary numbers from an eight-bit register to a 16-bit register. Consider the numbers 01001001 and 10101110, which represent +73 and –82, respectively, in the 2’s-complement system. Determine the 16-bit representations for these decimal numbers.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Digital Systems Principles And Application
ISBN: 9780134220130
12th Edition
Authors: Ronald Tocci, Neal Widmer, Gregory Moss
Question Posted: