CSC373/406: C: Hex [31/42] Previous pageContentsNext page

Computer organization is based on the byte

 4 bits == nibble
 8 bits == byte
32 bits == word (32 bit machine)
64 bits == word (64 bit machine)

 ----------------------
 DECIMAL | HEX | BINARY
 --------|-----|-------
       0 |   0 |  0000
       1 |   1 |  0001
       2 |   2 |  0010
       3 |   3 |  0011
         |     |
       4 |   4 |  0100
       5 |   5 |  0101
       6 |   6 |  0110
       7 |   7 |  0111
         |     |
       8 |   8 |  1000
       9 |   9 |  1001
      10 |   A |  1010
      11 |   B |  1011
         |     |
      12 |   C |  1100
      13 |   D |  1101
      14 |   E |  1110
      15 |   F |  1111

Previous pageContentsNext page