Simple Machine
A B C D E F G H I J L M N O P R S T U V W

A

AbstractAssembler - Class in ISA
 
AbstractAssembler() - Constructor for class ISA.AbstractAssembler
 
AbstractAssembler.AssemblyException - Exception in ISA
 
AbstractAssembler.AssemblyException(String) - Constructor for exception ISA.AbstractAssembler.AssemblyException
 
AbstractCPU - Class in Machine
 
AbstractCPU(String, AbstractMainMemory) - Constructor for class Machine.AbstractCPU
 
AbstractCPU(AbstractMainMemory) - Constructor for class Machine.AbstractCPU
 
AbstractCPU.InvalidInstructionException - Exception in Machine
Exception indicating than an invalid instruction was just detected by the CPU.
AbstractCPU.InvalidInstructionException() - Constructor for exception Machine.AbstractCPU.InvalidInstructionException
 
AbstractCPU.MachineHaltException - Exception in Machine
Exception indicating that the CPU just retired a halt instruction.
AbstractCPU.MachineHaltException() - Constructor for exception Machine.AbstractCPU.MachineHaltException
 
AbstractDataModel - Class in Util
 
AbstractDataModel() - Constructor for class Util.AbstractDataModel
 
AbstractISA - Class in ISA
 
AbstractISA(String, AbstractAssembler) - Constructor for class ISA.AbstractISA
 
AbstractISA.CompoundField - Class in ISA
Compound field combines one or more other fields.
AbstractISA.CompoundField(AbstractISA.InsLayout[], int[], String[], int[], String[]) - Constructor for class ISA.AbstractISA.CompoundField
 
AbstractISA.ConstantField - Class in ISA
A field that is always assigned a constant value.
AbstractISA.ConstantField(int, String, String, String, int) - Constructor for class ISA.AbstractISA.ConstantField
 
AbstractISA.DictonaryField - Class in ISA
For register names (etc.), field name comes from dictonary lookup.
AbstractISA.DictonaryField(int, String, String, String, Map<Integer, String>) - Constructor for class ISA.AbstractISA.DictonaryField
 
AbstractISA.InsLayout - Interface in ISA
Describes the in-memory layout of instructions.
AbstractISA.LabelableField - Class in ISA
Simple field whose value can be represted by a label.
AbstractISA.LabelableField(int, String, String, String, String, String) - Constructor for class ISA.AbstractISA.LabelableField
 
AbstractISA.OpCodeField - Class in ISA
Instruction op code.
AbstractISA.OpCodeField(int, String, String, String) - Constructor for class ISA.AbstractISA.OpCodeField
 
AbstractISA.PCRelativeField - Class in ISA
PC-relative address field.
AbstractISA.PCRelativeField(int, String, String, String, String, String) - Constructor for class ISA.AbstractISA.PCRelativeField
 
AbstractISA.ScaledField - Class in ISA
For index addressing mode, this field is scaled by index scaling factor in instruction.
AbstractISA.ScaledField(int, String, String, String, int) - Constructor for class ISA.AbstractISA.ScaledField
 
AbstractISA.ShiftField - Class in ISA
Shift value.
AbstractISA.ShiftField(int, String, String, String) - Constructor for class ISA.AbstractISA.ShiftField
 
AbstractISA.ShiftInsField - Class in ISA
Shift instruction.
AbstractISA.ShiftInsField(AbstractISA.InsLayout[], int[], String[], int[], String[], int, int) - Constructor for class ISA.AbstractISA.ShiftInsField
 
AbstractISA.ShiftOpCodeField - Class in ISA
 
AbstractISA.ShiftOpCodeField(int, String, String, String, String, String, String, String) - Constructor for class ISA.AbstractISA.ShiftOpCodeField
 
AbstractISA.SimpleField - Class in ISA
Simple instruction field.
AbstractISA.SimpleField(int, String, String, String) - Constructor for class ISA.AbstractISA.SimpleField
 
AbstractMainMemory - Class in Machine
 
AbstractMainMemory() - Constructor for class Machine.AbstractMainMemory
 
AbstractMainMemory.InvalidAddressException - Exception in Machine
 
AbstractMainMemory.InvalidAddressException() - Constructor for exception Machine.AbstractMainMemory.InvalidAddressException
 
AbstractSM213CPU - Class in Arch.SM213.Machine
 
AbstractSM213CPU(AbstractMainMemory) - Constructor for class Arch.SM213.Machine.AbstractSM213CPU
 
add(MemoryCell) - Method in class ISA.Memory
Add cell to appropriate region; creating or extending the region, possibly coallescing two regions.
add(MemoryCell) - Method in class ISA.Memory.LabelMap
 
add(MemoryCell) - Method in class ISA.Region
Add cell to region.
add(String, Class, boolean, boolean, boolean, long) - Method in class Machine.RegisterSet
 
addByteLengthChangedListener(Region.ByteLengthChangedListener) - Method in class ISA.Region
 
addLabelOnly(MemoryCell) - Method in class ISA.Memory
Add cell's label to symbol table without adding cell to memory.
addLengthChangedListener(Memory.LengthChangedListener) - Method in class ISA.Memory
 
addListener(ViewModel.Listener) - Method in class GraphicalUI.ViewModel
 
addObserver(Observer) - Method in class ISA.Memory
 
addObserver(Observer) - Method in interface Util.DataModel
 
addObserver(Observer) - Method in interface Util.MapModel
 
address() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
address - Variable in class ISA.MemoryCell
 
addSelectionListener(View.SelectionListener) - Method in class GraphicalUI.View
 
addSigned(String, Class) - Method in class Machine.RegisterSet
 
addSigned(String, boolean) - Method in class Machine.RegisterSet
 
addSigned(String) - Method in class Machine.RegisterSet
 
addSizeChangedListener(View.SizeChangedListener) - Method in class GraphicalUI.View
 
addStatedChangeListener(Memory.StateChangedListener) - Method in class ISA.Memory
 
addUndo(UndoableEdit) - Method in class ISA.Memory
 
addUndoableEditListener(UndoableEditListener) - Method in class GraphicalUI.View
 
addUndoableEditListener(UndoableEditListener) - Method in class ISA.Memory
 
addUndoableEditListener(UndoableEditListener) - Method in class Util.AbstractDataModel
 
addUndoableEditListener(UndoableEditListener) - Method in interface Util.DataModel
 
addUnsigned(String, Class, long) - Method in class Machine.RegisterSet
 
addUnsigned(String, Class, boolean) - Method in class Machine.RegisterSet
 
addUnsigned(String, Class) - Method in class Machine.RegisterSet
 
addUnsigned(String, boolean) - Method in class Machine.RegisterSet
 
addUnsigned(String) - Method in class Machine.RegisterSet
 
adjustFontSize(int) - Method in class GraphicalUI.View
 
adjustHighlights(boolean) - Method in class GraphicalUI.View
 
