## Package mars.mips.instructions.syscalls

Interface Summary
Syscall: Interface for any MIPS syscall system service.

Class Summary
AbstractSyscall: Abstract class that a MIPS syscall system service may extend.
RandomStreams: This small class serves only to hold a static HashMap for storing random number generators for use by all the random number generator syscalls.
SyscallClose: Service to close file descriptor given in $a0.
SyscallConfirmDialog: Service to display a message to user.
SyscallExit: Service to exit the MIPS program.
SyscallExit2: Service to exit the MIPS program with return value given in $a0.
SyscallInputDialogDouble: Service to input data.
SyscallInputDialogFloat: Service to input data.
SyscallInputDialogInt: Service to input data.
SyscallInputDialogString: Service to input data.
SyscallMessageDialog: Service to display a message to user.
SyscallMessageDialogDouble: Service to display a message to user.
SyscallMessageDialogFloat: Service to display a message to user.
SyscallMessageDialogInt: Service to display a message to user.
SyscallMessageDialogString: Service to display a message to user.
SyscallMidiOut: Service to output simulated MIDI tone to sound card.
SyscallMidiOutSync: Service to output simulated MIDI tone to sound card.
SyscallNumberOverride: Represents User override of default syscall number assignment.
SyscallOpen: Service to open file name specified by $a0.
SyscallPrintChar: Service to display character stored in $a0 on the console.
SyscallPrintDouble: Service to display double whose bits are stored in $f12 & $f13 onto the console.
SyscallPrintFloat: Service to display on the console float whose bits are stored in $f12
SyscallPrintInt: Service to display integer stored in $a0 on the console.
SyscallPrintIntBinary: Service to display integer stored in $a0 on the console.
SyscallPrintIntHex: Service to display integer stored in $a0 on the console.
SyscallPrintIntUnsigned: Service to display integer stored in $a0 on the console as unsigned decimal.
SyscallPrintString: Service to display string stored starting at address in $a0 onto the console.
SyscallRandDouble: Service to return a random floating point value.
SyscallRandFloat: Service to return a random floating point value.
SyscallRandInt: Service to return a random integer.
SyscallRandIntRange: Service to return a random integer in a specified range.
SyscallRandSeed: Service to set seed for the underlying Java pseudorandom number generator.
SyscallRead: Service to read from file descriptor given in $a0.
SyscallReadChar: Service to read a character from input console into $a0.
SyscallReadDouble: Service to read the bits of console input double into $f0 and $f1.
SyscallReadFloat: Service to read the bits of input float into $f0
SyscallReadInt: Service to read an integer from input console into $v0.
SyscallReadString: Service to read console input string into buffer starting at address in $a0.
SyscallSbrk: Service to allocate amount of heap memory specified in $a0, putting address into $v0.
SyscallSleep: Service to cause the MARS Java thread to sleep for (at least) the specified number of milliseconds.
SyscallTime: Service to read a character from input console into $a0.
SyscallWrite: Service to write to file descriptor given in $a0.