C# Class Assembler.Operand

Show file Open project: Rohansi/VM Class Usage Examples

Public Properties

Property Type Description
Byte bool
Label string
Line int
OperandType OperandType
Payload short?
Pointer bool

Public Methods

Method Description
FromLabel ( string label, int line, bool ptr, bool b ) : Operand
FromNumber ( short number, bool ptr, bool b ) : Operand
FromRegister ( Registers register, bool ptr, bool b ) : Operand

Method Details

FromLabel() public static method

public static FromLabel ( string label, int line, bool ptr, bool b ) : Operand
label string
line int
ptr bool
b bool
return Operand

FromNumber() public static method

public static FromNumber ( short number, bool ptr, bool b ) : Operand
number short
ptr bool
b bool
return Operand

FromRegister() public static method

public static FromRegister ( Registers register, bool ptr, bool b ) : Operand
register Registers
ptr bool
b bool
return Operand

Property Details

Byte public property

public bool Byte
return bool

Label public property

public string Label
return string

Line public property

public int Line
return int

OperandType public property

public OperandType OperandType
return OperandType

Payload public property

public short? Payload
return short?

Pointer public property

public bool Pointer
return bool