aluOne() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
aluTwo() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
Arch.SM213.ISA - package Arch.SM213.ISA
Simple Machine 213 ISA defninition and assembler.
Arch.SM213.Machine - package Arch.SM213.Machine
Container package for Simple Machine 213 implementaiton.
Arch.SM213.Machine.Student - package Arch.SM213.Machine.Student
Student-implemented implementation of the Simple Machine 213 ISA.
AsmSM213Lexer - Class in Arch.SM213.ISA
 
AsmSM213Lexer() - Constructor for class Arch.SM213.ISA.AsmSM213Lexer
 
AsmSM213Lexer(CharStream) - Constructor for class Arch.SM213.ISA.AsmSM213Lexer
 
AsmSM213Lexer(CharStream, RecognizerSharedState) - Constructor for class Arch.SM213.ISA.AsmSM213Lexer
 
AsmSM213Parser - Class in Arch.SM213.ISA
 
AsmSM213Parser(TokenStream) - Constructor for class Arch.SM213.ISA.AsmSM213Parser
 
AsmSM213Parser(TokenStream, RecognizerSharedState) - Constructor for class Arch.SM213.ISA.AsmSM213Parser
 
AsmSM213Parser.baseOffset2_return - Class in Arch.SM213.ISA
 
AsmSM213Parser.baseOffset2_return() - Constructor for class Arch.SM213.ISA.AsmSM213Parser.baseOffset2_return
 
AsmSM213Parser.baseOffset4_return - Class in Arch.SM213.ISA
 
AsmSM213Parser.baseOffset4_return() - Constructor for class Arch.SM213.ISA.AsmSM213Parser.baseOffset4_return
 
AsmSM213Parser.index_return - Class in Arch.SM213.ISA
 
AsmSM213Parser.index_return() - Constructor for class Arch.SM213.ISA.AsmSM213Parser.index_return
 
AsmSM213Parser.label_return - Class in Arch.SM213.ISA
 
AsmSM213Parser.label_return() - Constructor for class Arch.SM213.ISA.AsmSM213Parser.label_return
 
AsmSM213Parser.labelDeclaration_return - Class in Arch.SM213.ISA
 
AsmSM213Parser.labelDeclaration_return() - Constructor for class Arch.SM213.ISA.AsmSM213Parser.labelDeclaration_return
 
AsmSM213Parser.LineType - Enum in Arch.SM213.ISA
 
assembleFile(String, Memory) - Method in class Arch.SM213.ISA.Assembler
 
assembleFile(String, Memory) - Method in class ISA.AbstractAssembler
 
assembleLine(int, String, String, String, Memory) - Method in class Arch.SM213.ISA.Assembler
 
assembleLine(int, String, String, String, Memory) - Method in class ISA.AbstractAssembler
 
Assembler - Class in Arch.SM213.ISA
 
Assembler() - Constructor for class Arch.SM213.ISA.Assembler
 

B

base - Variable in class Arch.SM213.ISA.AsmSM213Parser.baseOffset2_return
 
base - Variable in class Arch.SM213.ISA.AsmSM213Parser.baseOffset4_return
 
base - Variable in class Arch.SM213.ISA.AsmSM213Parser.index_return
 
baseOffset2() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
baseOffset4() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
BitStream - Class in Util
 
BitStream(DataModel, int) - Constructor for class Util.BitStream
 
BitString - Class in Util
String of bit values; used for access to instruction fields when decoding instruction.
BitString(int, long) - Constructor for class Util.BitString
 
BitString(BitString) - Constructor for class Util.BitString
 
BitString() - Constructor for class Util.BitString
 
branch() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
byteLength() - Method in class ISA.AbstractISA.CompoundField
 
byteLength() - Method in interface ISA.AbstractISA.InsLayout
 
byteLength() - Method in class ISA.AbstractISA.SimpleField
 
byteLength() - Method in class ISA.Region
 
byteLength() - Method in class Util.BitString
 
byteLengthChanged() - Method in interface ISA.Region.ByteLengthChangedListener
 
bytesToInteger(UnsignedByte, UnsignedByte, UnsignedByte, UnsignedByte) - Method in class Arch.SM213.Machine.Student.MainMemory
Convert an sequence of four bytes into a Big Endian integer.
bytesToInteger(UnsignedByte, UnsignedByte, UnsignedByte, UnsignedByte) - Method in class Machine.AbstractMainMemory
Convert a byte array to an integer.
byteValue() - Method in class Util.HalfByteNumber
 
byteValue() - Method in class Util.SixByteNumber
 

C

callTarget(Object) - Method in class GraphicalUI.OSXAdapter
 
cancelCellEditing() - Method in class GraphicalUI.View.CellEditor
 
canDeleteRow(int) - Method in class ISA.Region
Report whether delete of specified row would suceed given the current state of the system.
canDeleteRow(int) - Method in class Util.AbstractDataModel
 
canDeleteRow(int) - Method in class Util.CompoundModel
 
canDeleteRow(int) - Method in interface Util.DataModel
 
canInsertRow(int) - Method in class ISA.Region
Report whether an insert of the specified row would succeed given the current state of the system.
canInsertRow(int) - Method in class Util.AbstractDataModel
 
canInsertRow(int) - Method in class Util.CompoundModel
 
canInsertRow(int) - Method in interface Util.DataModel
 
changeAddresses(Vector<MemoryCell>) - Method in class ISA.Memory.LabelMap
 
changed(int, int, int, Memory.LengthChangedListener.Type) - Method in interface ISA.Memory.LengthChangedListener
 
changingModel(boolean, List<TableCellIndex>) - Method in class GraphicalUI.View
 
Character - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
Character - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
checkLabelSyntax(String, Memory) - Method in class Arch.SM213.ISA.Assembler
 
checkLabelSyntax(String, Memory) - Method in class ISA.AbstractAssembler
 
checkLineSyntax(int, String, String, String, Memory) - Method in class Arch.SM213.ISA.Assembler
 
checkLineSyntax(int, String, String, String, Memory) - Method in class ISA.AbstractAssembler
 
checkpoint() - Method in class ISA.DataRegion
 
checkpointData(boolean) - Method in class ISA.Memory
Checkpoint Data
checkpointValue - Variable in class ISA.MemoryCell
 
checkpointValue() - Method in class ISA.MemoryCell
 
checkSyntax(Memory, int) - Method in class Arch.SM213.ISA.AsmSM213Parser
 
checkValidity(String, Object) - Method in class GraphicalUI.ViewFormat
 
clear() - Method in class ISA.Memory
Clear all regions
clear() - Method in class ISA.Memory.LabelMap
 
columnIndex - Variable in class Util.TableCellIndex
 
Comment - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
Comment - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
comment - Variable in class ISA.MemoryCell
 
CompoundModel - Class in Util
Join two Data Models into a single model.
CompoundModel(DataModel, DataModel) - Constructor for class Util.CompoundModel
 
