Overview of AsmTK features
masterAsmTK is an assembler toolkit built on top of AsmJit, designed primarily for AOT (Ahead-Of-Time) code generation. Key capabilities include:
- Runtime Architecture Selection: Supports both X86 and X64 modes that can be selected at runtime, independent of how the application was compiled.
- Comprehensive Parsing: The
AsmParsersupports all AsmJit instruction sets and named labels. - Instruction Aliases: Provides extra instruction aliases (like
movsb,cmpsb,sal) that are recognized by the parser, whereas AsmJit typically provides only the generic versions (likemovs,cmps). - Flexible Emission: Assembles to any
BaseEmitter, allowing you to switch betweenAssemblerandBaseBuilderat runtime and perform post-processing on the results.