🧮 Hex to Memory Offsets

Hexadecimal to Memory Offsets

Examples:
  0x100000000                  Hex value
  0xFFFF FFFF FFFF FFFF        Hex with spaces
  0x1000_0000                  Hex with underscores
  0xFFFE8000 + 0x00018000      Addition of hex values
  0x100000000 - 0x1000         Subtraction of hex values
  0xFEC00000 + 64K + 2MB       Mix of hex and size units
  4GB - 16KB                   Subtraction with size units
  4GB                          Size unit alone
  64K, 2M, 1G, 3T, 512B        Short suffixes
  64KB, 2MB, 1GB, 3TB          Long suffixes
Features
• Parse hex values with 0x prefix, spaces, and underscores (e.g. 0xFFFF_FFFF)
• Arithmetic expressions with + and - operators (e.g. 0xFEC00000 + 0x18000)
• Size unit support: B, KB, MB, GB, TB and short forms K, M, G, T
• Mix hex values and size units in expressions (e.g. 4GB - 16KB)
• Size breakdown into TB, GB, MB, KB, and Bytes
• Distance to next power of 2
• Signed interpretation for 8, 16, 32, and 64-bit widths
• Multiple calculator sections — click + to add more