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

A

accept(File) - Method in class sim.UI.ExeFileFilter
 
accept(File) - Method in class util.SimpleTextEditor.SimpleFilter
 
accept(File) - Method in class util.IDE.IDEFileFilter
 
accept(File) - Method in class util.IDE.ProjFileFilter
 
accept(File) - Method in class util.Builder.IDEFileFilter
 
accept(File) - Method in class util.Builder.ProjFileFilter
 
actionPerformed(ActionEvent) - Method in class sim.UI
 
actionPerformed(ActionEvent) - Method in class util.IDE
The main dispatch method for button actions.
actionPerformed(ActionEvent) - Method in class util.Builder
The main dispatch method for button actions.
ADD - Static variable in class comp.Assembler
Binary operators.
add(AsmIns) - Method in class asm.AsmFile
Add an assembly instruction.
add(ExprNode) - Method in class comp.ArgList
Add an expression to end of this arg list.
add(Module) - Method in class asm.Linker
 
add(Node) - Method in class comp.BlockNode
Add a statement to the end of this block.
add(String) - Method in class comp.VarDecl
Add another name to the list.
add(VarDecl) - Method in class comp.ParmList
Add a new variable declaration to this list.
addBreakPoint(int) - Method in class sim.Mips
 
addData(String, AsmData) - Method in class asm.AsmFile
Add a data item with this label
addDefs(Scope) - Method in class comp.WhileNode
 
addDefs(Scope) - Method in class comp.VarDecl
 
addDefs(Scope) - Method in class comp.ParmList
Add my definitions to the given scope.
addDefs(Scope) - Method in class comp.BlockNode
 
addDefs(Scope) - Method in class comp.IfNode
 
addDefs(Scope) - Method in class comp.Node
Add any variable definitions made by this node to the given scope.
addImm(String, String, int) - Method in class comp.Assembler
Add the immediate operand to reg, and place the result in dest.
addLabel(String) - Method in class asm.AsmFile
Add a label for the current location.
addListDataListener(ListDataListener) - Method in class sim.Mips.InsMemoryList
 
addListDataListener(ListDataListener) - Method in class sim.Mips.MemoryList
 
addListDataListener(ListDataListener) - Method in class sim.Mips.RegList
 
addRefTo(Map) - Method in class asm.AsmIns
If this instruction makes a reference to a label, its index is entered into the reference map.
ADDRL - Static variable in class sim.Mips
Bad address for load.
ADDRS - Static variable in class sim.Mips
Bad address for store.
addString(String, String) - Static method in class comp.Node
 
addTag(int) - Method in class sim.Cache.Set
 
alignjustify - Variable in class util.SimpleTextEditor
 
amJar() - Static method in class util.Env
 
AND - Static variable in class comp.Assembler
 
append(String) - Method in class util.IOTextArea
 
ArgList - class comp.ArgList.
An argument list is a list of expressions that are to be evaluated as actual parameters to a function call.
ArgList() - Constructor for class comp.ArgList
 
args - Variable in class comp.CallNode
 
arith - Variable in class sim.Mips
 
ArrayRefNode - class comp.ArrayRefNode.
An array reference expression.
ArrayRefNode(ExprNode, ExprNode) - Constructor for class comp.ArrayRefNode
 
ArrayType - class comp.ArrayType.
 
ArrayType(Type, int) - Constructor for class comp.ArrayType
 
asHTML(PrintStream) - Method in class comp.BinExprNode
Process the pieces of node.
asHTML(PrintStream) - Method in class comp.StringValNode
Process this node.
asHTML(PrintStream) - Method in class comp.ValNode
Process this node.
asHTML(PrintStream) - Method in class comp.IdNode
Process this node.
asHTML(PrintStream) - Method in class comp.ArrayRefNode
Process this node.
asHTML(PrintStream) - Method in class comp.AssignNode
Process this node.
asHTML(PrintStream) - Method in class comp.WhileNode
Process the body.
asHTML(PrintStream) - Method in class comp.ReturnNode
Process this node.
asHTML(PrintStream) - Method in class comp.CallNode
Process the body.
asHTML(PrintStream) - Method in class comp.VarDecl
Process this node.
asHTML(PrintStream) - Method in class comp.ArgList
Process each parameter.
asHTML(PrintStream) - Method in class comp.ParmList
Process each parameter.
asHTML(PrintStream) - Method in class comp.FuncDefNode
Process the parameter list and processeach of the body statements.
asHTML(PrintStream) - Method in class comp.BlockNode
Process each of the body statements.
asHTML(PrintStream) - Method in class comp.IfNode
Process the test, followed by the thenClause, followed by the elseClause
asHTML(PrintStream) - Method in class comp.Module
 
asHTML(PrintStream) - Method in class comp.Node
For printing the AST to HTML.
asm - package asm
The Cebollita assembler implements a subset of standard MIPS assembly language.
asm - Static variable in class comp.Node
 
Asm - class asm.Asm.
Entry point to the assembler.
Asm() - Constructor for class asm.Asm
 
asm(DataOutputStream, boolean, boolean) - Method in class asm.AsmFile
Assemble the file.
AsmData - class asm.AsmData.
An abstract class representing literal data in an assembly file.
AsmData(String, Object) - Constructor for class asm.AsmData
 
AsmDataSpace - class asm.AsmDataSpace.
Assembly file space directive.
AsmDataSpace(String, Object) - Constructor for class asm.AsmDataSpace
 
AsmDataString - class asm.AsmDataString.
Assembly file string as data.
AsmDataString(String, Object) - Constructor for class asm.AsmDataString
 
AsmDataWord - class asm.AsmDataWord.
Assembly file word as data.
AsmDataWord(String, Object) - Constructor for class asm.AsmDataWord
 
AsmFile - class asm.AsmFile.
Represents a file of assembly code.
AsmFile() - Constructor for class asm.AsmFile
 
asmFileName() - Method in class util.IDE.ProjFile
 
asmFileName() - Method in class util.Builder.ProjFile
 
AsmIns - class asm.AsmIns.
Represents a single assembly instruction.
AsmIns(int, String) - Constructor for class asm.AsmIns
Create a new instruction
Assembler - class comp.Assembler.
An object that knows how to spit out (MIPS) assembly code.
Assembler() - Constructor for class comp.Assembler
 
AssignNode - class comp.AssignNode.
Assignment statement.
AssignNode(ExprNode, ExprNode) - Constructor for class comp.AssignNode
 
assoc - Variable in class sim.Cache
 
attach(Memory, int) - Method in class sim.MemoryMap
Attach memory of size, at location

B

bank - Static variable in class comp.Scc
 
bare - Static variable in class asm.Module
 
bare - Static variable in class asm.Asm
 
bare - Variable in class sim.Mips
 
base - Variable in class comp.PointerType
 
base - Variable in class sim.BlockDevice
 
base - Variable in class sim.CharacterDevice
 