concat(BitString) - Method in class Util.BitString
 
concat(IntStream) - Method in class Util.IntStream
 
copyFrom(MemoryCell) - Method in class ISA.Datum
 
copyFrom(MemoryCell) - Method in class ISA.Instruction
 
copyFrom(MemoryCell) - Method in class ISA.MemoryCell
 
CPU - Class in Arch.SM213.Machine.Student
The Simple Machine CPU.
CPU(MainMemory) - Constructor for class Arch.SM213.Machine.Student.CPU
 
curInst - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
CURRENT_INSTRUCTION_ADDRESS - Static variable in class Machine.AbstractCPU
 
cycle() - Method in class Arch.SM213.Machine.AbstractSM213CPU
Computes one cycle of the SM213 CPU
cycle() - Method in class Machine.AbstractCPU
Abstract class that implements cpu control logic.

D

data() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
DataModel - Interface in Util
Like javax.Swing.Table.TableModel, but for observer/observable instead of EventListener.
DataModelEvent - Class in Util
Observer update event for DataModel, presented as argument to Observer.update ().
DataModelEvent(DataModelEvent.Type, List<TableCellIndex>) - Constructor for class Util.DataModelEvent
 
DataModelEvent(DataModelEvent.Type, int, int) - Constructor for class Util.DataModelEvent
 
DataModelEvent.Type - Enum in Util
 
DataRegion - Class in ISA
Region of data.
DataRegion(Memory) - Constructor for class ISA.DataRegion
 
DataRegion.Value - Class in ISA
 
Datum - Class in ISA
A single concrete instance of data in memory.
Decimal - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
Decimal - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
decimal() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
define(int, AbstractISA.InsLayout) - Method in class ISA.AbstractISA
Called by subclass to define instructions that are part of its ISA.
deleteRow(int) - Method in class GraphicalUI.ViewModel
 
deleteRow(int) - Method in class ISA.Region
Delete row in region.
deleteRow(int) - Method in class Util.AbstractDataModel
 
deleteRow(int) - Method in class Util.CompoundModel
 
deleteRow(int) - Method in interface Util.DataModel
 
deleteSelection() - Method in class GraphicalUI.View
 
dfa2 - Variable in class Arch.SM213.ISA.AsmSM213Parser
 
dfa7 - Variable in class Arch.SM213.ISA.AsmSM213Lexer
 
Digit - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
Digit - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
directive() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
doubleValue() - Method in class Util.HalfByteNumber
 
doubleValue() - Method in class Util.SixByteNumber
 

E

emitErrorMessage(String) - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
emitErrorMessage(String) - Method in class Arch.SM213.ISA.AsmSM213Parser
 
EOF - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
EOF - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
equals(Object) - Method in class ISA.MemoryCell
 
equals(Object) - Method in class Util.BitString
 
equals(Object) - Method in class Util.TableCellIndex
 
execute() - Method in class Arch.SM213.Machine.AbstractSM213CPU
Impemented by STUDENTS to execute instruction currently loaded in processorState registers.
execute() - Method in class Arch.SM213.Machine.Student.CPU
Execution Stage of CPU Cucle.

F

fetch() - Method in class Arch.SM213.Machine.AbstractSM213CPU
Implemented by STUDENTS to fetch next instruction from memory into CPU processorState registers.
fetch() - Method in class Arch.SM213.Machine.Student.CPU
Fetch Stage of CPU Cycle.
fireByteLengthChanged() - Method in class ISA.Region
 
fireChangingModel(boolean, List<TableCellIndex>) - Method in class GraphicalUI.ViewModel
 
fireDeleted(int, int, int) - Method in class ISA.Memory
 
fireInserted(int, int, int) - Method in class ISA.Memory
 
fireMemoryStateChanged() - Method in interface ISA.Memory.StateChangedListener
 
fireModelTouched(DataModelEvent) - Method in class GraphicalUI.ViewModel
 
floatValue() - Method in class Util.HalfByteNumber
 
floatValue() - Method in class Util.SixByteNumber
 
FOLLOW_15_in_labelDeclaration104 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_16_in_load227 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_17_in_store302 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_18_in_aluOne341 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_19_in_aluOne347 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_20_in_aluOne353 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_21_in_aluOne359 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_22_in_aluOne365 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_23_in_aluOne371 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_24_in_aluTwo388 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_25_in_aluTwo394 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_26_in_aluTwo400 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_27_in_shift429 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_28_in_shift435 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_29_in_branch459 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_30_in_branch482 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_31_in_branch487 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_32_in_jump516 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_33_in_halt579 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_34_in_nop588 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_aluTwo412 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_branch494 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_data817 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_index676 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_index682 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_load236 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_load288 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_shift443 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_35_in_store310 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_36_in_jump554 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_36_in_jump566 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_37_in_literal604 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_38_in_baseOffset2631 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_38_in_baseOffset4652 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_38_in_index670 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_39_in_baseOffset2635 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_39_in_baseOffset4656 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_39_in_index686 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_40_in_address785 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_41_in_data800 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_address_in_directive772 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_aluOne_in_instruction146 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_aluTwo_in_instruction150 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_baseOffset2_in_jump537 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_baseOffset4_in_jump558 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_baseOffset4_in_load258 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_baseOffset4_in_store318 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_branch_in_instruction158 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_Comment_in_line80 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_data_in_directive776 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_Decimal_in_decimal755 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_decimal_in_index684 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_decimal_in_number715 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_directive_in_line68 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_EOF_in_program49 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_halt_in_instruction166 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_hex_in_address787 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_Hex_in_hex736 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_hex_in_number721 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_Identifier_in_label119 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_Identifier_in_labelDeclaration97 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_index_in_jump568 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_index_in_load274 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_index_in_store328 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_instruction_in_line64 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_jump_in_instruction162 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_label_in_branch464 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_label_in_branch497 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_label_in_data811 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_label_in_jump520 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_label_in_literal613 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_labelDeclaration_in_line58 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_line_in_program46 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_literal_in_load232 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_literal_in_shift441 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_load_in_instruction138 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_NewLine_in_line75 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_nop_in_instruction170 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_number_in_baseOffset2628 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_number_in_baseOffset4649 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_number_in_branch471 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_number_in_branch503 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_number_in_data805 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_number_in_data821 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_number_in_literal607 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_operand_in_label123 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_operand_in_labelDeclaration101 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_aluOne377 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_aluTwo408 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_aluTwo416 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_baseOffset2633 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_baseOffset4654 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_branch492 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_index674 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_index680 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_load240 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_load292 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_Register_in_register700 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_shift445 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_register_in_store306 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_set_in_operand180 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_shift_in_instruction154 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
FOLLOW_store_in_instruction142 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 

G

get(int, int) - Method in class Arch.SM213.Machine.Student.MainMemory
Fetch a sequence of bytes from memory.
get(Object) - Method in class ISA.Memory.LabelMap
 
get(int, int) - Method in class Machine.AbstractMainMemory
Read a sequence of bytes from memory.
get(String) - Method in class Machine.RegisterSet
 
get(Object) - Method in interface Util.MapModel
 
getAddress(String) - Method in class ISA.Memory.LabelMap
 
getAddress() - Method in class ISA.MemoryCell
 
getAddress() - Method in class ISA.Region
 
getByteAt(int) - Method in class Util.BitStream
 
getCellEditorValue() - Method in class GraphicalUI.View.CellEditor
 
getCellForRowIndex(int) - Method in class ISA.Region
 
getCells() - Method in class Util.DataModelEvent
 
getColumnClass(int) - Method in class GraphicalUI.ValueView
 
getColumnClass(int) - Method in class GraphicalUI.ViewModel
 
getColumnClass(int) - Method in class ISA.DataRegion
 
getColumnClass(int) - Method in class ISA.InstructionModel
 
getColumnClass(int) - Method in class ISA.InstructionRegion
 
getColumnClass(int) - Method in class ISA.Memory
 
getColumnClass(int) - Method in class Machine.AbstractMainMemory
 
getColumnClass(int) - Method in class Machine.Register
 
getColumnClass(int) - Method in class Machine.RegisterSet
 
getColumnClass(int) - Method in class Util.AbstractDataModel
 
getColumnClass(int) - Method in class Util.CompoundModel
 
getColumnClass(int) - Method in interface Util.DataModel
 
getColumnClass(int) - Method in class Util.PickModel
 
getColumnCount() - Method in class GraphicalUI.ValueView
 
getColumnCount() - Method in class GraphicalUI.ViewModel
 
getColumnCount() - Method in class ISA.DataRegion
 
getColumnCount() - Method in class ISA.InstructionModel
 
getColumnCount() - Method in class ISA.InstructionRegion
 
getColumnCount() - Method in class ISA.Memory
 
getColumnCount() - Method in class Machine.AbstractMainMemory
 
getColumnCount() - Method in class Machine.Register
 
getColumnCount() - Method in class Machine.RegisterSet
 
getColumnCount() - Method in class Util.AbstractDataModel
 
getColumnCount() - Method in class Util.CompoundModel
 
getColumnCount() - Method in interface Util.DataModel
 
getColumnCount() - Method in class Util.PickModel
 
getColumnFormat(int) - Method in class GraphicalUI.View
 
getColumnName(int) - Method in class GraphicalUI.ValueView
 
getColumnName(int) - Method in class GraphicalUI.ViewModel
 
getColumnName(int) - Method in class ISA.DataRegion
 
getColumnName(int) - Method in class ISA.InstructionModel
 
getColumnName(int) - Method in class ISA.InstructionRegion
 
getColumnName(int) - Method in class ISA.Memory
 
getColumnName(int) - Method in class Machine.AbstractMainMemory
 
getColumnName(int) - Method in class Machine.Register
 
getColumnName(int) - Method in class Machine.RegisterSet
 
getColumnName(int) - Method in class Util.AbstractDataModel
 
getColumnName(int) - Method in class Util.CompoundModel
 
getColumnName(int) - Method in interface Util.DataModel
 
getColumnName(int) - Method in class Util.PickModel
 
getDataModel() - Method in class GraphicalUI.ViewModel
 
getDataModelLength() - Method in class GraphicalUI.ViewModel
 
getFirstFieldForClass(Class) - Method in class ISA.AbstractISA.CompoundField
 
getFirstFieldForClass(Class) - Method in interface ISA.AbstractISA.InsLayout
 
getFirstFieldForClass(Class) - Method in class ISA.AbstractISA.SimpleField
 
getGrammarFileName() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
getGrammarFileName() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
getIsaName() - Method in class ISA.Memory
 
getLabel(Integer) - Method in class ISA.Memory.LabelMap
 
getLabelMap() - Method in class ISA.Memory
 
getLoadedFilename() - Method in class ISA.Memory
 
getMainMemory() - Method in class Machine.AbstractCPU
 
getName() - Method in class ISA.AbstractISA
Name of this ISA.
getName() - Method in class Machine.AbstractCPU
Name of this ISA implementation (optional).
getName() - Method in class Machine.Register
 
getName() - Method in class Machine.RegisterSet
 
getOffsetTo(AbstractISA.InsLayout) - Method in class ISA.AbstractISA.CompoundField
 
getOffsetTo(AbstractISA.InsLayout) - Method in interface ISA.AbstractISA.InsLayout
 
getOffsetTo(AbstractISA.InsLayout) - Method in class ISA.AbstractISA.SimpleField
 
getPC() - Method in class Machine.AbstractCPU
Export the PC register.
getPlaceholderInstructionDef() - Method in class ISA.AbstractISA
 
getPlaceholderInstructionValue() - Method in class ISA.AbstractISA
 
getProcessorState() - Method in class Machine.AbstractCPU
 
getRegions() - Method in class ISA.Memory
Get a list of all memory regions.
getRegisterFile() - Method in class Machine.AbstractCPU
 
getRowCount() - Method in class GraphicalUI.ValueView
 
getRowCount() - Method in class GraphicalUI.ViewModel
 
getRowCount() - Method in class ISA.InstructionModel
 
getRowCount() - Method in class ISA.Memory
 
getRowCount() - Method in class ISA.Region
 
getRowCount() - Method in class Machine.AbstractMainMemory
 
getRowCount() - Method in class Machine.Register
 
getRowCount() - Method in class Machine.RegisterSet
 
getRowCount() - Method in class Util.AbstractDataModel
 
getRowCount() - Method in class Util.CompoundModel
 
getRowCount() - Method in interface Util.DataModel
 
getRowCount() - Method in class Util.PickModel
 
getRowIndex() - Method in class Util.DataModelEvent
 
getRowIndexForAddress(int) - Method in class ISA.Region
 
getSavableRows() - Method in class ISA.Region
 
getStartingDataModelRowIndex() - Method in class GraphicalUI.ViewModel
 
getTableCellEditorComponent(JTable, Object, boolean, int, int) - Method in class GraphicalUI.View.CellEditor
 
getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class GraphicalUI.View.CellRenderer
 
getTokenNames() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
getType() - Method in class ISA.Region
 
getType() - Method in class Util.DataModelEvent
 
getValue(IntStream, int) - Method in class ISA.AbstractISA.CompoundField
 
getValue(BitStream) - Method in class ISA.AbstractISA.CompoundField
 
getValue(IntStream, int) - Method in interface ISA.AbstractISA.InsLayout
 
getValue(BitStream) - Method in interface ISA.AbstractISA.InsLayout
 
getValue(IntStream, int) - Method in class ISA.AbstractISA.SimpleField
 
getValue(BitStream) - Method in class ISA.AbstractISA.SimpleField
 
getValue(int) - Method in class Util.BitStream
 
getValue() - Method in class Util.BitString
 
getValue() - Method in class Util.IntStream
 
getValueAt(int, int) - Method in class GraphicalUI.ValueView
 
getValueAt(int, int) - Method in class GraphicalUI.ViewModel
 
getValueAt(int, int) - Method in class ISA.DataRegion
 
getValueAt(int, int) - Method in class ISA.InstructionModel
 
getValueAt(int, int) - Method in class ISA.InstructionRegion
 
getValueAt(int, int) - Method in class ISA.Memory
 
getValueAt(int, int) - Method in class Machine.AbstractMainMemory
 
getValueAt(int, int) - Method in class Machine.Register
 
getValueAt(int, int) - Method in class Machine.RegisterSet
 
getValueAt(int, int) - Method in class Util.AbstractDataModel
 
getValueAt(int, int) - Method in class Util.BitString
 
getValueAt(int, int) - Method in class Util.CompoundModel
 
getValueAt(int, int) - Method in interface Util.DataModel
 
getValueAt(int, int) - Method in class Util.PickModel
 
GraphicalUI - package GraphicalUI
Implements the graphical user interface by instantiating the AbstractUI defined in the Simulator class.

H

HalfByteNumber - Class in Util
 
HalfByteNumber(byte) - Constructor for class Util.HalfByteNumber
 
halt() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
hasChanged() - Method in class ISA.Region.AssemblyString
 
hashCode() - Method in class ISA.MemoryCell
 
hashCode() - Method in class Util.BitString
 
hashCode() - Method in class Util.TableCellIndex
 
hasLoadedFile() - Method in class ISA.Memory
 
hasUnsavedChanges() - Method in class ISA.Memory
 
Hex - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
Hex - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
hex() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
HexDigit - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
HexDigit - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 

I

Identifier - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
Identifier - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
index() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
index - Variable in class Arch.SM213.ISA.AsmSM213Parser.index_return
 
insertAboveSelection() - Method in class GraphicalUI.View
 
insertBelowSelection() - Method in class GraphicalUI.View
 
insertRow(int) - Method in class GraphicalUI.ViewModel
 
insertRow(int) - Method in class ISA.Region
Insert new row in region, adding a place-holder cell and adjusting the address of all subsequent cells.
insertRow(int) - Method in class Util.AbstractDataModel
 
insertRow(int) - Method in class Util.CompoundModel
 
insertRow(int) - Method in interface Util.DataModel
 
insOp0 - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
insOp1 - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
insOp2 - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
insOpCode - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
insOpExt - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
insOpImm - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
instruction() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
instruction - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
Instruction - Class in ISA
A single concrete instance of an instruction in memory.
InstructionModel - Class in ISA
 
InstructionModel(Memory) - Constructor for class ISA.InstructionModel
 
InstructionRegion - Class in ISA
Region of instructions.
InstructionRegion(Memory) - Constructor for class ISA.InstructionRegion
 
integerToBytes(int) - Method in class Arch.SM213.Machine.Student.MainMemory
Convert a Big Endian integer into an array of 4 bytes organized by memory address.
integerToBytes(int) - Method in class Machine.AbstractMainMemory
Convert an integer to a byte array.
IntStream - Class in Util
A stream of integer values; use for access to instruction field values when encoding into instruction.
IntStream(int[]) - Constructor for class Util.IntStream
 
IntStream(int) - Constructor for class Util.IntStream
 
intValue() - Method in class Util.HalfByteNumber
 
intValue() - Method in class Util.SixByteNumber
 
invoke(Object, Method, Object[]) - Method in class GraphicalUI.OSXAdapter
 
ISA - package ISA
Machinery for ISA definition, disassembly and interface to assembly.
ISA - Class in Arch.SM213.ISA
 
ISA() - Constructor for class Arch.SM213.ISA.ISA
 
isAccessAligned(int, int) - Method in class Arch.SM213.Machine.Student.MainMemory
Determine whether an address is aligned to specified length.
isAccessAligned(int, int) - Method in class Machine.AbstractMainMemory
Determine whether specified address and length represent an ALIGNED access.
isCellEditable(int, int) - Method in class GraphicalUI.ValueView
 
isCellEditable(int, int) - Method in class GraphicalUI.ViewModel
 
isCellEditable(int, int) - Method in class ISA.DataRegion
 
isCellEditable(int, int) - Method in class ISA.InstructionModel
 
isCellEditable(int, int) - Method in class ISA.InstructionRegion
 
isCellEditable(int, int) - Method in class ISA.Memory
 
isCellEditable(int, int) - Method in class Machine.AbstractMainMemory
 
isCellEditable(int, int) - Method in class Machine.Register
 
isCellEditable(int, int) - Method in class Machine.RegisterSet
 
isCellEditable(int, int) - Method in class Util.AbstractDataModel
 
isCellEditable(int, int) - Method in class Util.CompoundModel
 
isCellEditable(int, int) - Method in interface Util.DataModel
 
isCellEditable(int, int) - Method in class Util.PickModel
 
isCorrectMethod(Method, Object[]) - Method in class GraphicalUI.OSXAdapter
 
isInterrupt - Variable in class Machine.AbstractCPU
Interrupt flag
isLabelColumn(int) - Method in class GraphicalUI.ViewModel
 
isMemoryValueColumn(int) - Method in class ISA.DataRegion
 

J

jump() - Method in class Arch.SM213.ISA.AsmSM213Parser
 

L

label() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
label - Variable in class ISA.MemoryCell
 
labelDeclaration() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
length() - Method in class Arch.SM213.Machine.Student.MainMemory
Determine the size of memory.
length() - Method in class GraphicalUI.ViewModel
 
length() - Method in class ISA.AbstractISA.CompoundField
 
length() - Method in interface ISA.AbstractISA.InsLayout
 
length() - Method in class ISA.AbstractISA.SimpleField
 
length() - Method in class ISA.MemoryCell
 
length() - Method in class ISA.Region
 
length() - Method in class Machine.AbstractMainMemory
 
length() - Method in class Util.BitString
 
line() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
literal() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
load() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
loadFile(String) - Method in class ISA.Memory
Load a file into memory where type of file is determined by it's extension (i.e., *.s for assembly langauge and *.gold for machine code).
longValue() - Method in class Util.HalfByteNumber
 
longValue() - Method in class Util.SixByteNumber
 

M

MAC_OS_X - Static variable in class GraphicalUI.UI
 
Machine - package Machine
Machinery and abstract interfaces for ISA implementation.
main(String[]) - Static method in class SimpleMachine
 
MainMemory - Class in Arch.SM213.Machine.Student
Main Memory of Simple CPU Provides an abstraction of main memory (DRAM).
MainMemory(int) - Constructor for class Arch.SM213.Machine.Student.MainMemory
Allocate memory.
MapModel - Interface in Util
 
