I also have to program embedded DSP.
In the beginning, I also use binary representation. However, after a while, I find hexadecimal to be a more "compact" and cleaner way to represent binary digits.
single digit hex number can represent 4 digits binary number.
0x0 = 0000
0x1 = 0001
0x2 = 0010
0x3 = 0011
...
0xD = 1101
0xE = 1110
0xF = 1111
2 digit hex number can represent 8 digits binary number (a char type)
So, if I want to represent 10000000_binary, I simply do 0x80
instead of type 8 digits, I typed 4 (including 0x)
Believe me, if you are going to mess with lots of binary values,
hexadecimal will be your friend.
Just spend some time to learning to do direct binary to hex translation in your head, and you will find yourself saving lots of time(and typing).
Also, when you communicate with fellow engineer, they prefer hex than binary.
Engineer A: "Hey, you forget to set the 4th digit of the register X, the register content should be four-ones-twentyfour-zero's-one-zero-zero-zero
(1111 0000 0000 0000 0000 0000 0000 1000)"
or
Engineer B: "Hey, you forget to set the 4th digit of the register X,
the register content should be (hex) F0000008"
It is worth it to learn hex number.