• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
      • X86isa
        • Program-execution
        • Sdm-instruction-set-summary
        • Tlb
        • Running-linux
        • Introduction
        • Asmtest
        • X86isa-build-instructions
        • Publications
        • Contributors
        • Machine
          • X86isa-state
          • Syscalls
          • Cpuid
          • Linear-memory
          • Rflag-specifications
          • Characterizing-undefined-behavior
          • Top-level-memory
          • App-view
          • X86-decoder
          • Physical-memory
          • Decoding-and-spec-utils
            • Read-operands-and-write-results
            • Effective-address-computations
            • Select-operand-size
            • Instruction-pointer-operations
            • Stack-pointer-operations
            • Select-segment-register
            • Prefix-modrm-sib-decoding
              • Modr/m-decoding
                • Modr/m-structures
                  • Modr/m
                  • Modr/m-equiv-under-mask
                  • Modr/m-debug
                  • Three-byte-opcode-modr/m-p
                  • 64-bit-mode-0f-3a-three-byte-opcode-modr/m-p
                  • 64-bit-mode-0f-38-three-byte-opcode-modr/m-p
                  • 32-bit-mode-0f-3a-three-byte-opcode-modr/m-p
                  • 32-bit-mode-0f-38-three-byte-opcode-modr/m-p
                  • 64-bit-mode-two-byte-opcode-modr/m-p
                  • 32-bit-mode-two-byte-opcode-modr/m-p
                  • Two-byte-opcode-modr/m-p
                  • Show-no-modr/m-insts
                  • 64-bit-mode-one-byte-opcode-modr/m-p
                  • 32-bit-mode-one-byte-opcode-modr/m-p
                  • Vex-opcode-modr/m-p
                  • One-byte-opcode-modr/m-p
                • Mandatory-prefixes-computation
                • Modr/m-detection
                • Legacy-prefixes-decoding
                • Compute-mandatory-prefix-for-three-byte-opcode
                • 64-bit-compute-mandatory-prefix-for-0f-3a-three-byte-opcode
                • 64-bit-compute-mandatory-prefix-for-0f-38-three-byte-opcode
                • 32-bit-compute-mandatory-prefix-for-0f-3a-three-byte-opcode
                • 32-bit-compute-mandatory-prefix-for-0f-38-three-byte-opcode
                • 64-bit-compute-mandatory-prefix-for-two-byte-opcode
                • 32-bit-compute-mandatory-prefix-for-two-byte-opcode
                • Instructions-with-mandatory-prefixes
                • Compute-mandatory-prefix-for-0f-3a-three-byte-opcode
                • Compute-mandatory-prefix-for-0f-38-three-byte-opcode
                • Compute-mandatory-prefix-for-two-byte-opcode
              • Select-address-size
              • Rex-byte-from-vex-prefixes
              • Check-instruction-length
              • Error-objects
              • Rip-guard-okp
              • Sib-decoding
            • Instructions
            • Register-readers-and-writers
            • X86-modes
            • Segmentation
            • Other-non-deterministic-computations
            • Environment
            • Paging
          • Implemented-opcodes
          • To-do
          • Proof-utilities
          • Peripherals
          • Model-validation
          • Modelcalls
          • Concrete-simulation-examples
          • Utils
          • Debugging-code-proofs
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Modr/m-structures

    Modr/m-debug

    Signature
    (modr/m-debug x) → *
    Arguments
    x — Guard (modr/m-p x).

    Definitions and Theorems

    Function: modr/m-debug$inline

    (defun modr/m-debug$inline (x)
      (declare (xargs :guard (modr/m-p x)))
      (b* (((modr/m x)))
        (cons (cons 'r/m x.r/m)
              (cons (cons 'reg x.reg)
                    (cons (cons 'mod x.mod) nil)))))