mark() - Method in class Util.BitStream
 
mark() - Method in class Util.IntStream
 
mCharacter() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mComment() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mDecimal() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mDigit() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mem - Variable in class Machine.AbstractCPU
 
Memory - Class in ISA
From the ISA perspective, memory consists of a set of code or data regions.
Memory(AbstractISA, DataModel, DataModel) - Constructor for class ISA.Memory
 
memory - Variable in class ISA.MemoryCell
 
Memory.FileTypeException - Exception in ISA
Exception for errors in put file type.
Memory.FileTypeException() - Constructor for exception ISA.Memory.FileTypeException
 
Memory.InputFileSyntaxException - Exception in ISA
Exception for syntax errors in asm and mac input files.
Memory.LabelMap - Class in ISA
 
Memory.LabelMap() - Constructor for class ISA.Memory.LabelMap
 
Memory.LabelMapEventType - Enum in ISA
 
Memory.LengthChangedListener - Interface in ISA
Interface for classes that listen for length change events.
Memory.LengthChangedListener.Type - Enum in ISA
 
Memory.StateChangedListener - Interface in ISA
 
MemoryCell - Class in ISA
A cell of ISA-abstracted memory: an instruction or a data element.
MemoryCell(Memory, int, BitString, String, String) - Constructor for class ISA.MemoryCell
 
mHex() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mHexDigit() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mIdentifier() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mNewLine() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
modelTouched(DataModelEvent) - Method in class GraphicalUI.View
 
mRegister() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mRegisterNumber() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__15() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__16() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__17() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__18() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__19() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__20() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__21() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__22() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__23() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__24() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__25() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__26() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__27() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__28() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__29() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__30() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__31() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__32() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__33() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__34() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__35() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__36() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__37() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__38() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__39() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__40() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mT__41() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mTokens() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 
mWS() - Method in class Arch.SM213.ISA.AsmSM213Lexer
 

N

NewLine - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
NewLine - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
nextDataCell(TableCellIndex) - Method in class GraphicalUI.ViewModel
 
nop() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
number() - Method in class Arch.SM213.ISA.AsmSM213Parser
 

O

offset - Variable in class Arch.SM213.ISA.AsmSM213Parser.baseOffset2_return
 
offset - Variable in class Arch.SM213.ISA.AsmSM213Parser.baseOffset4_return
 
operand() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
OSXAdapter - Class in GraphicalUI
 
OSXAdapter(String, Object, Method) - Constructor for class GraphicalUI.OSXAdapter
 

P

passOne(Memory, int) - Method in class Arch.SM213.ISA.AsmSM213Parser
 
passTwo(Memory, int) - Method in class Arch.SM213.ISA.AsmSM213Parser
 
pc - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 
PC - Static variable in class Machine.AbstractCPU
 
PickModel - Class in Util
 
PickModel(DataModel, List<DataModel>, List<Integer>, List<Integer>) - Constructor for class Util.PickModel
 
prevDataCell(TableCellIndex) - Method in class GraphicalUI.ViewModel
 
processorState - Variable in class Machine.AbstractCPU
Processor state registers.
program() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
proxySignature - Variable in class GraphicalUI.OSXAdapter
 
ps - Variable in class Arch.SM213.Machine.AbstractSM213CPU
 

R

read(int, int) - Method in class Machine.AbstractMainMemory
READ a sequence of bytes from memory starting at specified ALIGNED.
read() - Method in class Machine.Register
 
read(int) - Method in class Machine.RegisterSet
 
read(String) - Method in class Machine.RegisterSet
 
readInput() - Method in class Machine.Register
 
readInput(String) - Method in class Machine.RegisterSet
 
readInput(int) - Method in class Machine.RegisterSet
 
readInputUnsigned() - Method in class Machine.Register
 
readInteger(int) - Method in class Machine.AbstractMainMemory
Read a four-byte integer from memory at ALIGNED address.
readIntegerUnaligned(int) - Method in class Machine.AbstractMainMemory
Read a four-byte Big-Endian integer from memory at possibly UNALIGNED address.
readUnaligned(int, int) - Method in class Machine.AbstractMainMemory
READ a sequence of bytes from memory starting at specified possibly-UNALIGNED address.
readUnsigned() - Method in class Machine.Register
 
reg - Variable in class Machine.AbstractCPU
General purpose register file.
Region - Class in ISA
The code description of a contiguous range of memory.
Region.AssemblyString - Class in ISA
 
Region.AssemblyString(int, String, String, String) - Constructor for class ISA.Region.AssemblyString
 
Region.ByteLengthChangedListener - Interface in ISA
 
Region.LabelString - Class in ISA
 
Region.LabelString(int, String) - Constructor for class ISA.Region.LabelString
 
Region.Type - Enum in ISA
 
Register - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
Register - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
register() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
Register - Class in Machine
 
Register.ClockTransition - Enum in Machine
 
Register.ReadInputException - Exception in Machine
 
Register.ReadInputException() - Constructor for exception Machine.Register.ReadInputException
 
RegisterNumber - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
RegisterNumber - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
RegisterSet - Class in Machine
 
RegisterSet(String) - Constructor for class Machine.RegisterSet
 
RegisterSet.InvalidRegisterNameError - Error in Machine
 
RegisterSet.InvalidRegisterNameError() - Constructor for error Machine.RegisterSet.InvalidRegisterNameError
 
RegisterSet.InvalidRegisterNumberException - Exception in Machine
 
RegisterSet.InvalidRegisterNumberException() - Constructor for exception Machine.RegisterSet.InvalidRegisterNumberException
 
remove(MemoryCell) - Method in class ISA.Memory.LabelMap
 
removeUndoableEditListeners(UndoableEditListener) - Method in class GraphicalUI.View
 
replace(Vector<MemoryCell>, Vector<MemoryCell>) - Method in class ISA.InstructionRegion
 
replace(Vector<MemoryCell>, Vector<MemoryCell>) - Method in class ISA.Region
 
restoreDataFromCheckpoint() - Method in class ISA.Memory
Restore from checkpoint
restoreFromCheckpoint() - Method in class ISA.DataRegion
 
restoreValueFromCheckpoint() - Method in class ISA.MemoryCell
 
reverseGet(Object) - Method in class ISA.Memory.LabelMap
 
reverseGet(Object) - Method in interface Util.MapModel
 
rewind() - Method in class Util.BitStream
 
rewind() - Method in class Util.IntStream
 
rowIndex - Variable in class Util.TableCellIndex
 

S

saveToFile(String) - Method in class ISA.Memory
Save to file
selectionMayHaveChanged(boolean) - Method in interface GraphicalUI.View.SelectionListener
 
set(int, UnsignedByte[]) - Method in class Arch.SM213.Machine.Student.MainMemory
Store a sequence of bytes into memory.
set(int, UnsignedByte[]) - Method in class Machine.AbstractMainMemory
Write a sequence of bytes to memory.
setAboutHandler(Object, Method) - Static method in class GraphicalUI.OSXAdapter
 
