asmjit::a64::Assembler Class Reference
Inheritance diagram for asmjit::a64::Assembler:
asmjit::BaseAssembler asmjit::a64::EmitterExplicitT< Assembler > asmjit::BaseEmitter

AArch64 assembler implementation.

Public Types

- Public Types inherited from asmjit::BaseAssembler

Member Functions

Construction / Destruction
Accessors
Emit
Align
Events
- Public Member Functions inherited from asmjit::BaseAssembler
- Public Member Functions inherited from asmjit::BaseEmitter
- Public Member Functions inherited from asmjit::a64::EmitterExplicitT< Assembler >

Additional Inherited Members

- Public Attributes inherited from asmjit::BaseAssembler
- Public Attributes inherited from asmjit::BaseEmitter
- Protected Member Functions inherited from asmjit::a64::EmitterExplicitT< Assembler >

Member Function Documentation

bool a64::Assembler::isInThumbMode() constnoexcept

Gets whether the current ARM mode is THUMB (alternative to 32-bit ARM encoding).

uint32_t a64::Assembler::codeAlignment() constnoexcept

Gets the current code alignment of the current mode (ARM vs THUMB).

Error a64::Assembler::align(AlignMode alignMode, uint32_t alignment)override

Aligns the current CodeBuffer position to the alignment specified.

The sequence that is used to fill the gap between the aligned location and the current location depends on the align mode, see AlignMode. The alignment argument specifies alignment in bytes, so for example when it's 32 it means that the code buffer will be aligned to 32 bytes.

Implements asmjit::BaseEmitter.

Error a64::Assembler::onAttach(CodeHolder* code)overridenoexcept

Called after the emitter was attached to CodeHolder.

Implements asmjit::BaseEmitter.

Error a64::Assembler::onDetach(CodeHolder* code)overridenoexcept

Called after the emitter was detached from CodeHolder.

Implements asmjit::BaseEmitter.