Binary octal and hex arithmetic operations