Package mars.mips.instructions.syscalls
package mars.mips.instructions.syscalls
-
Interface Summary
-
Class SummaryClassDescriptionAbstract class that a MIPS syscall system service may extend.This small class serves only to hold a static HashMap for storing random number generators for use by all the random number generator syscalls.Service to close file descriptor given in $a0.Service to display a message to user.Service to exit the MIPS program.Service to exit the MIPS program with return value given in $a0.Service to input data.Service to input data.Service to input data.Service to input data.Service to display a message to user.Service to display a message to user.Service to display a message to user.Service to display a message to user.Service to display a message to user.Service to output simulated MIDI tone to sound card.Service to output simulated MIDI tone to sound card.Represents User override of default syscall number assignment.Service to open file name specified by $a0.Service to display character stored in $a0 on the console.Service to display double whose bits are stored in $f12 & $f13 onto the console.Service to display on the console float whose bits are stored in $f12Service to display integer stored in $a0 on the console.Service to display integer stored in $a0 on the console.Service to display integer stored in $a0 on the console.Service to display integer stored in $a0 on the console as unsigned decimal.Service to display string stored starting at address in $a0 onto the console.Service to return a random floating point value.Service to return a random floating point value.Service to return a random integer.Service to return a random integer in a specified range.Service to set seed for the underlying Java pseudorandom number generator.Service to read from file descriptor given in $a0.Service to read a character from input console into $a0.Service to read the bits of console input double into $f0 and $f1.Service to read the bits of input float into $f0Service to read an integer from input console into $v0.Service to read console input string into buffer starting at address in $a0.Service to allocate amount of heap memory specified in $a0, putting address into $v0.Service to cause the MARS Java thread to sleep for (at least) the specified number of milliseconds.Service to read a character from input console into $a0.Service to write to file descriptor given in $a0.