1.2. Key Features
The assembler provides:
-
Bit-precise types using Lean 4's
BitVecforByte,Word, andDWord -
Full x86-32 register model including
Reg,ByteReg, andSegReg -
Comprehensive instruction encoding with ModR/M byte and SIB byte generation
-
Separation logic predicates via
SPredfor reasoning about memory and registers -
Multi-pass assembler with the
assemblefunction for forward reference resolution -
Control flow macros including
ifThenElse,X86.while, andproc -
Intel-style syntax via the
x86!macro for readable assembly programs