Assembler.assemble

This routine takes a string of assembly code and produces the bytecode corresponding to it.

class Assembler
ubyte[]
assemble
(
ref string assemblyCode
)

Parameters

assemblyCode
Type: string

The assembly code

Return Value

Type: ubyte[]

The bytecode resulting from compiling the assembly code.

Throws

AssemblerError if an error is encountered during assembly.

Meta