setApplicationEventHandled(Object, boolean) - Method in class GraphicalUI.OSXAdapter
 
setChanged(boolean) - Method in class ISA.Memory
 
setColumnWidth(int, int) - Method in class GraphicalUI.View
 
setFileHandler(Object, Method) - Static method in class GraphicalUI.OSXAdapter
 
setHandler(OSXAdapter) - Static method in class GraphicalUI.OSXAdapter
 
setHighlightControl(ViewFormat.HighlightControl, JComponent) - Method in class GraphicalUI.ViewFormat
 
setLength(int) - Method in class GraphicalUI.ViewModel
 
setPC(int) - Method in class Arch.SM213.Machine.AbstractSM213CPU
 
setPC(int) - Method in class Machine.AbstractCPU
Set PC to value
setPlaceholderInstruction(int) - Method in class ISA.AbstractISA
Called by subclass to specify an instruction to use a a placehold (nop).
setPreferencesHandler(Object, Method) - Static method in class GraphicalUI.OSXAdapter
 
setQuitHandler(Object, Method) - Static method in class GraphicalUI.OSXAdapter
 
setValue(String) - Method in class GraphicalUI.ValueView.Value
 
setValue(String, int) - Method in class GraphicalUI.ValueView.Value
 
setValue(String) - Method in class ISA.DataRegion.Value
 
setValue(String, int) - Method in class ISA.DataRegion.Value
 
setValue(String) - Method in class ISA.Region.AssemblyString
 
setValue(String) - Method in class ISA.Region.LabelString
 
setValueAt(Object, int, int) - Method in class GraphicalUI.ValueView
 
setValueAt(Object, int, int) - Method in class GraphicalUI.ViewModel
 
setValueAt(Object, int, int) - Method in class ISA.DataRegion
 
setValueAt(Object, int, int) - Method in class ISA.InstructionModel
 
setValueAt(Object, int, int) - Method in class ISA.InstructionRegion
 
setValueAt(Object[], int, int) - Method in class ISA.Memory
 
setValueAt(Object, int, int) - Method in class ISA.Memory
 
setValueAt(Object[], int, int) - Method in class Machine.AbstractMainMemory
 
setValueAt(Object, int, int) - Method in class Machine.AbstractMainMemory
 
setValueAt(Object, int, int) - Method in class Machine.Register
 
setValueAt(Object, int, int) - Method in class Machine.RegisterSet
 
setValueAt(Object[], int, int) - Method in class Util.AbstractDataModel
 
setValueAt(Object, int, int) - Method in class Util.AbstractDataModel
 
setValueAt(Object, int, int) - Method in class Util.CompoundModel
 
setValueAt(Object, int, int) - Method in interface Util.DataModel
 
setValueAt(Object[], int, int) - Method in interface Util.DataModel
 
setValueAt(Object, int, int) - Method in class Util.PickModel
 
setValueAtByUser(Object, int, int) - Method in class ISA.Memory
 
setValueAtByUser(Object[], int, int) - Method in class ISA.Memory
 
setValueAtByUser(Object[], int, int) - Method in class Machine.AbstractMainMemory
 
setValueAtByUser(Object, int, int) - Method in class Machine.AbstractMainMemory
 
setValueAtByUser(Object, int, int) - Method in class Machine.Register
 
setValueAtByUser(Object, int, int) - Method in class Machine.RegisterSet
 
setValueAtByUser(Object, int, int) - Method in class Util.AbstractDataModel
 
setValueAtByUser(Object[], int, int) - Method in class Util.AbstractDataModel
 
setValueAtByUser(Object, int, int) - Method in interface Util.DataModel
 
setValueAtByUser(Object[], int, int) - Method in interface Util.DataModel
 
setWidth(int) - Method in class GraphicalUI.ViewPane
May be ignored by some view panes, but exists for those that will adjust their width on command.
shift() - Method in class Arch.SM213.ISA.AsmSM213Parser
 
shortValue() - Method in class Util.HalfByteNumber
 
shortValue() - Method in class Util.SixByteNumber
 
showBreak(AbstractUI.DebugPoint, int) - Method in class GraphicalUI.UI
 
showHalted() - Method in class GraphicalUI.UI
 
showInstr(int) - Method in class GraphicalUI.UI
 
showMemRead(int, int, byte[]) - Method in class GraphicalUI.UI
 
showMemWrite(int, int, byte[]) - Method in class GraphicalUI.UI
 
showMessage(String) - Method in class GraphicalUI.UI
 
showRegRead(int, int, int) - Method in class GraphicalUI.UI
 
showRegWrite(int, int, int) - Method in class GraphicalUI.UI
 
SimpleMachine - Class in <Unnamed>
 
SimpleMachine() - Constructor for class SimpleMachine
 
SixByteNumber - Class in Util
 
SixByteNumber(long) - Constructor for class Util.SixByteNumber
 
sizeChanged() - Method in interface GraphicalUI.View.SizeChangedListener
 
sizeChanged() - Method in class GraphicalUI.ViewPane
 
skip(int) - Method in class Util.BitStream
 
start() - Method in class Machine.AbstractCPU
Start processor execution.
stopCellEditing() - Method in class GraphicalUI.View.CellEditor
 
store() - Method in class Arch.SM213.ISA.AsmSM213Parser
 

T

T__15 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__15 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__16 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__16 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__17 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__17 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__18 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__18 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__19 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__19 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__20 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__20 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__21 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__21 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__22 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__22 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__23 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__23 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__24 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__24 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__25 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__25 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__26 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__26 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__27 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__27 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__28 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__28 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__29 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__29 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__30 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__30 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__31 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__31 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__32 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__32 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__33 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__33 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__34 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__34 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__35 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__35 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__36 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__36 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__37 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__37 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__38 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__38 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__39 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__39 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__40 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__40 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
T__41 - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
T__41 - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
TableCellIndex - Class in Util
 
TableCellIndex(int, int) - Constructor for class Util.TableCellIndex
 
tableChanged(TableModelEvent) - Method in class GraphicalUI.View
 
targetMethod - Variable in class GraphicalUI.OSXAdapter
 
targetObject - Variable in class GraphicalUI.OSXAdapter
 
tellObservers(DataModelEvent) - Method in class Util.AbstractDataModel
 
tellObservers(List<DataModelEvent>) - Method in class Util.AbstractDataModel
 
textToValue(String, Object) - Method in class GraphicalUI.ViewFormat
 
tickClock(Register.ClockTransition) - Method in class Machine.Register
 
tickClock(Register.ClockTransition) - Method in class Machine.RegisterSet
 
toAsm(BitString, int, int) - Method in class ISA.AbstractISA.CompoundField
 
toAsm(BitString, int, int) - Method in class ISA.AbstractISA.DictonaryField
 
