x-lang

← Index

x/asm

Data-driven assembler with JIT execution via mmap; the buffers it emits into are x/tool/asm-code’s.

reg

imm

mem

label

asm-emit!

asm-label!

asm-patch!

asm-pos

asm-labels

asm-patch-at!

asm-unresolved!

asm-backend?

Whether the assembler can emit for this machine: what a module that emits code at load asks before it does, since asm-emit! refuses where there is no backend.

Returns: BOOL — Whether this platform has an assembler backend