Header menu logo B2R2

Assembler Type

Represents the main assembler class that can lower assembly code into binary instructions.

Constructors

Constructor Description

Assembler(isa, startAddress)

Full Usage: Assembler(isa, startAddress)

Parameters:
Returns: Assembler
isa : ISA
startAddress : Addr
Returns: Assembler

Instance members

Instance member Description

this.Lower

Full Usage: this.Lower

Parameters:
    asm : string

Returns: Result<byte[] list, string>

Lowers the given assembly string down to a list of byte arrays, where each array corresponds to a binary instruction.

asm : string
Returns: Result<byte[] list, string>

this.StartAddress

Full Usage: this.StartAddress

Returns: Addr

The start address of the binary instructions.

Returns: Addr

Type something to start searching.