C# Class Assembler.Operand

Exibir arquivo 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_oe property

public bool Byte
return bool

Label public_oe property

public string Label
return string

Line public_oe property

public int Line
return int

OperandType public_oe property

public OperandType OperandType
return OperandType

Payload public_oe property

public short? Payload
return short?

Pointer public_oe property

public bool Pointer
return bool