toAsm(BitString, int, int) - Method in interface ISA.AbstractISA.InsLayout
 
toAsm(BitString, int, int) - Method in class ISA.AbstractISA.LabelableField
 
toAsm(BitString, int, int) - Method in class ISA.AbstractISA.ShiftOpCodeField
 
toAsm(BitString, int, int) - Method in class ISA.AbstractISA.SimpleField
 
toBytes() - Method in class Util.BitString
 
toDsc(BitString, int, int) - Method in class ISA.AbstractISA.CompoundField
 
toDsc(BitString, int, int) - Method in class ISA.AbstractISA.DictonaryField
 
toDsc(BitString, int, int) - Method in interface ISA.AbstractISA.InsLayout
 
toDsc(BitString, int, int) - Method in class ISA.AbstractISA.LabelableField
 
toDsc(BitString, int, int) - Method in class ISA.AbstractISA.ShiftOpCodeField
 
toDsc(BitString, int, int) - Method in class ISA.AbstractISA.SimpleField
 
tokenNames - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 
toMac(BitString, int, int) - Method in class ISA.AbstractISA.CompoundField
 
toMac(BitString, int, int) - Method in interface ISA.AbstractISA.InsLayout
 
toMac(BitString, int, int) - Method in class ISA.AbstractISA.SimpleField
 
toNumber() - Method in class GraphicalUI.ValueView.Value
 
toNumber() - Method in class ISA.DataRegion.Value
 
toNumber() - Method in class Util.HalfByteNumber
 
toNumber() - Method in class Util.SixByteNumber
 
toSelectedString() - Method in class ISA.Region.AssemblyString
 
toString() - Method in class GraphicalUI.ValueView.Value
 
toString() - Method in exception GraphicalUI.ViewFormat.FormatException
 
toString() - Method in exception ISA.AbstractAssembler.AssemblyException
 
toString() - Method in class ISA.DataRegion.Value
 
toString() - Method in exception ISA.Memory.InputFileSyntaxException
 
toString() - Method in class ISA.Region.AssemblyString
 
toString() - Method in class ISA.Region.LabelString
 
triggerInterrupt() - Method in class Machine.AbstractCPU
 

U

UI - Class in GraphicalUI
 
UI(AbstractCPU, Memory, String) - Constructor for class GraphicalUI.UI
 
undoableEditHappened(UndoableEditEvent) - Method in class GraphicalUI.View
 
UnsignedByte - Class in Util
Unsigned Byte.
UnsignedByte(Byte) - Constructor for class Util.UnsignedByte
 
UnsignedByte(int) - Constructor for class Util.UnsignedByte
 
update(Observable, Object) - Method in class GraphicalUI.ValueView
 
update(Observable, Object) - Method in class GraphicalUI.ViewModel
 
update(Observable, Object) - Method in class ISA.Memory
Called when the PC or memory that backs a region changes.
update(Observable, Object) - Method in class Machine.RegisterSet
 
update(Observable, Object) - Method in class Util.CompoundModel
 
update(Observable, Object) - Method in class Util.PickModel
 
Util - package Util
Core utility routines used throughout the simulator.

V

value - Variable in class Arch.SM213.ISA.AsmSM213Parser.label_return
 
value - Variable in class ISA.MemoryCell
 
value() - Method in class Util.UnsignedByte
 
valueOf(String) - Static method in enum Arch.SM213.ISA.AsmSM213Parser.LineType
Returns the enum constant of this type with the specified name.
valueOf(Memory, int, int, String, String) - Static method in class ISA.Datum
 
valueOf(Memory, int, int, int[], String, String) - Static method in class ISA.Instruction
 
valueOf(String) - Static method in enum ISA.Memory.LabelMapEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ISA.Memory.LengthChangedListener.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ISA.Region.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Machine.Register.ClockTransition
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum Util.DataModelEvent.Type
Returns the enum constant of this type with the specified name.
valueOfMemory(Memory, int, int, String, String) - Static method in class ISA.Datum
 
valueOfMemory(Memory, int, String, String) - Static method in class ISA.Instruction
 
valueOfPlaceholder(Memory, int, String, String) - Static method in class ISA.Instruction
 
values() - Static method in enum Arch.SM213.ISA.AsmSM213Parser.LineType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ISA.Memory.LabelMapEventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ISA.Memory.LengthChangedListener.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ISA.Region.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Machine.Register.ClockTransition
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum Util.DataModelEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
valueToText(Object, boolean) - Method in class GraphicalUI.ViewFormat
 
ValueView - Class in GraphicalUI
 
ValueView.Value - Class in GraphicalUI
 
View - Class in GraphicalUI
 
View.CellEditor - Class in GraphicalUI
 
View.CellEditor(JTextField, ViewFormat) - Constructor for class GraphicalUI.View.CellEditor
 
View.CellEditor(JCheckBox, ViewFormat) - Constructor for class GraphicalUI.View.CellEditor
 
View.CellRenderer - Class in GraphicalUI
 
View.CellRenderer() - Constructor for class GraphicalUI.View.CellRenderer
 
View.SelectionListener - Interface in GraphicalUI
Selection listeners receive upcall each time the model's selelection status may have changed due to cell being selected, edited or de-selected.
View.SizeChangedListener - Interface in GraphicalUI
 
ViewCheckBox - Class in GraphicalUI
 
ViewFormat - Class in GraphicalUI
 
ViewFormat.FormatException - Exception in GraphicalUI
 
ViewLabel - Class in GraphicalUI
 
ViewModel - Class in GraphicalUI
TableModel built around a subrange of a DataModel, optionally grouping rows of the DataModel into a single row of the TableModel and supplying new names for the revised columns.
ViewPane - Class in GraphicalUI
 
ViewPane(String, ViewModel, MessageBoard, List<ViewFormat>) - Constructor for class GraphicalUI.ViewPane
 
ViewTextField - Class in GraphicalUI
 

W

write(int, UnsignedByte[]) - Method in class Machine.AbstractMainMemory
WRITE a sequence of bytes to memory starting at specified ALIGNED.
write(long) - Method in class Machine.Register
 
write(int, long) - Method in class Machine.RegisterSet
 
write(String, long) - Method in class Machine.RegisterSet
 
writeInteger(int, int) - Method in class Machine.AbstractMainMemory
 
writeIntegerUnaligned(int, int) - Method in class Machine.AbstractMainMemory
 
writeToByUser(DataModel, int) - Method in class Util.BitString
 
writeUnaligned(int, UnsignedByte[]) - Method in class Machine.AbstractMainMemory
WRITE a sequence of bytes to memory starting at specified possibly-UNALIGNED address.
WS - Static variable in class Arch.SM213.ISA.AsmSM213Lexer
 
WS - Static variable in class Arch.SM213.ISA.AsmSM213Parser
 

A B C D E F G H I J L M N O P R S T U V W
Simple Machine