• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • 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
          • Instructions
          • Register-readers-and-writers
            • Zmms-reads-and-writes
            • Gprs-reads-and-writes
              • Wr08
              • Wr16
              • Rr08
              • Wr32
              • !rgfi-size
              • Rgfi-size
              • Rr64
              • Wr64
                • Rr32
                • Rr16
              • Mmx-registers-reads-and-writes
              • Xmms-reads-and-writes
              • Rflags-reads-and-writes
              • Gpr-indices
              • Vex-vvvv-reg-index
              • Msr-reads-and-writes
              • Ctr-reads-and-writes
            • 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
    • Gprs-reads-and-writes

    Wr64

    Write to quadword general-purpose registers

    Signature
    (wr64 reg val x86) → x86

    This function is used only in 64-bit mode.

    Definitions and Theorems

    Function: wr64$inline

    (defun wr64$inline (reg val x86)
      (declare (xargs :stobjs (x86)))
      (declare (type (unsigned-byte 4) reg)
               (type (unsigned-byte 64) val))
      (b* ((x86 (!rgfi reg (n64-to-i64 val) x86)))
        x86))

    Theorem: x86p-wr64

    (defthm x86p-wr64
      (implies (x86p x86)
               (x86p (wr64 reg val x86))))