Convert every 3 binary digits (start from bit 0) to 1 octal digit, with this table:
Binary | Octal |
---|---|
000 | 0 |
001 | 1 |
010 | 2 |
011 | 3 |
100 | 4 |
101 | 5 |
110 | 6 |
111 | 7 |
Convert binary 11011002 to octal:
Convert every 3 binary bits (from bit0) to octal digit:
11011002 = 1 101 100 = 1 5 4 = 1548