sim
Interface Memory

All Known Implementing Classes:
BlockDevice, CharacterDevice, MemoryMap, RAM

interface Memory

Every memory device must implement this interface.


Method Summary
 void doCycle()
           
 int getSize()
           
 void initialize()
           
 byte readByte(int address)
           
 int readWord(int address)
           
 void writeByte(int address, byte b)
           
 void writeWord(int address, int value)
           
 

Method Detail

readWord

public int readWord(int address)

writeWord

public void writeWord(int address,
                      int value)

readByte

public byte readByte(int address)

writeByte

public void writeByte(int address,
                      byte b)

getSize

public int getSize()

doCycle

public void doCycle()

initialize

public void initialize()