Skip to content
๐Ÿ“ Data Unit Sizes

๐Ÿ“ Data Unit Sizes

๐Ÿ”น Nibble

  • Bits: 4
  • Max value: 15 (0xF in hex)
  • Notes: Fits exactly one hexadecimal digit.

๐Ÿ”น Byte

  • Bits: 8 (2 nibbles)
  • Max value: 255 (0xFF)
  • Notes: Standard smallest addressable unit of memory in most systems.

๐Ÿ”น Word

  • Bits: 16 (2 bytes)
  • Max value: 65,535 (0xFFFF)
  • Notes: Historically the native register size of older CPUs.

๐Ÿ”น Double Word (DWORD)

  • Bits: 32 (2 words)
  • Max value: ~4.29 billion (0xFFFFFFFF)
  • Notes: Common in 32โ€‘bit architectures for registers, addresses, and data.

๐Ÿ”น Quad Word (QWORD)

  • Bits: 64 (2 double words)
  • Max value: ~1.84ร—10ยนโน (0xFFFFFFFFFFFFFFFF)
  • Notes: Native integer and pointer size in 64โ€‘bit architectures.

๐Ÿงฉ Relationships

  • nibble โ†’ byte โ†’ word โ†’ dword โ†’ qword 4 โ†’ 8 โ†’ 16 โ†’ 32 โ†’ 64 (doubling each step)
  • Each step = ร—2 width = doubles potential representable values.
Last updated on