Versions in this module Expand all Collapse all v0 v0.0.2 Oct 19, 2025 Changes in this version + func ArchOptions() []string + func ModeOptions() []string + func SyntaxOptions() []string v0.0.1 Oct 19, 2025 Changes in this version + const API_MAJOR + const API_MINOR + type Arch = uint + const ARCH_ARM + const ARCH_ARM64 + const ARCH_EVM + const ARCH_HEXAGON + const ARCH_MAX + const ARCH_MIPS + const ARCH_PPC + const ARCH_RISCV + const ARCH_SPARC + const ARCH_SYSTEMZ + const ARCH_X86 + func StringToArch(arch string) Arch + type Engine struct + func NewEngine(arch Arch, mode Mode) (*Engine, error) + func (e *Engine) Assemble(src string, addr uint64) ([]byte, error) + func (e *Engine) Close() error + func (e *Engine) Option(typ OptionType, val OptionValue) error + func (e *Engine) Version() string + type Error = uint32 + const ERR_ARCH + const ERR_ASM + const ERR_ASM_ARCH + const ERR_ASM_DIRECTIVE_COMMA + const ERR_ASM_DIRECTIVE_EQU + const ERR_ASM_DIRECTIVE_FPOINT + const ERR_ASM_DIRECTIVE_ID + const ERR_ASM_DIRECTIVE_INVALID + const ERR_ASM_DIRECTIVE_RELOC_NAME + const ERR_ASM_DIRECTIVE_RELOC_TOKEN + const ERR_ASM_DIRECTIVE_STR + const ERR_ASM_DIRECTIVE_TOKEN + const ERR_ASM_DIRECTIVE_UNKNOWN + const ERR_ASM_DIRECTIVE_VALUE_RANGE + const ERR_ASM_ESC_BACKSLASH + const ERR_ASM_ESC_OCTAL + const ERR_ASM_ESC_SEQUENCE + const ERR_ASM_ESC_STR + const ERR_ASM_EXPR_BRACKET + const ERR_ASM_EXPR_TOKEN + const ERR_ASM_FIXUP_INVALID + const ERR_ASM_FRAGMENT_INVALID + const ERR_ASM_INSN_UNSUPPORTED + const ERR_ASM_INVALIDOPERAND + const ERR_ASM_INVALID_OPERAND + const ERR_ASM_LABEL_INVALID + const ERR_ASM_MACRO_ARGS + const ERR_ASM_MACRO_EQU + const ERR_ASM_MACRO_INVALID + const ERR_ASM_MACRO_LEVELS_EXCEED + const ERR_ASM_MACRO_PAREN + const ERR_ASM_MACRO_STR + const ERR_ASM_MACRO_TOKEN + const ERR_ASM_MISSINGFEATURE + const ERR_ASM_MISSING_FEATURE + const ERR_ASM_MNEMONICFAIL + const ERR_ASM_MNEMONIC_FAIL + const ERR_ASM_RPAREN + const ERR_ASM_STAT_TOKEN + const ERR_ASM_SYMBOL_MISSING + const ERR_ASM_SYMBOL_MODIFIER + const ERR_ASM_SYMBOL_REDEFINED + const ERR_ASM_TOKEN_INVALID + const ERR_ASM_UNSUPPORTED + const ERR_ASM_VARIANT_INVALID + const ERR_HANDLE + const ERR_MODE + const ERR_NOMEM + const ERR_OK + const ERR_OPT_INVALID + const ERR_VERSION + type Mode = uint + const MODE_16 + const MODE_32 + const MODE_64 + const MODE_ARM + const MODE_BIG_ENDIAN + const MODE_LITTLE_ENDIAN + const MODE_MICRO + const MODE_MIPS3 + const MODE_MIPS32 + const MODE_MIPS32R6 + const MODE_MIPS64 + const MODE_PPC32 + const MODE_PPC64 + const MODE_QPX + const MODE_RISCV32 + const MODE_RISCV64 + const MODE_SPARC32 + const MODE_SPARC64 + const MODE_THUMB + const MODE_V8 + const MODE_V9 + func StringToMode(mode string) Mode + type OptionType = uint + const OPT_SYM_RESOLVER + const OPT_SYNTAX + type OptionValue = uint + const OPT_SYNTAX_ATT + const OPT_SYNTAX_GAS + const OPT_SYNTAX_INTEL + const OPT_SYNTAX_MASM + const OPT_SYNTAX_NASM + const OPT_SYNTAX_RADIX16 + func StringToSyntax(syntax string) OptionValue