Skip to content

Dialect Record

Definition

The symbols an assembly dialect uses for the pieces of syntax that vary between assemblers. The defaults are for Z80 assembly.

public sealed record Dialect : IEquatable<Dialect>

View source

Constructors

Name Description
Dialect()

Properties

Name Description
AllowShadowIdentifiers Whether identifiers can end with a shadow marker, e.g. the Z80's AF'. Defaults to true.
CurrentLocationSymbol The symbol for the current location in an expression, e.g. the $ in JR $. Defaults to $.
HexPrefix The prefix for hexadecimal literals, e.g. the $ in $FF. 0x is always supported too. Defaults to $.
Z80 The dialect for Z80 assembly.