Skip to content

DisassemblyProject Class ​

Definition ​

A disassembly project: the file to disassemble plus the knowledge accumulated about it — entry points, labels and data regions — so a disassembly can be refined over repeated runs. Can be read from YAML with DisassemblyProjectReader or constructed directly.

c#
public sealed class DisassemblyProject

View source

Constructors ​

NameDescription
DisassemblyProject()

Properties ​

NameDescription
DataRegionsRanges known to contain data rather than code; output as DEFB rows and never traced into.
EntryPointsExtra entry points to disassemble from, merged with any from the input file such as a snapshot's program counter.
ExcludeBeforeExclude routines before this address. Defaults to $4000, the start of RAM on the ZX Spectrum.
InputThe file to disassemble, relative to the project directory.
LabelsLabels for known addresses.
OutputThe file to write the disassembly to, relative to the project directory. Written to the console if not set.

Methods ​

NameDescription
ToDisassemblerOptions()Creates the DisassemblerOptions for the project.