All I know is that when a number is negative, you convert the decimal into binary and if it is negative you put 1111 before the binary digits.
The binary number 10101000 = 168
5 bits are 5 binary digits. If they represent a decimal number, then that number can be anything from zero to 31, and can have either 1 or 2 digits.
The largest decimal number is binary 11111, which is decimal 31.
The binary number 10000000 represents the decimal 128
The binary equivalent for the decimal number 23 is 10111
That's not a binary number ! Binary numbers can only use the digits 1 and 0.
56 in binary is 111000. Unlike the decimal number system where we use the digits.