C# Class OISC_VM.MemoryController

Inheritance: IMemoryBus
Mostra file Open project: Creou/OISCVM Class Usage Examples

Public Methods

Method Description
FetchInstrucitonOperands ( long memoryLocation ) : InstructionOperands
LoadProgram ( String fileName ) : void
LoadProgram ( String fileName, IEnumerable programArguments ) : void
MemoryController ( ) : System
ReadData ( long memoryLocation ) : long
ReadDataRange ( long rangeStart, long rangeLength ) : byte[]
ResetData ( long memoryLocation ) : void
WriteData ( long memoryLocation, long value ) : void

Private Methods

Method Description
DebugWrite ( ) : void
OnMemoryChanged ( long memoryLocation, long value ) : void
WriteData ( long memoryLocation, long value, bool notifyMemoryChanged ) : void

Method Details

FetchInstrucitonOperands() public method

public FetchInstrucitonOperands ( long memoryLocation ) : InstructionOperands
memoryLocation long
return InstructionOperands

LoadProgram() public method

public LoadProgram ( String fileName ) : void
fileName String
return void

LoadProgram() public method

public LoadProgram ( String fileName, IEnumerable programArguments ) : void
fileName String
programArguments IEnumerable
return void

MemoryController() public method

public MemoryController ( ) : System
return System

ReadData() public method

public ReadData ( long memoryLocation ) : long
memoryLocation long
return long

ReadDataRange() public method

public ReadDataRange ( long rangeStart, long rangeLength ) : byte[]
rangeStart long
rangeLength long
return byte[]

ResetData() public method

public ResetData ( long memoryLocation ) : void
memoryLocation long
return void

WriteData() public method

public WriteData ( long memoryLocation, long value ) : void
memoryLocation long
value long
return void