Serialized Form


Package edu.cornell.cs.sam.core

Class edu.cornell.cs.sam.core.AssemblerException extends java.lang.Exception implements Serializable

Serialized Fields

message

java.lang.String message

line

int line

Class edu.cornell.cs.sam.core.SamProgram extends java.lang.Object implements Serializable

Serialized Fields

instructions

java.util.List<E> instructions

syms

SymbolTable syms

refs

ReferenceTable refs

Class edu.cornell.cs.sam.core.SamReferenceTable extends java.lang.Object implements Serializable

Serialized Fields

references

java.util.HashMap<K,V> references

Class edu.cornell.cs.sam.core.SamSymbolTable extends java.lang.Object implements Serializable

Serialized Fields

sym2adr

java.util.HashMap<K,V> sym2adr

adr2sym

java.util.HashMap<K,V> adr2sym

Class edu.cornell.cs.sam.core.SystemException extends java.lang.Exception implements Serializable

Serialized Fields

message

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

op

char op

Class edu.cornell.cs.sam.core.instructions.SamFloatInstruction extends SamInstruction implements Serializable

Serialized Fields

op

float op

Class edu.cornell.cs.sam.core.instructions.SamInstruction extends java.lang.Object implements Serializable

Serialized Fields

pkg

java.lang.Package pkg

prefix

java.lang.String prefix

name

java.lang.String name

Class edu.cornell.cs.sam.core.instructions.SamIntInstruction extends SamInstruction implements Serializable

Serialized Fields

op

int op

Class edu.cornell.cs.sam.core.instructions.SamStringInstruction extends SamInstruction implements Serializable

Serialized Fields

op

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

message

java.lang.String message

line

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

contentPane

java.awt.Container contentPane

mainPanel

javax.swing.JPanel mainPanel

c

java.awt.GridBagConstraints c

l

java.awt.GridBagLayout l

instructionList

javax.swing.JList instructionList

instructionListView

javax.swing.JScrollPane instructionListView

increaseDisplayMenuItem

javax.swing.JMenuItem increaseDisplayMenuItem

removeDisplayMenuItem

javax.swing.JMenuItem removeDisplayMenuItem

stepDisplays

edu.cornell.cs.sam.ui.StepDisplay[] stepDisplays

steps

java.util.List<E> steps

instructionListPanel

javax.swing.JPanel instructionListPanel

sourceFile

java.io.File sourceFile

filename

java.lang.String filename

program

Program program

statusBar

StatusBar statusBar

saveAsMenuItem

javax.swing.JMenuItem saveAsMenuItem

openSimMenuItem

javax.swing.JMenuItem openSimMenuItem

colorsDialog

javax.swing.JDialog colorsDialog

aboutDialog

SamAboutDialog aboutDialog

fileDialogs

FileDialogManager fileDialogs

Class edu.cornell.cs.sam.ui.SamGUI extends javax.swing.JFrame implements Serializable

Serialized Fields

sourceFile

java.io.File sourceFile

filename

java.lang.String filename

fileDialogs

FileDialogManager fileDialogs

prefs

java.util.prefs.Preferences prefs

sys

Sys sys

proc

Processor proc

mem

Memory mem

runThread

SamGUI.RunThread runThread

runDelay

int runDelay

mainPanel

javax.swing.JPanel mainPanel

programCodePanel

javax.swing.JPanel programCodePanel

consolePanel

javax.swing.JPanel consolePanel

buttonPanel

javax.swing.JPanel buttonPanel

stackPanel

SamStackPanel stackPanel

heapPanel

SamHeapPanel heapPanel

registerPanel

SamRegistersPanel registerPanel

statusBar

StatusBar statusBar

componentLayout

java.awt.GridBagLayout componentLayout

componentLayoutCons

java.awt.GridBagConstraints componentLayoutCons

openMenuItem

javax.swing.JMenuItem openMenuItem

saveAsMenuItem

javax.swing.JMenuItem saveAsMenuItem

loadInstructionsMenuItem

javax.swing.JMenuItem loadInstructionsMenuItem

resetMenuItem

javax.swing.JMenuItem resetMenuItem

runMenuItem

javax.swing.JMenuItem runMenuItem

captureMenuItem

javax.swing.JMenuItem captureMenuItem

stepMenuItem

javax.swing.JMenuItem stepMenuItem

stopMenuItem

javax.swing.JMenuItem stopMenuItem

toggleBreakpointMenuItem

javax.swing.JMenuItem toggleBreakpointMenuItem

speedMenu

javax.swing.JMenu speedMenu

openButton

javax.swing.JButton openButton

resetButton

javax.swing.JButton resetButton

runButton

javax.swing.JButton runButton

captureButton

javax.swing.JButton captureButton

stepButton

javax.swing.JButton stepButton

stopButton

javax.swing.JButton stopButton

colorsDialog

javax.swing.JDialog colorsDialog

aboutDialog

SamAboutDialog aboutDialog

programCode

javax.swing.JList programCode

programCodeView

javax.swing.JScrollPane programCodeView

breakpointEditingEnabled

boolean breakpointEditingEnabled

breakpoints

SamGUI.BreakpointList breakpoints

breakpointStop

boolean breakpointStop

lastExecuted

int lastExecuted

capture

boolean capture

steps

java.util.List<E> steps

simulatorOutput

javax.swing.JTextArea simulatorOutput

