1 个仓库
Engines that translate assembly definitions into binary machine code and manage register allocation during execution.
Distinguishing note: Candidates focus on decoding, OS runtimes, or bytecode, rather than a runtime machine code assembler engine.
Explore 1 awesome GitHub repository matching operating systems & systems programming · Runtime Assemblers. Refine with filters or upvote what's useful.
AsmJit 是一个运行时机器码生成器和 JIT 编译器后端,将高级定义转换为可执行的处理器指令。它提供了一个统一的指令发射 API 和一个可执行内存管理器,用于跨多个 CPU 架构分配和保护虚拟内存页。 该库作为 x86 和 ARM 的汇编引擎,通过统一的后端支持跨平台汇编生成。它能够在保持单一代码库的同时,为不同的 CPU 创建优化的机器码。 该项目涵盖了低级系统抽象,包括寄存器分配、架构特定的调用约定和动态二进制插桩。它使用基于标签的偏移解析和直接缓冲发射,管理中间表示到二进制代码的转换。
Implements an assembly engine that produces target-specific binary code and manages CPU register allocation.