C# Class FyreVM.Engine.CallStub

Represents a Glulx call stub, which describes the VM's state at the time of a function call or string printing task.
Exibir arquivo Open project: ChicagoDave/Zifmia

Public Properties

Property Type Description
DestAddr uint
DestType uint
FramePtr uint
PC uint

Public Methods

Method Description
CallStub ( uint destType, uint destAddr, uint pc, uint framePtr ) : System

Initializes a new call stub.

Method Details

CallStub() public method

Initializes a new call stub.
public CallStub ( uint destType, uint destAddr, uint pc, uint framePtr ) : System
destType uint The stub type.
destAddr uint The storage address or printing digit.
pc uint The address of the opcode or character at which to resume.
framePtr uint The stack frame pointer.
return System

Property Details

DestAddr public_oe property

The storage address (for function calls) or the digit being examined (for string printing).
public uint DestAddr
return uint

DestType public_oe property

The type of storage location (for function calls) or the previous task (for string printing).
public uint DestType
return uint

FramePtr public_oe property

The stack frame in which the function call or string printing was performed.
public uint FramePtr
return uint

PC public_oe property

The address of the opcode or character at which to resume.
public uint PC
return uint