首页 > 代码库 > Twos Complement Representation

Twos Complement Representation

COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION

 

Like sign magnitude, twos complement representation uses the most significant bit
as a sign bit, making it easy to test whether an integer is positive or negative. It
differs from the use of the sign-magnitude representation in the way that the other
bits are interpreted. Table 10.1 highlights key characteristics of twos complement
representation and arithmetic, which are elaborated in this section and the next.

Twos Complement Representation