A certain computer is storing the following two signed numbers in its memory using the 2s-complement system:
Question:
A certain computer is storing the following two signed numbers in its memory using the 2’s-complement system:
While executing a program, the computer is instructed to convert each number to its opposite sign; that is, change the +31 to –31 and change the –12 to +12. How will it do this?
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: