Simple Machine

machine
Class AbstractCPU.InternalState

java.lang.Object
  extended by machine.AbstractCPU.InternalState
Enclosing class:
AbstractCPU

public static class AbstractCPU.InternalState
extends Object

AbstractCPU internal state. Some of this is public for other parts of application, but this state should be treated as private by the implementors of concrete CPU subclasses.


Field Summary
static String CURRENT_INSTRUCTION_ADDRESS
          Name of register that stores the current instruction's address.
 AbstractMainMemory memImp
          Main memory.
static String PC
          Name of program-counter register (i.e., storing next instruction's address).
 Vector<RegisterSet> processorState
          Processor state registers.
 RegisterSet regFile
          General purpose register file.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

memImp

public final AbstractMainMemory memImp
Main memory.


regFile

public final RegisterSet regFile
General purpose register file.


processorState

public final Vector<RegisterSet> processorState
Processor state registers.


PC

public static final String PC
Name of program-counter register (i.e., storing next instruction's address).

See Also:
Constant Field Values

CURRENT_INSTRUCTION_ADDRESS

public static final String CURRENT_INSTRUCTION_ADDRESS
Name of register that stores the current instruction's address.

See Also:
Constant Field Values

Simple Machine

Copyright © 2010, 2011 Mike Feeley. All Rights Reserved.