Emulator.Global
Class Emulator
java.lang.Object
Emulator.Global.Emulator
- All Implemented Interfaces:
- Constants
public class Emulator
- extends java.lang.Object
- implements Constants
**********************
Created By: Yuval Tzur
Date: 14/12/12
Time: 18:32
Description: The emulator contains the main function.
The main function runs the emulation on the system.
The main function will create the GUI and wil function according to the user's commands.
***********************
Fields inherited from interface Emulator.Global.Constants |
_0, _1, AC, ADDR_REGISTER_SIZE, ALU, ALU_IN0, ALU_IN1, ALU_OUT, AR, BUS, BUS_SIZE, DATA_COMPONENTS, DATA_REGISTER_SIZE, DATA_TABLE_SIZE, DR, E, FGI, FGO, I, IEN, INPR, IO_REGISTER_SIZE, IR, M, MEMORY_SIZE, OUTR, PC, R, S, TARGET_REACHED, TIMEOUT, TIMER, TIMER_LIMIT, TR, TR0, TR1, UNREACHABLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Emulator
public Emulator()
run
public boolean run(boolean uCode)
assemble
public void assemble()
getSystemComponent
public java.lang.String getSystemComponent(int componentID)
getCycleDescription
public java.lang.String getCycleDescription()
getAssemblyCommand
public java.lang.String getAssemblyCommand()
getSystemMemory
public java.lang.String[][] getSystemMemory()
reset
public void reset()
stopProgram
public void stopProgram()
notifyInput
public void notifyInput()
notifyOutput
public void notifyOutput()
getProgram
public void getProgram()
loadTemplate
public void loadTemplate(java.lang.String templateName)
throws java.lang.Exception,
java.lang.Error
- Throws:
java.lang.Exception
java.lang.Error
loadDefaultTemplate
public void loadDefaultTemplate()