Uses of Class
mars.ProcessingException
Packages that use ProcessingException
Package
Description
-
Uses of ProcessingException in mars
Methods in mars that throw ProcessingExceptionModifier and TypeMethodDescriptionMIPSprogram.assemble(ArrayList<MIPSprogram> MIPSprogramsToAssemble, boolean extendedAssemblerEnabled)Assembles the MIPS source program.MIPSprogram.assemble(ArrayList<MIPSprogram> MIPSprogramsToAssemble, boolean extendedAssemblerEnabled, boolean warningsAreErrors)Assembles the MIPS source program.MIPSprogram.prepareFilesForAssembly(ArrayList<String> filenames, String leadFilename, String exceptionHandler)Prepares the given list of files for assembly.voidMIPSprogram.readSource(String file)Reads MIPS source code from file into structure.booleanMIPSprogram.simulate(int maxSteps)Simulates execution of the MIPS program.booleanMIPSprogram.simulate(int[] breakPoints)Simulates execution of the MIPS program.booleanMIPSprogram.simulateFromPC(int[] breakPoints, int maxSteps, AbstractAction a)Simulates execution of the MIPS program.booleanMIPSprogram.simulateStepAtPC(AbstractAction a)Simulates execution of the MIPS program.voidMIPSprogram.tokenize()Tokenizes the MIPS source program. -
Uses of ProcessingException in mars.assembler
Methods in mars.assembler that throw ProcessingExceptionModifier and TypeMethodDescriptionAssembler.assemble(ArrayList<MIPSprogram> tokenizedProgramFiles, boolean extendedAssemblerEnabled)Parse and generate machine code for the given MIPS program.Assembler.assemble(ArrayList<MIPSprogram> tokenizedProgramFiles, boolean extendedAssemblerEnabled, boolean warningsAreErrors)Parse and generate machine code for the given MIPS program.Assembler.assemble(MIPSprogram p, boolean extendedAssemblerEnabled)Parse and generate machine code for the given MIPS program.Assembler.assemble(MIPSprogram p, boolean extendedAssemblerEnabled, boolean warningsAreErrors)Parse and generate machine code for the given MIPS program.Tokenizer.tokenize(MIPSprogram p)Will tokenize a complete MIPS program.Tokenizer.tokenizeExampleInstruction(String example)Used only to create a token list for the example provided with each instruction specification. -
Uses of ProcessingException in mars.mips.instructions
Methods in mars.mips.instructions that throw ProcessingExceptionModifier and TypeMethodDescriptionvoidSimulationCode.simulate(ProgramStatement statement)Method to simulate the execution of a specific MIPS basic instruction. -
Uses of ProcessingException in mars.mips.instructions.syscalls
Methods in mars.mips.instructions.syscalls that throw ProcessingExceptionModifier and TypeMethodDescriptionabstract voidAbstractSyscall.simulate(ProgramStatement statement)Performs syscall function.voidSyscall.simulate(ProgramStatement statement)Performs syscall function.voidSyscallClose.simulate(ProgramStatement statement)Performs syscall function to close file descriptor given in $a0.voidSyscallConfirmDialog.simulate(ProgramStatement statement)System call to display a message to user.voidSyscallExit.simulate(ProgramStatement statement)Performs syscall function to exit the MIPS program.voidSyscallExit2.simulate(ProgramStatement statement)Performs syscall function to exit the MIPS program with return value given in $a0.voidSyscallInputDialogDouble.simulate(ProgramStatement statement)System call to input data.voidSyscallInputDialogFloat.simulate(ProgramStatement statement)System call to input data.voidSyscallInputDialogInt.simulate(ProgramStatement statement)System call to input data.voidSyscallInputDialogString.simulate(ProgramStatement statement)System call to input data.voidSyscallMessageDialog.simulate(ProgramStatement statement)System call to display a message to user.voidSyscallMessageDialogDouble.simulate(ProgramStatement statement)System call to display a message to user.voidSyscallMessageDialogFloat.simulate(ProgramStatement statement)System call to display a message to user.voidSyscallMessageDialogInt.simulate(ProgramStatement statement)System call to display a message to user.voidSyscallMessageDialogString.simulate(ProgramStatement statement)System call to display a message to user.voidSyscallMidiOut.simulate(ProgramStatement statement)Performs syscall function to send MIDI output to sound card.voidSyscallMidiOutSync.simulate(ProgramStatement statement)Performs syscall function to send MIDI output to sound card.voidSyscallOpen.simulate(ProgramStatement statement)Performs syscall function to open file name specified by $a0.voidSyscallPrintChar.simulate(ProgramStatement statement)Performs syscall function to print on the console the character stored in $a0.voidSyscallPrintDouble.simulate(ProgramStatement statement)Performs syscall function to print double whose bits are stored in $f12 & $f13.voidSyscallPrintFloat.simulate(ProgramStatement statement)Performs syscall function to display float whose bits are stored in $f12voidSyscallPrintInt.simulate(ProgramStatement statement)Performs syscall function to print on the console the integer stored in $a0.voidSyscallPrintIntBinary.simulate(ProgramStatement statement)Performs syscall function to print on the console the integer stored in $a0, in hexadecimal format.voidSyscallPrintIntHex.simulate(ProgramStatement statement)Performs syscall function to print on the console the integer stored in $a0, in hexadecimal format.voidSyscallPrintIntUnsigned.simulate(ProgramStatement statement)Performs syscall function to print on the console the integer stored in $a0.voidSyscallPrintString.simulate(ProgramStatement statement)Performs syscall function to print string stored starting at address in $a0.voidSyscallRandDouble.simulate(ProgramStatement statement)System call to the random number generator.voidSyscallRandFloat.simulate(ProgramStatement statement)System call to the random number generator.voidSyscallRandInt.simulate(ProgramStatement statement)System call to the random number generator.voidSyscallRandIntRange.simulate(ProgramStatement statement)System call to the random number generator, with an upper range specified.voidSyscallRandSeed.simulate(ProgramStatement statement)Set the seed of the underlying Java pseudorandom number generator.voidSyscallRead.simulate(ProgramStatement statement)Performs syscall function to read from file descriptor given in $a0.voidSyscallReadChar.simulate(ProgramStatement statement)Performs syscall function to read a character from input console into $a0voidSyscallReadDouble.simulate(ProgramStatement statement)Performs syscall function to read the bits of input double into $f0 and $f1.voidSyscallReadFloat.simulate(ProgramStatement statement)Performs syscall function to read the bits of input float into $f0voidSyscallReadInt.simulate(ProgramStatement statement)Performs syscall function to read an integer from input console into $v0voidSyscallReadString.simulate(ProgramStatement statement)Performs syscall function to read console input string into buffer starting at address in $a0.voidSyscallSbrk.simulate(ProgramStatement statement)Performs syscall function to allocate amount of heap memory specified in $a0, putting address into $v0.voidSyscallSleep.simulate(ProgramStatement statement)System call to cause the MARS Java thread to sleep for (at least) the specified number of milliseconds.voidSyscallTime.simulate(ProgramStatement statement)Performs syscall function to place current system time into $a0 (low order 32 bits) and $a1 (high order 32 bits).voidSyscallWrite.simulate(ProgramStatement statement)Performs syscall function to write to file descriptor given in $a0. -
Uses of ProcessingException in mars.simulator
Methods in mars.simulator that throw ProcessingExceptionModifier and TypeMethodDescriptionbooleanSimulator.simulate(MIPSprogram p, int pc, int maxSteps, int[] breakPoints, AbstractAction actor)Simulate execution of given MIPS program. -
Uses of ProcessingException in mars.venus
Methods in mars.venus with parameters of type ProcessingExceptionModifier and TypeMethodDescriptionvoidRunGoAction.paused(boolean done, int pauseReason, ProcessingException pe)Method to be called when Pause is selected through menu/toolbar/shortcut.voidRunStepAction.stepped(boolean done, int reason, ProcessingException pe)voidRunGoAction.stopped(ProcessingException pe, int reason)Method to be called when Stop is selected through menu/toolbar/shortcut.