Solution to The Largest and Smallest magnitude twos complement numbers using 4 bits

Exercise

Using a 4 bit twos complement system, what’s the

  1. Largest +ve number ,
  2. Lowest  -ve number

That can be represented?

Solution

Notice that +ve numbers have a MSB of 0 and –ve numbers have a MSB of 1.

Therefore,

the largest magnitude +ve number is 01112  which is 7, and,

the largest magnitude –ve number is 1000 which is  -8.

© 2023  Vedesh Kungebeharry. All rights reserved. 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s