BinExprNode - class comp.BinExprNode.
Binary expression node.
BinExprNode(String, int, ExprNode, ExprNode) - Constructor for class comp.BinExprNode
 
binop(int, String, String, String) - Method in class comp.Assembler
Emit a binary operation on the three given registers.
biosLoad(String) - Method in class sim.Mips
Just raw loads whatever is in the given file, and sets $k0 to be the size of physical memory.
block - Variable in class comp.FuncDefNode
 
blockAddr - Variable in class sim.BlockDevice
 
BlockDevice - class sim.BlockDevice.
Implements a block device.
BlockDevice(Mips, RandomAccessFile, int, int) - Constructor for class sim.BlockDevice
Make a new block device connected to the given machine, at the given address, of the given block transfer size.
BlockNode - class comp.BlockNode.
A sequence of statements.
BlockNode() - Constructor for class comp.BlockNode
 
blockSize - Variable in class sim.BlockDevice
 
blockSize - Static variable in class sim.DiskMake
 
body - Variable in class comp.WhileNode
 
branchEq(String, String, String) - Method in class comp.Assembler
Branch to the given label if regs[r1] == regs[r2]
branches - Variable in class sim.Mips
 
branchesTaken - Variable in class sim.Mips
 
branchNe(String, String, String) - Method in class comp.Assembler
Branch to the given label if regs[r1] != regs[r2]
breakPoints - Variable in class sim.UI.BreakPointWindow
 
breakPoints - Variable in class sim.Mips
 
breaks - Variable in class sim.UI
 
breaks - Variable in class sim.UI.BreakPointWindow.BreakPoints
 
BRKPT - Static variable in class sim.Mips
Breakpoint exception.
build - Static variable in class util.Version
 
Builder - class util.Builder.
Really rudimentary project management tool for the Cebollita environment.
Builder.AsmFile - class util.Builder.AsmFile.
An AsmFile just assembles itself.
Builder.AsmFile(String) - Constructor for class util.Builder.AsmFile
 
Builder.CFile - class util.Builder.CFile.
A CFile first compiles and then assembles the resulting asm code.
Builder.CFile(String) - Constructor for class util.Builder.CFile
 
Builder.IDEFileFilter - class util.Builder.IDEFileFilter.
File filter to select only legal filename extensions: .c, .s, and .prj.
Builder.IDEFileFilter() - Constructor for class util.Builder.IDEFileFilter
 
Builder.ObjFile - class util.Builder.ObjFile.
A ObjFile is an object file.
Builder.ObjFile(String) - Constructor for class util.Builder.ObjFile
 
Builder.ProjButton - class util.Builder.ProjButton.
 
Builder.ProjButton(Builder.ProjFile, ImageIcon) - Constructor for class util.Builder.ProjButton
 
Builder.ProjFile - class util.Builder.ProjFile.
Abstract superclass of all files in the project.
Builder.ProjFile() - Constructor for class util.Builder.ProjFile
 
Builder.ProjFileFilter - class util.Builder.ProjFileFilter.
File filter to select only .prj files.
Builder.ProjFileFilter() - Constructor for class util.Builder.ProjFileFilter
 
Builder(String, String) - Constructor for class util.Builder
Create a new IDE.
buildRefMap() - Method in class asm.AsmFile
Build a reference table.
bytes - Variable in class asm.AsmDataSpace
 

C

Cache - class sim.Cache.
Implements a very simple cache simulation.
Cache.Line - class sim.Cache.Line.
 
Cache.Line() - Constructor for class sim.Cache.Line
 
Cache.Set - class sim.Cache.Set.
 
Cache.Set(int) - Constructor for class sim.Cache.Set
 
Cache(String, int, int, int) - Constructor for class sim.Cache
Make a new cache with the given number of lines, associativity, and the given linesize.
call(String) - Method in class comp.Assembler
Call the procedure.
CallNode - class comp.CallNode.
A function call.
CallNode(String, ArgList) - Constructor for class comp.CallNode
 
cebHomeDir - Static variable in class util.Env
 
changedUpdate(DocumentEvent) - Method in class util.SimpleTextEditor.MyDocumentListener
 
CharacterDevice - class sim.CharacterDevice.
A character I/O terminal device that implements our memory interface.
CharacterDevice(Mips, InputStream, OutputStream, int) - Constructor for class sim.CharacterDevice
 
CharType - class comp.CharType.
 
CharType() - Constructor for class comp.CharType
 
check() - Method in class util.SMOKVerifier.Checker
 
checkers - Variable in class util.SMOKVerifier
 
clean() - Method in class util.Builder.ProjFile
 
clearStack() - Method in class comp.ArgList
Shrink the stack by the right amount after a call.
close() - Method in class util.TextAreaOutputStream
 
close() - Method in class util.TextAreaWriter
 
codeGen(Scope, RegBank) - Method in class comp.BinExprNode
Generate code for the left and right expressions, and then apply the binary operator to those results.
codeGen(Scope, RegBank) - Method in class comp.StringValNode
A little tricky: Load the address of myself from the string table.
codeGen(Scope, RegBank) - Method in class comp.ValNode
Just do an immediate load of my value.
codeGen(Scope, RegBank) - Method in class comp.IdNode
 
codeGen(Scope, RegBank) - Method in class comp.ArrayRefNode
Read the array reference.
codeGen(Scope, RegBank) - Method in class comp.AssignNode
Evaluate the left expression for its lvalue.
codeGen(Scope, RegBank) - Method in class comp.WhileNode
Generate code for the test.
codeGen(Scope, RegBank) - Method in class comp.ReturnNode
Just places the value into the return register, and jumps to the function return label.
codeGen(Scope, RegBank) - Method in class comp.CallNode
Do the call.
codeGen(Scope, RegBank) - Method in class comp.VarDecl
Generally do nothing, unless I have an initializer.
codeGen(Scope, RegBank) - Method in class comp.ArgList
Generating code is a matter of growing the stack by the right amount, and then storing the values of each argument expression onto it in order.
codeGen(Scope, RegBank) - Method in class comp.ParmList
This is an error.
codeGen(Scope, RegBank) - Method in class comp.FuncDefNode
We implement a caller-saves register convention, aside for the return address and the frame pointer.
codeGen(Scope, RegBank) - Method in class comp.BlockNode
Just codeGen each statement I contain.
codeGen(Scope, RegBank) - Method in class comp.IfNode
Generate code for the test.
codeGen(Scope, RegBank) - Method in class comp.Module
Emit the data section, and then for each function defined, emit code for it.
codeGen(Scope, RegBank) - Method in class comp.Node
Generate code for this node.
comment(String) - Method in class comp.Assembler
Issue a comment without newline.
commentln(String) - Method in class comp.Assembler
Issue a comment on a line by itself.
comp - package comp
This package contains classes for compiling Cebollita C-- programs.
containsTag(int) - Method in class sim.Cache.Set
 
contentPane - Variable in class sim.UI
 
