๐ 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