# Functions
NewCodeSegment constructs a CodeSegment value from a byte slice.
NewStaticConst returns the pointer to the new NewStaticConst for given bytes.
No description provided by the author
# Constants
ConditionalRegisterStateUnset is the only architecture-independent conditional state, and can be used to indicate that no conditional state is specified.
JumpTableMaximumOffset represents the limit on the size of jump table in bytes.
NilRegister is the only architecture-independent register, and can be used to indicate that no register is specified.
# Structs
BaseAssemblerImpl includes code common to all architectures.
Buffer is a reference type representing a section beginning at the end of a code segment where new instructions can be written.
CodeSegment represents a memory mapped segment where native CPU instructions are written.
JumpTableEntry is the necessary data to build a jump table.
StaticConst represents an arbitrary constant bytes which are pooled and emitted by assembler into the binary.
StaticConstPool holds a bulk of StaticConst which are yet to be emitted into the binary.
# Interfaces
AssemblerBase is the common interface for assemblers among multiple architectures.
Node represents a node in the linked list of assembled operations.
# Type aliases
ConditionalRegisterState represents architecture-specific conditional register's states.
ConstantValue represents a constant value used in an instruction.
Instruction represents architecture-specific instructions.
NodeOffsetInBinary represents an offset of this node in the final binary.
Register represents architecture-specific registers.