public class ModifiedMIPSprogram
extends mars.MIPSprogram
MIPSProgram class in MARS that allows us to more efficiently load and manipulate the
code under test.| Constructor and Description |
|---|
ModifiedMIPSprogram() |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList |
getSourceList()
Produces list of source statements that comprise the program.
|
java.util.ArrayList<ModifiedMIPSprogram> |
prepareFilesForAssembly(java.util.ArrayList<java.lang.String> file)
Prepares the given list of files for assembly.
|
void |
setFileName(java.lang.String filename)
Sets the filename.
|
assemble, assemble, backSteppingEnabled, createMacroPool, createParsedList, getBackStepper, getFilename, getLocalMacroPool, getLocalSymbolTable, getMachineList, getParsedList, getSourceLine, getSourceLineList, getTokenizer, getTokenList, inSteppedExecution, prepareFilesForAssembly, readSource, setLocalMacroPool, setSourceLineList, simulate, simulate, simulateFromPC, simulateStepAtPC, tokenizepublic java.util.ArrayList<ModifiedMIPSprogram> prepareFilesForAssembly(java.util.ArrayList<java.lang.String> file) throws mars.ProcessingException
file - The file name of the assembly file.mars.ProcessingException - Will throw exception if errors occured while reading or tokenizingpublic void setFileName(java.lang.String filename)
filename - What to set the filename to.public java.util.ArrayList getSourceList()
getSourceList in class mars.MIPSprogram