COP_BADADDR - Static variable in class sim.Mips
Cop0 BAD_ADDR register
COP_BASE - Static variable in class sim.Mips
Cop0 BASE register
COP_CAUSE - Static variable in class sim.Mips
Cop0 CAUSE register
COP_EPC - Static variable in class sim.Mips
Cop0 EPC register
COP_LENGTH - Static variable in class sim.Mips
Cop0 LENGTH register
COP_STATUS - Static variable in class sim.Mips
Cop0 STATUS register
cop0 - Variable in class sim.Mips
 
copy - Variable in class util.SimpleTextEditor
 
createEditMenu() - Method in class util.SimpleTextEditor
 
createToolbarActions() - Method in class util.SimpleTextEditor
 
ctl - Variable in class sim.BlockDevice
 
CTL_EXIT - Static variable in class util.SMOKVerifier
 
CTL_INIT - Static variable in class util.SMOKVerifier
 
cut - Variable in class util.SimpleTextEditor
 
cycle - Variable in class util.SMOKVerifier
 

D

data - Variable in class asm.Module
 
data - Variable in class sim.RAM
 
data - Variable in class sim.UI
 
dataMap - Variable in class asm.AsmFile
Maps data label -> data item.
dataOffset - Variable in class asm.Module
 
dataSize - Variable in class asm.Module
 
dataSize - Variable in class asm.Linker
 
date - Static variable in class util.Version
 
DBUS - Static variable in class sim.Mips
Bus error on store.
dCache - Variable in class sim.Mips
 
debugger() - Method in class sim.Mips
 
decodeIns(int) - Static method in class asm.AsmIns
Decode this instruction.
defaultBlockDevLoc - Static variable in class sim.Mips
 
defaultMemSize - Static variable in class sim.Mips
 
defaultTermDevLoc - Static variable in class sim.Mips
 
defineLocal(String, Type) - Method in class comp.Scope
Add a local variable definition to this scope.
defineParm(String, Type) - Method in class comp.Scope
Add a parameter definition to this scope.
deleteBreakPoint(int) - Method in class sim.Mips
 
des - Variable in class util.SimpleTextEditor.SimpleFilter
 
DiskMake - class sim.DiskMake.
Provides a single main method for writing "disk" images.
DiskMake() - Constructor for class sim.DiskMake
 
DIV - Static variable in class comp.Assembler
 
DocumentIsSaved - Variable in class util.SimpleTextEditor
 
DocumentIsUnedited - Variable in class util.SimpleTextEditor
 
doCycle() - Method in class sim.BlockDevice
 
doCycle() - Method in class sim.CharacterDevice
 
doCycle() - Method in class sim.RAM
 
doCycle() - Method in interface sim.Memory
 
doCycle() - Method in class sim.MemoryMap
Give each block a cycle
doSysCall() - Method in class sim.Mips
 
dump - Variable in class util.SMOKVerifier
 
dump(DataOutputStream) - Method in class asm.AsmDataSpace
 
dump(DataOutputStream) - Method in class asm.AsmDataWord
 
dump(DataOutputStream) - Method in class asm.AsmDataString
 
dump(DataOutputStream) - Method in class asm.AsmData
 
dumpAsGlobal() - Method in class comp.VarDecl
Dump global as global text.
dumpData(DataOutputStream) - Method in class asm.AsmFile
Dump the data segment.
dumpExe(DataInputStream) - Static method in class util.Exe
 
dumpExe(DataOutputStream, boolean) - Method in class asm.Linker
 
dumpMem(int, int) - Method in class sim.Mips
 
dumpSmok(DataInputStream) - Static method in class util.Exe
Dumps the executable in SmokMem format.
dumpState() - Method in class sim.Mips
 
dumpStats() - Method in class sim.Cache
Dump the stats that have been collected thus far.
dumpStrings(Map) - Method in class comp.Assembler
Dump a Map of static strings to the text region.
dumpText(DataOutputStream) - Method in class asm.AsmFile
Dump the text segment.

E

elseClause - Variable in class comp.IfNode
 
emitArrayOffset(Assembler, String) - Method in class comp.PointerType
 
emitArrayOffset(Assembler, String) - Method in class comp.IntType
 
emitArrayOffset(Assembler, String) - Method in class comp.Type
 
enc(String) - Method in class asm.AsmIns
 
encBType(String, String, int) - Method in class asm.AsmIns
Encode a one register branch instruction, eg: BGEZ
encIType(String, String, String, int) - Method in class asm.AsmIns
Encode as an Itype instruction: two register branches and immediat arithmetic instructions, and loads/stores
encJRType(String, String) - Method in class asm.AsmIns
Encode as a JRtype instruction.
encJType(String, int) - Method in class asm.AsmIns
Encode as a Jtype instruction.
encRType(String, String, String, String) - Method in class asm.AsmIns
Encode as an Rtype instruction.
entryPoint - Variable in class asm.Linker
 
Env - class util.Env.
Dump the user's environment variables to standard out.
Env() - Constructor for class util.Env
 
EQ - Static variable in class comp.Assembler
 
Exe - class util.Exe.
Reads and dumps an executable in our format.
Exe() - Constructor for class util.Exe
 
exeLoad(String, int) - Method in class sim.Mips
Loads a real executable, as per the format described in the class Linker.
exeMagicNumber - Static variable in class util.Version
 
exeSize - Variable in class sim.Mips
 
exit() - Method in class util.SimpleTextEditor
 
exitOnExit - Variable in class util.SimpleTextEditor
 
expr - Variable in class comp.ReturnNode
 
ExprNode - class comp.ExprNode.
Basic superclass for all expression nodes.
ExprNode() - Constructor for class comp.ExprNode
 

F

fatal(String) - Static method in class util.Msg
Print the message and exit.
file - Variable in class sim.BlockDevice
 
file - Variable in class util.Builder.ProjFile
 
FileDescriptions - Variable in class util.SimpleTextEditor
 
FileFormats - Variable in class util.SimpleTextEditor
 
fileName - Variable in class asm.Module
 
fileName - Variable in class sim.UI
 
fileName - Static variable in class util.Exe
 
findEntry(String) - Method in class asm.Linker
 
flush() - Method in class util.TextAreaOutputStream
 
flush() - Method in class util.TextAreaWriter
 
free(String) - Method in class comp.RegBank
Return this register to the bank.
freeAll() - Method in class comp.RegBank
Free all registers currenly in use.
func - Variable in class comp.Scope
 
FuncDefNode - class comp.FuncDefNode.
A function definition.
FuncDefNode(String, ParmList, BlockNode) - Constructor for class comp.FuncDefNode
 
funcDefs - Variable in class comp.Module
 
funcMap - Static variable in class asm.AsmIns
Maps mnemonic -> integer (func field)
funcValMap - Static variable in class asm.AsmIns
Maps integer -> instruction mnemonic.

G

getBase() - Method in class sim.Mips.MemoryList
 
getBase() - Method in class sim.Mips.GlobalMemoryList
 