curStatus

int curStatus

Class edu.cornell.cs.sam.ui.SamTester extends javax.swing.JFrame implements Serializable

Serialized Fields

contentPane

java.awt.Container contentPane

mainPanel

javax.swing.JPanel mainPanel

buttonPanel

javax.swing.JPanel buttonPanel

statusBar

StatusBar statusBar

tests

javax.swing.JTable tests

testData

javax.swing.table.DefaultTableModel testData

testRenderer

edu.cornell.cs.sam.ui.TestTableCellRenderer testRenderer

testScript

TestScript testScript

testsView

javax.swing.JScrollPane testsView

newFileMenuItem

javax.swing.JMenuItem newFileMenuItem

openFileMenuItem

javax.swing.JMenuItem openFileMenuItem

saveFileMenuItem

javax.swing.JMenuItem saveFileMenuItem

saveAsFileMenuItem

javax.swing.JMenuItem saveAsFileMenuItem

runRunMenuItem

javax.swing.JMenuItem runRunMenuItem

stopRunMenuItem

javax.swing.JMenuItem stopRunMenuItem

addTestsMenuItem

javax.swing.JMenuItem addTestsMenuItem

deleteTestsMenuItem

javax.swing.JMenuItem deleteTestsMenuItem

deleteTestsEnabled

boolean deleteTestsEnabled

openButton

javax.swing.JButton openButton

runButton

javax.swing.JButton runButton

stopButton

javax.swing.JButton stopButton

modified

boolean modified

aboutDialog

SamAboutDialog aboutDialog

testThread

TestScript.TestThread testThread

fileDialogs

FileDialogManager fileDialogs

Class edu.cornell.cs.sam.ui.SamTester.AddTestDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

fileTextField

javax.swing.JTextField fileTextField

testFile

java.io.File testFile

returnValueTextField

javax.swing.JTextField returnValueTextField

returnValueTypeList

javax.swing.JComboBox returnValueTypeList

returnValue

TestScript.Test.DataType returnValue

readList

javax.swing.JList readList

writeList

javax.swing.JList writeList

readAdd

javax.swing.JButton readAdd

readDelete

javax.swing.JButton readDelete

writeAdd

javax.swing.JButton writeAdd

writeDelete

javax.swing.JButton writeDelete

write

java.util.List<E> write

read

java.util.List<E> read

testScript

TestScript testScript

validTest

boolean validTest

Class edu.cornell.cs.sam.ui.TestScript.Test extends java.lang.Object implements Serializable

Serialized Fields

fileName

java.lang.String fileName

rqueue

java.util.Queue<E> rqueue

wqueue

java.util.Queue<E> wqueue

runReadQueue

java.util.Queue<E> runReadQueue

runWriteQueue

java.util.Queue<E> runWriteQueue

returnValue

TestScript.Test.DataType returnValue

completed

boolean completed

actualReturnValue

TestScript.Test.DataType actualReturnValue

ioSuccessful

boolean ioSuccessful

stackCleared

boolean stackCleared

stateSteps

java.util.List<E> stateSteps

scriptFile

TestScript scriptFile

code

Program code

Class edu.cornell.cs.sam.ui.TestScript.Test.CH extends TestScript.Test.DataType implements Serializable

Serialized Fields

value

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

value

float value

Class edu.cornell.cs.sam.ui.TestScript.Test.INT extends TestScript.Test.DataType implements Serializable

Serialized Fields

value

int value

Class edu.cornell.cs.sam.ui.TestScript.Test.MA extends TestScript.Test.DataType implements Serializable

Serialized Fields

value

int value

Class edu.cornell.cs.sam.ui.TestScript.Test.PA extends TestScript.Test.DataType implements Serializable

Serialized Fields

value

int value

Class edu.cornell.cs.sam.ui.TestScript.Test.STR extends TestScript.Test.DataType implements Serializable

Serialized Fields

value

java.lang.String value

Class edu.cornell.cs.sam.ui.TestScript.TestResult extends java.lang.Object implements Serializable

Serialized Fields

testName

java.lang.String testName

returnValue

TestScript.Test.DataType returnValue

stackCleared

boolean stackCleared

ioSuccessful

boolean ioSuccessful

Class edu.cornell.cs.sam.ui.TestScript.TestScriptException extends java.lang.Exception implements Serializable

Serialized Fields

message

java.lang.String message

t

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

heapScrollPane

javax.swing.JScrollPane heapScrollPane

heap

javax.swing.JTree heap

Class edu.cornell.cs.sam.ui.components.SamRegistersPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

pcRegister

javax.swing.JLabel pcRegister

fbrRegister

javax.swing.JLabel fbrRegister

spRegister

javax.swing.JLabel spRegister

hpRegister

javax.swing.JLabel hpRegister

registersInnerPanel

javax.swing.JPanel registersInnerPanel

Class edu.cornell.cs.sam.ui.components.SamStackPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

stackScrollPane

javax.swing.JScrollPane stackScrollPane

stackInnerPanel

javax.swing.JPanel stackInnerPanel

stack

javax.swing.JList stack

Class edu.cornell.cs.sam.ui.components.StatusBar extends javax.swing.Box implements Serializable

Serialized Fields

label

javax.swing.JLabel label

curThread

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

stack

java.util.List<E> stack

registers

int[] registers

lastpc

int lastpc