十六進法

基数16システム(0-F)—バイナリのコンパクトな表現。

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["十六進法"]:::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;

      

🧒 5歳でもわかるように説明

10ではなく16種類の記号で数えることを想像してください。9の後は文字を使います:A=10、B=11、F=15まで。長いバイナリ数のショートカットです—長い言葉の略語を使うようなものです!

🤓 Expert Deep Dive

メモリデバッグは16進ダンプに大きく依存しています。x86命令エンコーディングは16進オペコードを使用します。UUID形式:8-4-4-4-12の16進グループ(合計128ビット)。SHA-256は64文字の16進文字を生成します。

🔗 関連用語

前提知識:

📚 出典