Uses of Class
mars.simulator.SimulatorException
Packages that use SimulatorException
Package
Description
- 
Uses of SimulatorException in mars.assemblerMethods in mars.assembler that throw SimulatorExceptionModifier and TypeMethodDescriptionvoidBasicStatement.simulate()Simulate the execution of a specific MIPS basic instruction.
- 
Uses of SimulatorException in mars.mips.instructionsMethods in mars.mips.instructions that throw SimulatorExceptionModifier and TypeMethodDescriptionvoidSimulationFunction.simulate(BasicStatement statement) Simulate the execution of a statement in a program.
- 
Uses of SimulatorException in mars.mips.instructions.syscallsMethods in mars.mips.instructions.syscalls that throw SimulatorExceptionModifier and TypeMethodDescriptionabstract voidAbstractSyscall.simulate(BasicStatement statement) Performs syscall function.voidSyscall.simulate(BasicStatement statement) Performs syscall function.voidSyscallClose.simulate(BasicStatement statement) Performs syscall function to close file descriptor given in $a0.voidSyscallConfirmDialog.simulate(BasicStatement statement) System call to display a message to user.voidSyscallExit.simulate(BasicStatement statement) Performs syscall function to exit the MIPS program.voidSyscallExit2.simulate(BasicStatement statement) Performs syscall function to exit the MIPS program with return value given in $a0.voidSyscallInputDialogDouble.simulate(BasicStatement statement) System call to input data.voidSyscallInputDialogFloat.simulate(BasicStatement statement) System call to input data.voidSyscallInputDialogInt.simulate(BasicStatement statement) System call to input data.voidSyscallInputDialogString.simulate(BasicStatement statement) System call to input data.voidSyscallMessageDialog.simulate(BasicStatement statement) System call to display a message to user.voidSyscallMessageDialogDouble.simulate(BasicStatement statement) System call to display a message to user.voidSyscallMessageDialogFloat.simulate(BasicStatement statement) System call to display a message to user.voidSyscallMessageDialogInt.simulate(BasicStatement statement) System call to display a message to user.voidSyscallMessageDialogString.simulate(BasicStatement statement) System call to display a message to user.voidSyscallMidiOut.simulate(BasicStatement statement) Performs syscall function to send MIDI output to sound card.voidSyscallMidiOutSync.simulate(BasicStatement statement) Performs syscall function to send MIDI output to sound card.voidSyscallOpen.simulate(BasicStatement statement) Performs syscall function to open file name specified by $a0.voidSyscallPrintChar.simulate(BasicStatement statement) Performs syscall function to print on the console the character stored in $a0.voidSyscallPrintDouble.simulate(BasicStatement statement) Performs syscall function to print double whose bits are stored in $f12 and $f13.voidSyscallPrintFloat.simulate(BasicStatement statement) Performs syscall function to display float whose bits are stored in $f12.voidSyscallPrintInt.simulate(BasicStatement statement) Performs syscall function to print on the console the integer stored in $a0.voidSyscallPrintIntBinary.simulate(BasicStatement statement) Performs syscall function to print on the console the integer stored in $a0, in binary format.voidSyscallPrintIntHex.simulate(BasicStatement statement) Performs syscall function to print on the console the integer stored in $a0, in hexadecimal format.voidSyscallPrintIntUnsigned.simulate(BasicStatement statement) Performs syscall function to print on the console the integer stored in $a0.voidSyscallPrintIOMessage.simulate(BasicStatement statement) Performs syscall function to print the most recent file operation message, as defined inSystemIO.getFileOperationMessage(), followed by a newline.voidSyscallPrintString.simulate(BasicStatement statement) Performs syscall function to print string stored starting at address in $a0.voidSyscallRandDouble.simulate(BasicStatement statement) System call to the random number generator.voidSyscallRandFloat.simulate(BasicStatement statement) System call to the random number generator.voidSyscallRandInt.simulate(BasicStatement statement) System call to the random number generator.voidSyscallRandIntRange.simulate(BasicStatement statement) System call to the random number generator, with an upper range specified.voidSyscallRandSeed.simulate(BasicStatement statement) Set the seed of the underlying Java pseudorandom number generator.voidSyscallRead.simulate(BasicStatement statement) Performs syscall function to read from file descriptor given in $a0.voidSyscallReadChar.simulate(BasicStatement statement) Performs syscall function to read a character from input console into $v0.voidSyscallReadDouble.simulate(BasicStatement statement) Performs syscall function to read the bits of input double into $f0 and $f1.voidSyscallReadFloat.simulate(BasicStatement statement) Performs syscall function to read the bits of input float into $f0.voidSyscallReadInt.simulate(BasicStatement statement) Performs syscall function to read an integer from input console into $v0voidSyscallReadString.simulate(BasicStatement statement) Performs syscall function to read console input string into buffer starting at address in $a0.voidSyscallSbrk.simulate(BasicStatement statement) Performs syscall function to allocate amount of heap memory specified in $a0, putting address into $v0.voidSyscallSeek.simulate(BasicStatement statement) Performs syscall function to seek position of file descriptor given in $a0.voidSyscallSleep.simulate(BasicStatement statement) System call to cause the MARS Java thread to sleep for (at least) the specified number of milliseconds.voidSyscallTime.simulate(BasicStatement statement) Performs syscall function to place current system time into $a0 (low order 32 bits) and $a1 (high order 32 bits).voidSyscallWrite.simulate(BasicStatement statement) Performs syscall function to write to file descriptor given in $a0.
- 
Uses of SimulatorException in mars.simulatorMethods in mars.simulator that return SimulatorExceptionModifier and TypeMethodDescriptionSimulatorFinishEvent.getException()The exception causing the program to terminate (only applies toSimulatorFinishEvent.Reason.EXCEPTION).Methods in mars.simulator with parameters of type SimulatorExceptionModifier and TypeMethodDescriptionvoidSimulator.dispatchFinishEvent(SimulatorFinishEvent.Reason reason, SimulatorException exception) Called when the simulator has finished execution of the current program.Methods in mars.simulator that throw SimulatorExceptionModifier and TypeMethodDescriptionvoidSimulator.simulate(int maxSteps, int[] breakpoints) Simulate execution of given MIPS program.voidSimulator.storeProgramArguments(List<String> arguments) Place any program arguments into MIPS memory and registers.Constructors in mars.simulator with parameters of type SimulatorExceptionModifierConstructorDescriptionSimulatorFinishEvent(Simulator simulator, SimulatorFinishEvent.Reason reason, SimulatorException exception) Construct a new event with the given parameters.