• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Riscv
          • Specification
            • Semantics
            • Features
            • Instructions
            • Encoding
            • States
            • Reads-over-writes
            • Semantics-equivalences
            • Decoding
              • Encoding-decoding-illustration
              • Decode
            • Execution
          • Executable
          • Specialized
          • Optimized
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Specification

Decoding

Decoding of instructions.

Instructions are encoded as specified in [ISA] and [ISAP], and as formalized in encoding. We declaratively define a decoder as non-executable inverse of the encoder; see decoding-executable for an equivalent executable decoder.

See encoding-decoding-illustration for an illustration of encoding and decoding.

Subtopics

Encoding-decoding-illustration
Illustration of instruction encoding and decoding.
Decode
Declarative definition of instruction decoding.