C# Class VM.Operand

Show file Open project: Rohansi/VM Class Usage Examples

Public Methods

Method Description
Change ( int operandType, bool isPointer, bool isByte, short payloadValue ) : void
Get ( bool resolvePtr = true, bool overrideByte = false ) : short
Operand ( VirtualMachine machine ) : System
Set ( short value ) : void
ToString ( ) : string

Private Methods

Method Description
PreserveUpper ( short newValue, short originalValue, bool isByte ) : short

Method Details

Change() public method

public Change ( int operandType, bool isPointer, bool isByte, short payloadValue ) : void
operandType int
isPointer bool
isByte bool
payloadValue short
return void

Get() public method

public Get ( bool resolvePtr = true, bool overrideByte = false ) : short
resolvePtr bool
overrideByte bool
return short

Operand() public method

public Operand ( VirtualMachine machine ) : System
machine VirtualMachine
return System

Set() public method

public Set ( short value ) : void
value short
return void

ToString() public method

public ToString ( ) : string
return string