Hex / Bitfield Decoder
Decode any hex register value into its constituent bit fields with a visual bit map. Define custom fields or use presets.
Input
Bit Map (16-bit)
0x8A40353921000101001000000Decoded Fields
Example input:
0x8A40 (16-bit) → ENABLE[15]=1, MODE[14:12]=0xA, STATUS[11:8]=0x4, COUNT[7:0]=0x40Results
Engineering Notes
Bit Numbering Convention
This tool uses the standard convention where bit 0 is the least significant bit (rightmost). For a 32-bit register, bits are numbered 31 (MSB) down to 0 (LSB). This matches most hardware datasheets including JEDEC, PCI-SIG, and NVM Express specifications.
Hex Value Format
Enter hex values with or without the 0x prefix. For example, 0x8A40 and 8A40 are both valid. The tool automatically validates that all characters are valid hexadecimal digits (0-9, A-F, a-f).
Common Mistakes
Using decimal instead of hex input
Reversed MSB and LSB
Frequently Asked Questions
Related Tools
Calculate raw and effective PCIe bandwidth for Gen1 through Gen6 with configurable lanes, encoding, and protocol overhead.
Paste LTSSM state logs to analyze transitions, detect repeated recovery events, and get engineering debug guidance.
Compute CRC8, CRC16, CRC32, XOR, and sum checksums with configurable polynomial for hex or ASCII input.