getBase() - Method in class sim.Mips.StackMemoryList
 
getBreakPoints() - Method in class sim.Mips
 
getDataSize() - Method in class asm.AsmFile
Right now just tallies up the size of the strings (padded).
getDescription() - Method in class sim.UI.ExeFileFilter
 
getDescription() - Method in class util.SimpleTextEditor.SimpleFilter
 
getDescription() - Method in class util.IDE.IDEFileFilter
 
getDescription() - Method in class util.IDE.ProjFileFilter
 
getDescription() - Method in class util.Builder.IDEFileFilter
 
getDescription() - Method in class util.Builder.ProjFileFilter
 
getElementAt(int) - Method in class sim.UI.BreakPointWindow.BreakPoints
 
getElementAt(int) - Method in class sim.Mips.InsMemoryList
 
getElementAt(int) - Method in class sim.Mips.MemoryList
 
getElementAt(int) - Method in class sim.Mips.RegList
 
getFullVersion() - Static method in class util.Version
 
getGlobalMemListModel() - Method in class sim.Mips
 
getInsMemListModel() - Method in class sim.Mips
 
getLabel() - Static method in class comp.Node
 
getLastWriteAddr() - Method in class sim.MemoryMap
 
getLastWriteVal() - Method in class sim.MemoryMap
 
getLayoutSize() - Method in class comp.ArrayType
 
getLayoutSize() - Method in class comp.Type
 
getOffset(String) - Method in class asm.Module
 
getOffset(String) - Method in class comp.Scope
Get the offset of this name in the current frame.
getReferences(String) - Method in class asm.Module
Answer an arraylist of the references made by this module.
getRegListModel() - Method in class sim.Mips
 
getSize() - Method in class asm.AsmDataSpace
 
getSize() - Method in class asm.AsmDataWord
 
getSize() - Method in class asm.AsmDataString
 
getSize() - Method in class asm.AsmData
 
getSize() - Method in class sim.BlockDevice
 
getSize() - Method in class sim.CharacterDevice
 
getSize() - Method in class sim.RAM
 
getSize() - Method in interface sim.Memory
 
getSize() - Method in class sim.MemoryMap
 
getSize() - Method in class sim.UI.BreakPointWindow.BreakPoints
 
getSize() - Method in class sim.Mips.InsMemoryList
 
getSize() - Method in class sim.Mips.MemoryList
 
getSize() - Method in class sim.Mips.RegList
 
getStackMemListModel() - Method in class sim.Mips
 
getStatements() - Method in class comp.BlockNode
Answer an iterator for the statements.
getType(Scope) - Method in class comp.IdNode
 
getType(Scope) - Method in class comp.ArrayRefNode
 
getType(Scope) - Method in class comp.ExprNode
 
getType(String) - Method in class comp.Scope
Get the type of this variable.
globals - Variable in class comp.Module
 
globalScope - Static variable in class comp.Node
There is one global scope.
growStack(int) - Method in class comp.Assembler
Grow the stack by the given number of bytes.
GT - Static variable in class comp.Assembler
 
GTE - Static variable in class comp.Assembler
 

H

hi - Variable in class sim.Mips
 

I

IBUS - Static variable in class sim.Mips
Bus error on load.
iCache - Variable in class sim.Mips
 
id - Variable in class comp.IdNode
 
id - Variable in class comp.CallNode
 
id - Variable in class comp.FuncDefNode
 
IDE - class util.IDE.
Really rudimentary IDE for the cebollita environment.
IDE.AsmFile - class util.IDE.AsmFile.
An AsmFile just assembles itself.
IDE.AsmFile(String) - Constructor for class util.IDE.AsmFile
 
IDE.CFile - class util.IDE.CFile.
A CFile first compiles and then assembles the resulting asm code.
IDE.CFile(String) - Constructor for class util.IDE.CFile
 
IDE.IDEFileFilter - class util.IDE.IDEFileFilter.
File filter to select only legal filename extensions: .c, .s, and .prj.
IDE.IDEFileFilter() - Constructor for class util.IDE.IDEFileFilter
 
IDE.ProjFile - class util.IDE.ProjFile.
Abstract superclass of all files in the project.
IDE.ProjFile() - Constructor for class util.IDE.ProjFile
 
IDE.ProjFileFilter - class util.IDE.ProjFileFilter.
File filter to select only .prj files.
IDE.ProjFileFilter() - Constructor for class util.IDE.ProjFileFilter
 
IDE(String) - Constructor for class util.IDE
Create a new IDE.
IdNode - class comp.IdNode.
Basic identifier expression.
IdNode(String) - Constructor for class comp.IdNode
 
IfNode - class comp.IfNode.
A conditional.
IfNode(ExprNode, BlockNode, BlockNode) - Constructor for class comp.IfNode
 
in - Static variable in class sim.Mips
 
in - Variable in class util.IOTextArea
Characters that are entered into the text area can be read from this Reader.
in - Variable in class util.SMOKVerifier
 
in - Variable in class util.IOTextFrame
 
index - Variable in class comp.ArrayRefNode
 
inFileName - Static variable in class asm.Asm
 
init(String) - Method in class util.Builder.ProjFile
 
initialize() - Method in class sim.BlockDevice
 
initialize() - Method in class sim.CharacterDevice
Set the registers to their initial state.
initialize() - Method in class sim.RAM
zero out memory.
initialize() - Method in interface sim.Memory
 
initialize() - Method in class sim.MemoryMap
Initialize each block
initialize() - Method in class sim.Cache
 
initialize() - Method in class sim.Cache.Set
 
initialize() - Method in class sim.Cache.Line
 
initialize(boolean) - Method in class sim.Mips
Initialize the state of the machine.
initializer - Variable in class comp.VarDecl
 
initWith(ExprNode) - Method in class comp.VarDecl
Set the initializer expression.
insertUpdate(DocumentEvent) - Method in class util.SimpleTextEditor.MyDocumentListener
 
instructions - Variable in class asm.AsmFile
 
instructions - Variable in class sim.UI
 
instructions - Variable in class sim.Mips
 
INT - Static variable in class sim.Mips
External interrupt, such as IO completion.
IntType - class comp.IntType.
 
IntType() - Constructor for class comp.IntType
 
IOTextArea - class util.IOTextArea.
A TextArea with Reader and Writer.
IOTextArea(int, int) - Constructor for class util.IOTextArea
 
IOTextFrame - class util.IOTextFrame.
A window that contains just an IOTextArea.
IOTextFrame.InputTester - class util.IOTextFrame.InputTester.
 
IOTextFrame.InputTester(Writer) - Constructor for class util.IOTextFrame.InputTester
 
IOTextFrame() - Constructor for class util.IOTextFrame
 
is - Variable in class sim.CharacterDevice
 
isExtern - Variable in class comp.VarDecl
 
isHit(int) - Method in class sim.Cache
Is the given address mapped in the cache?
isMapped(int) - Method in class sim.MemoryMap
Answer if this address is mapped.
isParm - Variable in class comp.VarDef
 

