Sunteți pe pagina 1din 6

Number Systems

Home work

Home Work

Convert the following


Binary 1110112 0000112 010101002
A9E16

Decimal 5510

Hexadecimal

19910

Registers

If we have a 5 bit register the maximum number of bits it can store is 5 Since it can hold 5bits we could have 25 combinations (32)
The range of the register would be 0 25-1 = 0 - 31

Home Work
Find the following for registers A, B and C 1. How many bits would each one hold? 2. How many combinations could be made in each register? 3. What would the range of numbers be for each one?

A. 10 B. 8 C. 14

Home work
1110+ 1111 0101+ 0110 1101+ 0100

0101+ 0111

1000+ 1001

1110+ 1010

Home Work

Convert the following negative numbers into binary using ones and twos complement;
Twos Complement

Decimal Binary Ones Complement


5610

8910
6710

2110
4910

S-ar putea să vă placă și