I've been using the Windows calculator which has a "programmer" mode but it sucks.
For example, it suppresses leading zeros, cannot be set to a particular bit length and so on. Is there any kind online programmer calculator that can support these features?
I'd like to enter say 003F4C and have that tell the calculator that I'm dealing with a three byte number and that all results should be displayed as a three byte number and any leading zeros should be displayed.
Look:

I entered 00402D04 32 bits, but look at that binary representation, it is not 32 bits and trying to mentally line up the bits with real bit positions is very taxing, particularly if I'm starting from the left, the MSB.
The use the bitwise NOT operation, and here's how it looks:

It has immediately started to treat the value as 64 bits.
For example, it suppresses leading zeros, cannot be set to a particular bit length and so on. Is there any kind online programmer calculator that can support these features?
I'd like to enter say 003F4C and have that tell the calculator that I'm dealing with a three byte number and that all results should be displayed as a three byte number and any leading zeros should be displayed.
Look:

I entered 00402D04 32 bits, but look at that binary representation, it is not 32 bits and trying to mentally line up the bits with real bit positions is very taxing, particularly if I'm starting from the left, the MSB.
The use the bitwise NOT operation, and here's how it looks:

It has immediately started to treat the value as 64 bits.
Attachments
-
78.2 KB Views: 1
Last edited:
