namespace WhiteMagic.Assembly; /// /// Abstraction over an x86/x64 assembler. The default /// hand-emits calling-convention trampolines (no parsing, zero dep). An optional /// (Phase 8) handles arbitrary mnemonics via the Iced /// library. /// /// /// This seam covers text assembly only (). Call-stub building /// (BuildCallStub, EmitU8/EmitU32/EmitU64) is a /// capability — not all backends need it. /// public interface IAssembler { /// /// Assembles text mnemonics into machine code. /// /// The assembly text (Intel syntax). /// The base address for relative encodings. byte[] Assemble(string assemblyText, ulong origin = 0); }