Defines a symbol with a value.
Namespace: SharpAssembler.Core.InstructionsAssembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public class Define : Constructable, IIdentifiable, IAssociatable |
Visual Basic |
---|
Public Class Define _ Inherits Constructable _ Implements IIdentifiable, IAssociatable |
Visual C++ |
---|
public ref class Define : public Constructable, IIdentifiable, IAssociatable |
Remarks
Whereas a Label is a reference to a particular location in the file, a Define is
more like the EQU in NASM and defines a symbol to have a particular value.
Contracts
Invariants |
---|
this.identifier != null |
this.expression != null |
Enum.IsDefined(typeof(LabelType), this.labelType) |
this.associatedSymbol != null |
Inheritance Hierarchy
System..::..Object
SharpAssembler.Core..::..Constructable
SharpAssembler.Core.Instructions..::..Define
SharpAssembler.Core..::..Constructable
SharpAssembler.Core.Instructions..::..Define