J

jump(String) - Method in class comp.Assembler
Unconditionally jump to the given label.
jumpReg(String) - Method in class comp.Assembler
Jump to the address in the register.
jumps - Variable in class sim.Mips
 

L

label - Variable in class asm.AsmData
 
label - Variable in class comp.StringValNode
 
label(String) - Method in class comp.Assembler
Issue a label, without a trailing newline.
labelCount - Static variable in class comp.Node
 
labelln(String) - Method in class comp.Assembler
Issue a label on its own line.
labelMap - Variable in class asm.AsmFile
Maps instruction label -> integer (instruction index)
left - Variable in class comp.BinExprNode
 
left - Variable in class comp.ArrayRefNode
 
left - Variable in class comp.AssignNode
 
length - Variable in class comp.ArrayType
 
lines - Variable in class sim.Cache.Set
 
lineSize - Variable in class sim.Cache
 
Linker - class asm.Linker.
The Linker takes multiple object files and produces a single executable.
Linker() - Constructor for class asm.Linker
 
list - Variable in class sim.UI.MemoryPane
 
liveCount - Variable in class comp.RegBank
 
loadAddress(String, String) - Method in class comp.Assembler
Load an address.
loadButton - Variable in class sim.UI
 
loadByte(String, int, String) - Method in class comp.Assembler
Load a byte from the integer offset of base register into the dest.
loadByte(String, String, String) - Method in class comp.Assembler
Load a byte from the labeled offset of base register.
loadDecodeMap(Map, String) - Static method in class asm.AsmIns
DecodeMap must contains bindings Integer->String
loadImm(String, int) - Method in class comp.Assembler
Handles constants larger than |2^15| now
loadMap(Map, String) - Static method in class asm.AsmIns
 
loads - Variable in class sim.Mips
 
loadWord(String, int, String) - Method in class comp.Assembler
Load a word from offset of base register into the dest register.
loadWord(String, String, String) - Method in class comp.Assembler
Load a word from the labeled offset of base register into the dest.
localOffset - Variable in class comp.Scope
 
lookup(String) - Method in class comp.Scope
Lookup the variable name in this scope.
low - Variable in class sim.Mips
 
LT - Static variable in class comp.Assembler
 
LTE - Static variable in class comp.Assembler
 
lValue(Assembler, String, int) - Method in class comp.Type
 
lvalue(Scope, RegBank) - Method in class comp.IdNode
Answer the address of this name.
lvalue(Scope, RegBank) - Method in class comp.ArrayRefNode
Returns the address of this array reference.
lvalue(Scope, RegBank) - Method in class comp.Node
Answer a register that holds a pointer to this node's value.
lValue(String, Assembler, RegBank) - Method in class comp.Scope
Issue an lvalue.
lValueGlobal(Assembler, String, String) - Method in class comp.Type
 

M

m_ins - Variable in class asm.AsmIns
 
m_isJump - Variable in class asm.AsmIns
 
m_label - Variable in class asm.AsmIns
 
m_labelRef - Variable in class asm.AsmIns
 
m_line - Variable in class asm.AsmIns
 
m_num - Variable in class asm.AsmIns
 
machine - Variable in class sim.BlockDevice
 
machine - Variable in class sim.CharacterDevice
 
machine - Variable in class sim.UI
 
machine - Variable in class util.SMOKVerifier
 
main(String[]) - Static method in class asm.Module
 
main(String[]) - Static method in class asm.Linker
The linker takes the following arguments: --bare (just dump instructions, no executable format) --verbose (print lots of messages) --entry [name] (set the entry point the given symbol) --at [address] (link as if the text segment will begin at the given address, zero is the default).
main(String[]) - Static method in class asm.Asm
 
main(String[]) - Static method in class comp.Scc
 
main(String[]) - Static method in class sim.UI
 
main(String[]) - Static method in class sim.Mips
 
main(String[]) - Static method in class sim.DiskMake
Simply dumps the argument files, in order, into a file called "image" (silently overwrites).
main(String[]) - Static method in class util.Version
 
main(String[]) - Static method in class util.Util
 
main(String[]) - Static method in class util.SMOKVerifier
 
main(String[]) - Static method in class util.SimpleTextEditor
 
main(String[]) - Static method in class util.Run
 
main(String[]) - Static method in class util.IOTextFrame
 
main(String[]) - Static method in class util.IDE
Test method for the windowing UI
main(String[]) - Static method in class util.Exe
 
main(String[]) - Static method in class util.Env
 
main(String[]) - Static method in class util.Builder
Test method for the windowing UI
majorVersion - Static variable in class util.Version
 
make() - Method in class util.IDE.ProjFile
 
make() - Method in class util.IDE.CFile
 
make() - Method in class util.IDE.AsmFile
 
make(Builder.ProjFile) - Method in class util.Builder.ProjFile
 
make(Builder.ProjFile) - Method in class util.Builder.CFile
 
make(Builder.ProjFile) - Method in class util.Builder.AsmFile
 
make(Builder.ProjFile) - Method in class util.Builder.ObjFile
 
makeScope() - Method in class comp.FuncDefNode
Create a scope for this function.
makeType(String) - Static method in class comp.TypeFactory
Make a unit type.
makeType(String, int) - Static method in class comp.TypeFactory
Make an array type of the given base type.
mem - Variable in class sim.Mips
 
memAddr - Variable in class sim.BlockDevice
 
Memory - interface sim.Memory.
Every memory device must implement this interface.
MemoryMap - class sim.MemoryMap.
Implements a mapped memory.
MemoryMap(Mips) - Constructor for class sim.MemoryMap
 
MEMW_ADDR - Static variable in class util.SMOKVerifier
 
MEMW_ENABLE - Static variable in class util.SMOKVerifier
 
MEMW_VAL - Static variable in class util.SMOKVerifier
 
mFont - Variable in class sim.UI
 
minorVersion - Static variable in class util.Version
 
Mips - class sim.Mips.
Implements a simple MIPS simulator.
Mips.GlobalMemoryList - class sim.Mips.GlobalMemoryList.
 
Mips.GlobalMemoryList() - Constructor for class sim.Mips.GlobalMemoryList
 
Mips.InsMemoryList - class sim.Mips.InsMemoryList.
 
Mips.InsMemoryList() - Constructor for class sim.Mips.InsMemoryList
 
Mips.MemoryList - class sim.Mips.MemoryList.
 
Mips.MemoryList() - Constructor for class sim.Mips.MemoryList
 
Mips.RegList - class sim.Mips.RegList.
 
Mips.RegList() - Constructor for class sim.Mips.RegList
 
Mips.StackMemoryList - class sim.Mips.StackMemoryList.
 
Mips.StackMemoryList() - Constructor for class sim.Mips.StackMemoryList
 
Mips(int, int) - Constructor for class sim.Mips
 
