X86_procDefinitions shared between the 32 and 64 bit Intel backends.
Helpers for textual emitters
val string_of_reg8l : X86_ast.reg64 -> stringval string_of_reg8h : X86_ast.reg8h -> stringval string_of_reg16 : X86_ast.reg64 -> stringval string_of_reg32 : X86_ast.reg64 -> stringval string_of_reg64 : X86_ast.reg64 -> stringval string_of_registerf : X86_ast.registerf -> stringval string_of_condition : X86_ast.condition -> stringval string_of_rounding : X86_ast.rounding -> stringval buf_bytes_directive : Buffer.t -> string -> string -> unitBuffer of assembly code
val emit : X86_ast.instruction -> unitval directive : X86_ast.asm_line -> unitCode emission
val generate_code : (X86_ast.asm_line list -> unit) option -> unitPost-process the stream of instructions. Dump it (using the provided syntax emitter) in a file (if provided) and compile it with an internal assembler (if registered through register_internal_assembler).
Generate an object file corresponding to the last call to generate_code. An internal assembler is used if available (and the input file is ignored). Otherwise, the source asm file with an external assembler.
System detection
val system : systemSupport for plumbing a binary code emitter
val register_internal_assembler : (X86_ast.asm_program -> string -> unit) -> unit