14.2k views
3 votes
represent the following decimal numbers in binary using 8-bits signed magnitude representation. you must show your work to receive maximum points. (a) 71 (b) -71

User Dutchman
by
7.3k points

1 Answer

7 votes

Final answer:

To represent decimal numbers in binary using 8-bit signed magnitude representation, convert the absolute value of the decimal number to binary and set the most significant bit (MSB) to 0 if the number is positive, or 1 if it is negative.

Step-by-step explanation:

To represent decimal numbers in binary using 8-bit signed magnitude representation, follow these steps:

  1. Convert the absolute value of the decimal number to binary.
  2. If the decimal number is positive, the most significant bit (MSB) is set to 0. If it is negative, the MSB is set to 1.

For example:

(a) 71:
Step 1: Convert 71 to binary: 1000111
Step 2: Since 71 is positive, the MSB is 0.
Final representation: 01000111

(b) -71:
Step 1: Convert 71 to binary: 1000111
Step 2: Since 71 is negative, the MSB is 1.
Final representation: 11000111

User Josh The Geek
by
7.6k points