MOD - Static variable in class comp.Assembler
 
model - Variable in class sim.UI.MemoryPane
 
model - Variable in class sim.UI.BreakPointWindow
 
Module - class asm.Module.
Used to represent a single object file.
Module - class comp.Module.
This is really the toplevel container node.
Module() - Constructor for class comp.Module
 
Module(String) - Constructor for class asm.Module
 
modules - Variable in class asm.Linker
 
more - Variable in class util.SimpleTextEditor
 
mouseClicked(MouseEvent) - Method in class sim.UI.InsMouseListener
 
move(String, String) - Method in class comp.Assembler
Move the value in the src register into the dest register.
Msg - class util.Msg.
Provides a uniform error message interface.
Msg() - Constructor for class util.Msg
 
msg(String) - Method in class sim.Mips
 
msgln(String) - Method in class sim.Mips
 
MULT - Static variable in class comp.Assembler
 

N

name - Variable in class comp.Type
 
name - Variable in class sim.Cache
 
name - Variable in class util.IDE.ProjFile
 
name - Variable in class util.Builder.ProjFile
 
names - Variable in class comp.VarDecl
 
NEQ - Static variable in class comp.Assembler
 
newDoc() - Method in class util.SimpleTextEditor
 
newline - Variable in class util.SimpleTextEditor
 
newReg() - Method in class comp.RegBank
Answer a new register name as a String.
next - Variable in class util.Builder.ProjFile
 
Node - class comp.Node.
The superclass of all AST Nodes.
Node() - Constructor for class comp.Node
 
nop() - Method in class comp.Assembler
Do nothing.
NUM_TYPES - Static variable in class util.SMOKVerifier
 

O

objFileName() - Method in class util.IDE.ProjFile
 
objFileName() - Method in class util.Builder.ProjFile
 
objMagicNumber - Static variable in class util.Version
 
offset - Variable in class asm.AsmData
 
offset - Variable in class comp.VarDef
 
op - Variable in class comp.BinExprNode
 
open() - Method in class util.SimpleTextEditor
 
opMap - Static variable in class asm.AsmIns
Maps mnemonic -> integer (opcode)
opString - Variable in class comp.BinExprNode
 
opt - Static variable in class asm.Asm
 
optimize() - Method in class asm.AsmFile
 
opValMap - Static variable in class asm.AsmIns
Maps integer -> instruction mnemonic
OR - Static variable in class comp.Assembler
 
os - Variable in class sim.CharacterDevice
 
out - Static variable in class comp.Assembler
 
out - Variable in class util.IOTextArea
Printing something to out causes it to be displayed on the text area.
out - Variable in class util.SMOKVerifier
 
out - Variable in class util.IOTextFrame
 
out - Variable in class util.IOTextFrame.InputTester
 
outFileName - Static variable in class asm.Asm
 
OVF - Static variable in class sim.Mips
Arithmetic overflow exception.

P

paddedHexString(int) - Static method in class util.Util
Answer this value in hex, but padded with zeros.
pane - Variable in class sim.UI.BreakPointWindow
 
panel - Variable in class sim.UI.MemoryPane
 
ParmList - class comp.ParmList.
Represents a formal parameter list belonging to a function definition.
ParmList() - Constructor for class comp.ParmList
 
parmOffset - Variable in class comp.Scope
 
parms - Variable in class comp.FuncDefNode
 
parseArgs(String[]) - Static method in class asm.Asm
 
paste - Variable in class util.SimpleTextEditor
 
patch() - Method in class asm.Linker
 
patch(int, String, ArrayList) - Method in class asm.Module
Patch the instruction in this module at the given offset that makes the reference to the given label, defined in the given module.
pc - Variable in class sim.Mips
 
PC - Static variable in class util.SMOKVerifier
 
PointerType - class comp.PointerType.
 
PointerType(Type) - Constructor for class comp.PointerType
 
print() - Method in class asm.AsmFile
Print the contents of the file.
print(boolean) - Method in class asm.Linker
 
print(PrintStream, boolean) - Method in class asm.Module
 
printData() - Method in class asm.AsmFile
Dump the data to standard output.
printSyms(PrintWriter) - Method in class asm.Module
Arguably somewhat broken: right now only prints symbols that are ever "targeted", that is, are the targets for jumps or branches.
projFile - Variable in class util.Builder.ProjButton
 
props - Static variable in class util.Env
 

Q

quit() - Method in class sim.Mips
 

R

raiseException(int) - Method in class sim.Mips
 
ram - Variable in class sim.Mips
 
RAM - class sim.RAM.
Implements a simple, random-access memory
RAM(int) - Constructor for class sim.RAM
 
rand - Static variable in class sim.Cache
 
read(DataInputStream) - Method in class asm.Module
 
read(int) - Method in class sim.Cache
Do a read access of the cache.
read(String) - Method in class asm.Module
 
read(String) - Method in class util.SimpleTextEditor
 
readByte(int) - Method in class sim.BlockDevice
 
readByte(int) - Method in class sim.CharacterDevice
 
readByte(int) - Method in class sim.RAM
 
readByte(int) - Method in interface sim.Memory
 
readByte(int) - Method in class sim.MemoryMap
Read a byte at the given address.
readByte(int) - Method in class sim.Mips
 
readCop0(int) - Method in class sim.Mips
 
readHits - Variable in class sim.Cache
 
readMisses - Variable in class sim.Cache
 
readWord(int) - Method in class sim.BlockDevice
 
readWord(int) - Method in class sim.CharacterDevice
 
readWord(int) - Method in class sim.RAM
 
readWord(int) - Method in interface sim.Memory
 
readWord(int) - Method in class sim.MemoryMap
Read a word at the given address.
readWord(int) - Method in class sim.Mips
 
refMap - Variable in class asm.AsmFile
Maps symbol -> List[integer] (instruction indeces)
refTable - Variable in class asm.Module
 
refTabSize - Variable in class asm.Module
 
refTabString - Variable in class asm.AsmFile
A string representation of the reference table.
RegBank - class comp.RegBank.
Manages a set of registers for use during code generation.
RegBank(int) - Constructor for class comp.RegBank
 
regList - Variable in class sim.UI
 
regMap - Static variable in class asm.AsmIns
Maps mnemonic -> integer (register number)
regs - Variable in class comp.RegBank
 
regs - Variable in class sim.Mips
 
regValMap - Static variable in class asm.AsmIns
Maps integer -> register name
REGW_ADDR - Static variable in class util.SMOKVerifier
 
REGW_ENABLE - Static variable in class util.SMOKVerifier
 
REGW_VAL - Static variable in class util.SMOKVerifier
 
reinitButton - Variable in class sim.UI
 
removeListDataListener(ListDataListener) - Method in class sim.Mips.InsMemoryList
 
removeListDataListener(ListDataListener) - Method in class sim.Mips.MemoryList
 
removeListDataListener(ListDataListener) - Method in class sim.Mips.RegList
 
