|
|||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Package edu.cornell.cs.sam.core |
---|
Class edu.cornell.cs.sam.core.AssemblerException extends java.lang.Exception implements Serializable |
---|
Serialized Fields |
---|
java.lang.String message
int line
Class edu.cornell.cs.sam.core.SamProgram extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.util.List<E> instructions
SymbolTable syms
ReferenceTable refs
Class edu.cornell.cs.sam.core.SamReferenceTable extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.util.HashMap<K,V> references
Class edu.cornell.cs.sam.core.SamSymbolTable extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.util.HashMap<K,V> sym2adr
java.util.HashMap<K,V> adr2sym
Class edu.cornell.cs.sam.core.SystemException extends java.lang.Exception implements Serializable |
---|
Serialized Fields |
---|
java.lang.String message
Package edu.cornell.cs.sam.core.instructions |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_ADD extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_ADDF extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_ADDSP extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_AND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_BITAND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_BITNAND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_BITNOR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_BITNOT extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_BITOR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_BITXOR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_CMP extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_CMPF extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_DIV extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_DIVF extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_DUP extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_EQUAL extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_FREE extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_FTOI extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_FTOIR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_GREATER extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_ISNEG extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_ISNIL extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_ISPOS extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_ITOF extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_JSR extends SamAddressInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_JSRIND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_JUMP extends SamAddressInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_JUMPC extends SamAddressInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_JUMPIND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_LESS extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_LINK extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_LSHIFT extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_LSHIFTIND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_MALLOC extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_MOD extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_NAND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_NOR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_NOT extends SAM_ISNIL implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_OR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_POPFBR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_POPSP extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHABS extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHFBR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHIMM extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHIMMCH extends SamCharInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHIMMF extends SamFloatInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHIMMMA extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHIMMPA extends SamAddressInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHIMMSTR extends SamStringInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHIND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHOFF extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_PUSHSP extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_READ extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_READCH extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_READF extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_READSTR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_RSHIFT extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_RSHIFTIND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_RST extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_SKIP extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_STOP extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_STOREABS extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_STOREIND extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_STOREOFF extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_SUB extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_SUBF extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_SWAP extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_TIMES extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_TIMESF extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_UNLINK extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_WRITE extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_WRITECH extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_WRITEF extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_WRITESTR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SAM_XOR extends SamInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SamAddressInstruction extends SamIntInstruction implements Serializable |
---|
Class edu.cornell.cs.sam.core.instructions.SamCharInstruction extends SamInstruction implements Serializable |
---|
Serialized Fields |
---|
char op
Class edu.cornell.cs.sam.core.instructions.SamFloatInstruction extends SamInstruction implements Serializable |
---|
Serialized Fields |
---|
float op
Class edu.cornell.cs.sam.core.instructions.SamInstruction extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.lang.Package pkg
java.lang.String prefix
java.lang.String name
Class edu.cornell.cs.sam.core.instructions.SamIntInstruction extends SamInstruction implements Serializable |
---|
Serialized Fields |
---|
int op
Class edu.cornell.cs.sam.core.instructions.SamStringInstruction extends SamInstruction implements Serializable |
---|
Serialized Fields |
---|
java.lang.String op
Package edu.cornell.cs.sam.io |
---|
Class edu.cornell.cs.sam.io.TokenizerException extends java.lang.RuntimeException implements Serializable |
---|
Serialized Fields |
---|
java.lang.String message
int line
Class edu.cornell.cs.sam.io.TokenParseException extends TokenizerException implements Serializable |
---|
Package edu.cornell.cs.sam.ui |
---|
Class edu.cornell.cs.sam.ui.SamCapture extends javax.swing.JFrame implements Serializable |
---|
Serialized Fields |
---|
java.awt.Container contentPane
javax.swing.JPanel mainPanel
java.awt.GridBagConstraints c
java.awt.GridBagLayout l
javax.swing.JList instructionList
javax.swing.JScrollPane instructionListView
javax.swing.JMenuItem increaseDisplayMenuItem
javax.swing.JMenuItem removeDisplayMenuItem
edu.cornell.cs.sam.ui.StepDisplay[] stepDisplays
java.util.List<E> steps
javax.swing.JPanel instructionListPanel
java.io.File sourceFile
java.lang.String filename
Program program
StatusBar statusBar
javax.swing.JMenuItem saveAsMenuItem
javax.swing.JMenuItem openSimMenuItem
javax.swing.JDialog colorsDialog
SamAboutDialog aboutDialog
FileDialogManager fileDialogs
Class edu.cornell.cs.sam.ui.SamGUI extends javax.swing.JFrame implements Serializable |
---|
Serialized Fields |
---|
java.io.File sourceFile
java.lang.String filename
FileDialogManager fileDialogs
java.util.prefs.Preferences prefs
Sys sys
Processor proc
Memory mem
SamGUI.RunThread runThread
int runDelay
javax.swing.JPanel mainPanel
javax.swing.JPanel programCodePanel
javax.swing.JPanel consolePanel
javax.swing.JPanel buttonPanel
SamStackPanel stackPanel
SamHeapPanel heapPanel
SamRegistersPanel registerPanel
StatusBar statusBar
java.awt.GridBagLayout componentLayout
java.awt.GridBagConstraints componentLayoutCons
javax.swing.JMenuItem openMenuItem
javax.swing.JMenuItem saveAsMenuItem
javax.swing.JMenuItem loadInstructionsMenuItem
javax.swing.JMenuItem resetMenuItem
javax.swing.JMenuItem runMenuItem
javax.swing.JMenuItem captureMenuItem
javax.swing.JMenuItem stepMenuItem
javax.swing.JMenuItem stopMenuItem
javax.swing.JMenuItem toggleBreakpointMenuItem
javax.swing.JMenu speedMenu
javax.swing.JButton openButton
javax.swing.JButton resetButton
javax.swing.JButton runButton
javax.swing.JButton captureButton
javax.swing.JButton stepButton
javax.swing.JButton stopButton
javax.swing.JDialog colorsDialog
SamAboutDialog aboutDialog
javax.swing.JList programCode
javax.swing.JScrollPane programCodeView
boolean breakpointEditingEnabled
SamGUI.BreakpointList breakpoints
boolean breakpointStop
int lastExecuted
boolean capture
java.util.List<E> steps
javax.swing.JTextArea simulatorOutput
int curStatus
Class edu.cornell.cs.sam.ui.SamTester extends javax.swing.JFrame implements Serializable |
---|
Serialized Fields |
---|
java.awt.Container contentPane
javax.swing.JPanel mainPanel
javax.swing.JPanel buttonPanel
StatusBar statusBar
javax.swing.JTable tests
javax.swing.table.DefaultTableModel testData
edu.cornell.cs.sam.ui.TestTableCellRenderer testRenderer
TestScript testScript
javax.swing.JScrollPane testsView
javax.swing.JMenuItem newFileMenuItem
javax.swing.JMenuItem openFileMenuItem
javax.swing.JMenuItem saveFileMenuItem
javax.swing.JMenuItem saveAsFileMenuItem
javax.swing.JMenuItem runRunMenuItem
javax.swing.JMenuItem stopRunMenuItem
javax.swing.JMenuItem addTestsMenuItem
javax.swing.JMenuItem deleteTestsMenuItem
boolean deleteTestsEnabled
javax.swing.JButton openButton
javax.swing.JButton runButton
javax.swing.JButton stopButton
boolean modified
SamAboutDialog aboutDialog
TestScript.TestThread testThread
FileDialogManager fileDialogs
Class edu.cornell.cs.sam.ui.SamTester.AddTestDialog extends javax.swing.JDialog implements Serializable |
---|
Serialized Fields |
---|
javax.swing.JTextField fileTextField
java.io.File testFile
javax.swing.JTextField returnValueTextField
javax.swing.JComboBox returnValueTypeList
TestScript.Test.DataType returnValue
javax.swing.JList readList
javax.swing.JList writeList
javax.swing.JButton readAdd
javax.swing.JButton readDelete
javax.swing.JButton writeAdd
javax.swing.JButton writeDelete
java.util.List<E> write
java.util.List<E> read
TestScript testScript
boolean validTest
Class edu.cornell.cs.sam.ui.TestScript.Test extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.lang.String fileName
java.util.Queue<E> rqueue
java.util.Queue<E> wqueue
java.util.Queue<E> runReadQueue
java.util.Queue<E> runWriteQueue
TestScript.Test.DataType returnValue
boolean completed
TestScript.Test.DataType actualReturnValue
boolean ioSuccessful
boolean stackCleared
java.util.List<E> stateSteps
TestScript scriptFile
Program code
Class edu.cornell.cs.sam.ui.TestScript.Test.CH extends TestScript.Test.DataType implements Serializable |
---|
Serialized Fields |
---|
char value
Class edu.cornell.cs.sam.ui.TestScript.Test.DataType extends java.lang.Object implements Serializable |
---|
Class edu.cornell.cs.sam.ui.TestScript.Test.FLOAT extends TestScript.Test.DataType implements Serializable |
---|
Serialized Fields |
---|
float value
Class edu.cornell.cs.sam.ui.TestScript.Test.INT extends TestScript.Test.DataType implements Serializable |
---|
Serialized Fields |
---|
int value
Class edu.cornell.cs.sam.ui.TestScript.Test.MA extends TestScript.Test.DataType implements Serializable |
---|
Serialized Fields |
---|
int value
Class edu.cornell.cs.sam.ui.TestScript.Test.PA extends TestScript.Test.DataType implements Serializable |
---|
Serialized Fields |
---|
int value
Class edu.cornell.cs.sam.ui.TestScript.Test.STR extends TestScript.Test.DataType implements Serializable |
---|
Serialized Fields |
---|
java.lang.String value
Class edu.cornell.cs.sam.ui.TestScript.TestResult extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.lang.String testName
TestScript.Test.DataType returnValue
boolean stackCleared
boolean ioSuccessful
Class edu.cornell.cs.sam.ui.TestScript.TestScriptException extends java.lang.Exception implements Serializable |
---|
Serialized Fields |
---|
java.lang.String message
java.lang.Throwable t
Package edu.cornell.cs.sam.ui.components |
---|
Class edu.cornell.cs.sam.ui.components.CellRenderer extends javax.swing.JLabel implements Serializable |
---|
Class edu.cornell.cs.sam.ui.components.SamAboutDialog extends javax.swing.JDialog implements Serializable |
---|
Class edu.cornell.cs.sam.ui.components.SamColorReferenceDialog extends javax.swing.JDialog implements Serializable |
---|
Class edu.cornell.cs.sam.ui.components.SamHeapPanel extends javax.swing.JPanel implements Serializable |
---|
Serialized Fields |
---|
javax.swing.JScrollPane heapScrollPane
javax.swing.JTree heap
Class edu.cornell.cs.sam.ui.components.SamRegistersPanel extends javax.swing.JPanel implements Serializable |
---|
Serialized Fields |
---|
javax.swing.JLabel pcRegister
javax.swing.JLabel fbrRegister
javax.swing.JLabel spRegister
javax.swing.JLabel hpRegister
javax.swing.JPanel registersInnerPanel
Class edu.cornell.cs.sam.ui.components.SamStackPanel extends javax.swing.JPanel implements Serializable |
---|
Serialized Fields |
---|
javax.swing.JScrollPane stackScrollPane
javax.swing.JPanel stackInnerPanel
javax.swing.JList stack
Class edu.cornell.cs.sam.ui.components.StatusBar extends javax.swing.Box implements Serializable |
---|
Serialized Fields |
---|
javax.swing.JLabel label
edu.cornell.cs.sam.ui.components.StatusBar.LabelThread curThread
Package edu.cornell.cs.sam.utils |
---|
Class edu.cornell.cs.sam.utils.ProgramState extends java.lang.Object implements Serializable |
---|
Serialized Fields |
---|
java.util.List<E> stack
int[] registers
int lastpc
|
|||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |