Skip to main content

Assembler

Type Alias Assembler 

Source
type Assembler = Assembler<X64Relocation, BUFFER_CAPACITY>;
Expand description

Architecture-specific specialization of the Assembler

Aliased Type§

struct Assembler {
    buffer: ArrayVec<u8, 8904>,
    target: Option<AssemblyOffset>,
    phantom: PhantomData<SimpleRelocation>,
}

Fields§

§buffer: ArrayVec<u8, 8904>

Temporary fixed capacity buffer for assembling code

§target: Option<AssemblyOffset>

Address of the last “target” label, if any

§phantom: PhantomData<SimpleRelocation>

Relocations are applied immediately and not stored.