removeUpdate(DocumentEvent) - Method in class util.SimpleTextEditor.MyDocumentListener
 
reset() - Static method in class comp.Node
Clears global counters and string table.
restoreRegs(Assembler, List) - Method in class comp.RegBank
Restore all the registers in the given list.
returnLabel - Variable in class comp.FuncDefNode
 
ReturnNode - class comp.ReturnNode.
Return a value from a function.
ReturnNode(ExprNode) - Constructor for class comp.ReturnNode
 
RI - Static variable in class sim.Mips
Reserved/illegal instruction.
right - Variable in class comp.BinExprNode
 
right - Variable in class comp.AssignNode
 
Run - class util.Run.
A single entry point to the tools.
run() - Method in class sim.Mips
 
run() - Method in class util.SMOKVerifier
 
run() - Method in class util.IOTextFrame.InputTester
 
Run() - Constructor for class util.Run
 
runButton - Variable in class sim.UI
 
runner - Variable in class sim.UI
 
running - Variable in class sim.Mips
 
rValue(Assembler, String, int, String) - Method in class comp.ArrayType
 
rValue(Assembler, String, int, String) - Method in class comp.PointerType
 
rValue(Assembler, String, int, String) - Method in class comp.CharType
 
rValue(Assembler, String, int, String) - Method in class comp.IntType
 
rValue(Assembler, String, int, String) - Method in class comp.Type
 
rvalue(Scope, RegBank) - Method in class comp.IdNode
Answer the value of this name.
rvalue(Scope, RegBank) - Method in class comp.Node
Answer a register that holds this node's value.
rValue(String, Assembler, RegBank) - Method in class comp.Scope
Issue an rvalue for this name.
rValueGlobal(Assembler, String, String) - Method in class comp.ArrayType
 
rValueGlobal(Assembler, String, String) - Method in class comp.PointerType
 
rValueGlobal(Assembler, String, String) - Method in class comp.CharType
 
rValueGlobal(Assembler, String, String) - Method in class comp.IntType
 
rValueGlobal(Assembler, String, String) - Method in class comp.Type
 
RxCtl - Variable in class sim.CharacterDevice
 
RxData - Variable in class sim.CharacterDevice
 

S

save() - Method in class util.SimpleTextEditor
 
saveas() - Method in class util.SimpleTextEditor
 
saveRegs(Assembler) - Method in class comp.RegBank
Save all registers currently on use.
Scc - class comp.Scc.
Entry point to the C-- compiler.
Scc() - Constructor for class comp.Scc
 
scope - Variable in class comp.FuncDefNode
 
Scope - class comp.Scope.
Manages a lexical scope.
Scope(FuncDefNode) - Constructor for class comp.Scope
 
setBreakButton - Variable in class sim.UI
 
setExitOnFatal(boolean) - Static method in class util.Msg
If exitOnFatal is true, fatal message will call System.exit(1)
setNum(int) - Method in class asm.AsmIns
 
setOffset(int) - Method in class asm.AsmData
 
sets - Variable in class sim.Cache
 
setType(String) - Method in class comp.VarDecl
Set the type.
shortName() - Method in class util.Builder.ProjFile
 
showBreakButton - Variable in class sim.UI
 
shrinkStack(int) - Method in class comp.Assembler
Shrink the stack by the given number of bytes.
sim - package sim
This package contains a simple MIPS simulator.
SimpleTextEditor - class util.SimpleTextEditor.
 
SimpleTextEditor.MyDocumentListener - class util.SimpleTextEditor.MyDocumentListener.
 
SimpleTextEditor.MyDocumentListener() - Constructor for class util.SimpleTextEditor.MyDocumentListener
 
SimpleTextEditor.SimpleFilter - class util.SimpleTextEditor.SimpleFilter.
 
SimpleTextEditor.SimpleFilter(String, String) - Constructor for class util.SimpleTextEditor.SimpleFilter
 
SimpleTextEditor() - Constructor for class util.SimpleTextEditor
 
size - Variable in class comp.Type
 
SLL - Static variable in class comp.Assembler
 
SMOKVerifier - class util.SMOKVerifier.
A SMOK model verifier.
SMOKVerifier.Checker - class util.SMOKVerifier.Checker.
 
SMOKVerifier.Checker() - Constructor for class util.SMOKVerifier.Checker
 
SMOKVerifier(InputStream, OutputStream) - Constructor for class util.SMOKVerifier
 
space(String, int) - Method in class comp.Assembler
Ask for size bytes of space.
SRA - Static variable in class comp.Assembler
 
SRL - Static variable in class comp.Assembler
 
stack - Variable in class sim.UI
 
startData() - Method in class comp.Assembler
Start the dtaa section.
startText() - Method in class comp.Assembler
Start the text section.
stats() - Method in class util.Builder.ProjFile
 
step(int) - Method in class sim.Mips
 
stepButton - Variable in class sim.UI
 
stopButton - Variable in class sim.UI
 
storeByte(String, int, String) - Method in class comp.Assembler
Store a byte to the integer offset of base register.
storeByte(String, String, String) - Method in class comp.Assembler
Store a byte to the labeled offset of base register
stores - Variable in class sim.Mips
 
storeWord(String, int, String) - Method in class comp.Assembler
Store a word from offset of base register into the dest register.
storeWord(String, String, String) - Method in class comp.Assembler
Store a word into the labeled offset of base register
strings - Static variable in class comp.Node
A table of static strings.
StringValNode - class comp.StringValNode.
String literal expression node.
StringValNode(String, String) - Constructor for class comp.StringValNode
 
SUB - Static variable in class comp.Assembler
 
symTable - Variable in class asm.Module
 
symTable - Variable in class asm.Linker
Global symbol table.
symTabSize - Variable in class asm.Module
 
symTabString - Variable in class asm.AsmFile
A string representation of the symbol table.
SYSCALL - Static variable in class sim.Mips
Syscall exception.
syscalls - Variable in class sim.Mips
 

T

tag - Variable in class sim.Cache.Line
 
targets - Variable in class asm.Module
 
test - Variable in class comp.WhileNode
 
test - Variable in class comp.IfNode
 
testJar(String, String) - Static method in class util.Util
 
text - Variable in class asm.Module
 
textArea - Variable in class util.TextAreaOutputStream
 
textArea - Variable in class util.TextAreaWriter
 
TextAreaOutputStream - class util.TextAreaOutputStream.
A Stream whose destination is a TextArea.
TextAreaOutputStream(IOTextArea) - Constructor for class util.TextAreaOutputStream
 
TextAreaWriter - class util.TextAreaWriter.
A Writer whose destination is a TextArea
TextAreaWriter(IOTextArea) - Constructor for class util.TextAreaWriter
 
textOffset - Variable in class asm.Module
 
textSize - Variable in class asm.Module
 
textSize - Variable in class asm.Linker
 
thenClause - Variable in class comp.IfNode
 
tools - Variable in class util.SimpleTextEditor
 
toString() - Method in class asm.AsmIns
 
toString() - Method in class asm.Module
 
toString() - Method in class comp.BinExprNode
 
toString() - Method in class comp.StringValNode
 
toString() - Method in class comp.ValNode
 
toString() - Method in class comp.IdNode
 
toString() - Method in class comp.ArrayRefNode
 
toString() - Method in class comp.AssignNode
 
toString() - Method in class comp.WhileNode
 
toString() - Method in class comp.ReturnNode
 
toString() - Method in class comp.CallNode
 
toString() - Method in class comp.VarDecl
 
toString() - Method in class comp.ArgList
 
toString() - Method in class comp.ParmList
 
toString() - Method in class comp.FuncDefNode
 
toString() - Method in class comp.Scope
 
toString() - Method in class comp.VarDef
 
toString() - Method in class comp.BlockNode
 
toString() - Method in class comp.IfNode
 
toString() - Method in class comp.Type
 
toString() - Method in class sim.BlockDevice
 
toString() - Method in class sim.CharacterDevice
 
toString() - Method in class sim.RAM
 
toString() - Method in class sim.MemoryMap
 
toString() - Method in class util.IDE.ProjFile
 
toString() - Method in class util.Builder.ProjFile
 
translateFunc(String) - Static method in class asm.AsmIns
 
translateOp(String) - Static method in class asm.AsmIns
 
translateReg(String) - Static method in class asm.AsmIns
 
TxCtl - Variable in class sim.CharacterDevice
 
TxData - Variable in class sim.CharacterDevice
 
type - Variable in class comp.VarDecl
 
type - Variable in class comp.VarDef
 
type - Variable in class util.SimpleTextEditor.SimpleFilter
 
Type - class comp.Type.
Represents a type in our language.
Type() - Constructor for class comp.Type
 
TypeFactory - class comp.TypeFactory.
The typefactory takes a string representation of a type and produces type objects.
TypeFactory() - Constructor for class comp.TypeFactory
 
typeMap - Static variable in class asm.AsmIns
Maps opcode mnemonic (string) -> encoding type.
typeName - Variable in class comp.VarDecl
 
typeNames - Static variable in class util.SMOKVerifier
 

U

UI - class sim.UI.
 
UI.BreakPointWindow - class sim.UI.BreakPointWindow.
 
UI.BreakPointWindow.BreakPoints - class sim.UI.BreakPointWindow.BreakPoints.
 
UI.BreakPointWindow.BreakPoints() - Constructor for class sim.UI.BreakPointWindow.BreakPoints
 
UI.BreakPointWindow() - Constructor for class sim.UI.BreakPointWindow
 
UI.ExeFileFilter - class sim.UI.ExeFileFilter.
 
UI.ExeFileFilter() - Constructor for class sim.UI.ExeFileFilter
 
UI.InsMouseListener - class sim.UI.InsMouseListener.
 
UI.InsMouseListener() - Constructor for class sim.UI.InsMouseListener
 
UI.LabeledPanel - class sim.UI.LabeledPanel.
 
UI.LabeledPanel(String, JComponent) - Constructor for class sim.UI.LabeledPanel
 
UI.MemoryPane - class sim.UI.MemoryPane.
 
UI.MemoryPane(ListModel, int) - Constructor for class sim.UI.MemoryPane
 
UI(Mips) - Constructor for class sim.UI
 
update(Observable, Object) - Method in class sim.UI
 
updateBreaks() - Method in class sim.UI.BreakPointWindow
 
updateMe() - Method in class sim.UI.BreakPointWindow.BreakPoints
 
userMode - Variable in class sim.Mips
 
util - package util
 
Util - class util.Util.
Provides utility methods for the project.
Util() - Constructor for class util.Util
 

V

val - Variable in class comp.StringValNode
 
val - Variable in class comp.ValNode
 
valid - Variable in class sim.Cache.Line
 
ValNode - class comp.ValNode.
Integer literal expression node.
ValNode(Integer) - Constructor for class comp.ValNode
 
vals - Variable in class util.SMOKVerifier
 
valsReceived - Variable in class util.SMOKVerifier
 
value - Variable in class asm.AsmData
 
VarDecl - class comp.VarDecl.
Represents a variable declaration.
VarDecl(String) - Constructor for class comp.VarDecl
A new variable declaration of indeterminate type.
VarDecl(String, String) - Constructor for class comp.VarDecl
A variable declaration of given type and name.
VarDecl(String, String, ExprNode) - Constructor for class comp.VarDecl
A variable declaration with the given initializer expression.
VarDecl(String, String, int) - Constructor for class comp.VarDecl
An array variable declaration .
VarDef - class comp.VarDef.
Represents a variable definition in a given Scope.
VarDef(boolean, int, Type) - Constructor for class comp.VarDef
 
verbose - Static variable in class asm.Asm
 
verbose - Variable in class sim.Mips
 
Version - class util.Version.
This class gives version information about the tools.
Version() - Constructor for class util.Version
 

W

waitCursor - Variable in class sim.UI
 
warn(String) - Static method in class util.Msg
Just print the message.
WhileNode - class comp.WhileNode.
A while loop.
WhileNode(ExprNode, BlockNode) - Constructor for class comp.WhileNode
 
word(String, int) - Method in class comp.Assembler
Ask for a word size of space with the intial value.
workingDir - Variable in class sim.UI
 
write(byte[]) - Method in class util.TextAreaOutputStream
 
write(byte[], int, int) - Method in class util.TextAreaOutputStream
 
write(char[]) - Method in class util.TextAreaWriter
 
write(char[], int, int) - Method in class util.TextAreaWriter
 
write(int) - Method in class sim.Cache
Implements a write-around policy on misses.
write(int) - Method in class util.TextAreaOutputStream
 
write(int) - Method in class util.TextAreaWriter
 
write(String) - Method in class util.TextAreaWriter
 
write(String, int, int) - Method in class util.TextAreaWriter
 
writeByte(int, byte) - Method in class sim.BlockDevice
 
writeByte(int, byte) - Method in class sim.CharacterDevice
 
writeByte(int, byte) - Method in class sim.RAM
 
writeByte(int, byte) - Method in interface sim.Memory
 
writeByte(int, byte) - Method in class sim.MemoryMap
Write a byte at the given address.
writeByte(int, byte) - Method in class sim.Mips
 
writeCop0(int, int) - Method in class sim.Mips
 
writeHits - Variable in class sim.Cache
 
writeMisses - Variable in class sim.Cache
 
writeWord(int, int) - Method in class sim.BlockDevice
 
writeWord(int, int) - Method in class sim.CharacterDevice
 
writeWord(int, int) - Method in class sim.RAM
 
writeWord(int, int) - Method in interface sim.Memory
 
writeWord(int, int) - Method in class sim.MemoryMap
Write a word at the given address.
writeWord(int, int) - Method in class sim.Mips
 

X

XOR - Static variable in class comp.Assembler
 

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