Hexadezimal

Basis-16-System (0-F)—kompakte Darstellung von Binärdaten.

Hexadecimal (hex) is a base-16 numeral system using 16 symbols: 0-9 for values 0-9, and A-F for values 10-15. Each hex digit represents exactly 4 binary bits, making it a convenient shorthand for binary.

Conversion:
- Binary to Hex: Group bits in fours, convert each group
- Example: 1101 0101₂ = D5₁₆

Common uses:
- Memory addresses: 0x7FFF0000
- Colors: #FF5733 (RGB)
- MAC addresses: 00:1A:2B:3C:4D:5E

        graph LR
  Center["Hexadezimal"]:::main
  Pre_binary["binary"]:::pre --> Center
  click Pre_binary "/terms/binary"
  Rel_binary["binary"]:::related -.-> Center
  click Rel_binary "/terms/binary"
  Rel_byte["byte"]:::related -.-> Center
  click Rel_byte "/terms/byte"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 Erkläre es wie einem 5-Jährigen

Stell dir vor, du zählst mit 16 verschiedenen Symbolen statt 10. Nach 9 verwenden wir Buchstaben: A=10, B=11, bis F=15. Es ist eine Abkürzung für lange Binärzahlen—wie Abkürzungen für lange Wörter!

🤓 Expert Deep Dive

Das Debuggen von Speicher stützt sich stark auf Hex-Dumps. Die x86-Befehlskodierung verwendet Hex-Opcodes. UUID-Format: 8-4-4-4-12 Hex-Gruppen (insgesamt 128 Bits). SHA-256 erzeugt 64 Hexadezimalzeichen.

🔗 Verwandte Begriffe

Voraussetzungen:

📚 Quellen