Hex / binary / decimal conversion utill - old forum post



Joined on 12-01-2003
Optomation Systems, Madrid, Spain
Posts 153
Useful Utility for “Bit Twiddlers”

The PACControl development environment allows variable display to be switched between Binary Integer, Hex Integer and Hex String. This is especially important when dealing with Scratchpad Memory Addresses and Logical Bit Operators on 32 and 64 Bit values.

When preparing bitmasks etc, “Mr Gates’s Calculator” does not help in the convertion due to its interpretation of the MostSignificantBit. Base Converter is a simple freeware application available from http://www.bttsoftware.co.uk which converts numbers between three different bases - Hexadecimal, Decimal and Binary.

Just type the value into the appropriate field, and the corresponding values will be displayed in the other supported bases, for copypasting into the PACControl /OptoControl instruction.