All Classes
Class
Description
Abstract class for memory dump file formats.
Abstract class for a font selection dialog.
An abstract class that provides generic components to facilitate implementation of
a MarsTool and/or stand-alone Mars-based application.
Abstract class that a MIPS syscall system service may extend.
Object provided to Observers of runtime access to MIPS memory or registers.
Represents MIPS AddressErrorException.
Class that represents the "ASCII text" memory dump format.
An Assembler is capable of assembling a MIPS program.
Used to "step backward" through execution, undoing each instruction.
Class to represent a basic instruction in the MIPS instruction set.
These are the MIPS-defined formats of basic machine instructions.
Simulates the actual functionality of a Branch History Table (BHT).
Represents a single entry of the Branch History Table.
Represents the GUI of the BHT Simulator Tool.
A MARS tool for simulating branch prediction with a Branch History Table (BHT)
Some utility methods for working with binary representations.
Class that represents the "binary" memory dump format.
Class that represents the "binary text" memory dump format.
Bitmap display simulator.
A data cache simulator.
Represents Coprocessor 0.
Sets up a window to display registers in the UI.
Represents Coprocessor 1, the Floating Point Unit (FPU)
Sets up a window to display Coprocessor 1 registers in the Registers pane of the UI.
Represents the Data Segment window, which is a type of JInternalFrame.
Information about MIPS data types.
The default input handler.
Represents a (potential) delayed branch.
Class representing MIPS assembler directives.
Interface for memory dump file formats.
Action for the Edit -> Copy menu item
Action for the Edit -> Cut menu item
Action for the Edit -> Find/Replace menu item
Manage the file being edited.
Specialized Font class designed to be used by both the settings menu methods
and the Settings class.
Represents one file opened for editing.
Action for the Edit -> Paste menu item
Action for the Edit -> Redo menu item
Action for the Edit -> Copy menu item
Tabbed pane for the editor.
Action for the Edit -> Undo menu item
Maintains list of generated error messages, regardless of source (tokenizing,
parsing, assembly, execution).
Represents occurrence of an error detected during tokenizing, assembly or
simulation.
Represents an error/interrupt that occurs during execution (simulation).
Container for the execution-related windows.
ExtendedInstruction represents a MIPS extended (a.k.a pseudo) instruction.
Action for the File -> Close menu item
Action for the File -> Close All menu item
Action for the File -> Save For Dump Memory menu item
Action for the File -> Exit menu item
Utility class to perform necessary file-related search
operations.
Action for the File -> New menu item
Action for the File -> Open menu item
Action for the File -> Print menu item
Action for the File -> Save menu item
Action for the File -> Save All menu item
Action for the File -> Save As menu item
Used to store and return information on the status of the current ASM file
that is being edited in the program.
Tool to help students learn about IEEE 754 representation of 32 bit floating
point values.
Collection of globally-available data structures.
Parent class for Action subclasses to be defined for every menu/toolbar
option.
HardcopyWriter class from the book "Java Examples in a Nutshell,
3rd Edition" by David Flanagan.
This is the exception class that the HardcopyWriter constructor throws when
the user clicks "Cancel" in the print dialog box.
Action for the Help -> About menu item
Action for the Help -> Help menu item
Class that represents the "hexadecimal text" memory dump format.
An input handler converts the user's key strokes into concrete actions.
Macro recorder.
If an action implements this interface, it should not be recorded
by the macro recorder.
If an action implements this interface, it should not be repeated.
For use by EditAction.Wrapper only.
Base class to represent member of MIPS instruction set.
Instruction counter tool.
The list of Instruction objects, each of which represents a MIPS instruction.
A MARS tool for obtaining instruction statistics by instruction category.
Intel's Hex memory initialization format
The "hello world" of MarsTools!
Represents attempt to access double precision register using an odd
(e.g.
Adaptor subclass for JEditTextArea
Provides those methods required by the MARSTextEditingArea interface that are
not defined by JEditTextArea.
jEdit's text area component.
Keyboard and Display Simulator.
A
KeywordMap
is similar to a hashtable in that it maps keys
to values.Represents the Labels window, which is a type of JInternalFrame.
Stores information of a macro definition.
Stores information of macros defined by now.
Creates the tabbed areas in the UI and also created the internal windows that
exist in them.
Portal to Mars
Simple Demo of Mars tool capability
Launch the Mars application
Produces MARS splash screen.
Adapted from http://www.java-tips.org/content/view/1267/2/
Adapted from http://www.java-tips.org/content/view/1267/2/
Specifies capabilities that any text editor used in MARS must have.
Interface for any tool that interacts with an executing MIPS program.
Represents MIPS memory.
Object provided to Observers of runtime access to MIPS memory.
Models the memory configuration for the simulated MIPS machine.
Models the collection of MIPS memory configurations.
Memory reference visualization.
Creates the message window at the bottom of the UI.
The Memory Initialization File (.mif) VHDL-supported file format
This is documented for the Altera platform at
www.altera.com/support/software/nativelink/quartus2/glossary/def_mif.html.
Internal representations of MIPS program.
MIPS Token Maker, for use with RSyntaxTextArea
Not to be confused with
Not to be confused with
MIPSTokenMarker
MIPS token marker.
Use to select base for displaying numbers.
Provides utility method related to MIPS operand formats.
Handy little class to contain help information for a popupMenu or
tool tip item.
Class to represent an error that occurs while assembling or running a MIPS program.
Models Program Arguments, one or more strings provided to the MIPS
program at runtime.
Represents one assembly/machine statement.
Provides means to work with ".properties" files which are used to store
various MARS settings.
This small class serves only to hold a static HashMap for storing random
number generators for use by all the random number generator syscalls.
Abstraction to represent a register of a MIPS Assembler.
Object provided to Observers of runtime access to MIPS register.
Represents the collection of MIPS registers.
Contains tabbed areas in the UI to display register contents
Sets up a window to display registers in the UI.
RepeatButton
is a JButton
which contains a timer
for firing events while the button is held down.Adapter subclass for RSyntaxTextArea
Provides those methods required by the MARSTextEditingArea interface that are
not defined by RSyntaxTextArea.
Action class for the Run -> Assemble menu item (and toolbar icon)
Action for the Run -> Backstep menu item
Action class for the Run menu item to clear execution breakpoints that have
been set.
Action class for the Run -> Go menu item (and toolbar icon)
Action class for the Run -> Pause menu item (and toolbar icon)
Action for the Run -> Reset menu item
Class for the Run speed slider control.
Action for the Run -> Step menu item
Action class for the Run -> Stop menu item (and toolbar icon)
Action class for the Run menu item to clear execution breakpoints that have
been set.
Demo of Mars tool capability.
Handy little tool to magnify a selected section of the screen
by a given scale and display it.
Dump MIPS memory contents in Segment Window format.
Contains various IDE settings.
Action class for the Settings menu item to control number base (10 or 16) of
memory addresses.
Action class for the Settings menu item to determine whether assemble
operation applies only to current file or to all files in its directory.
Action class for the Settings menu item to control automatic assemble of file
upon opening.
Action class for the Settings menu item to control delayed branching.
Action class for the Settings menu item for text editor settings.
Action class for the Settings menu item for optionally loading a MIPS
exception handler.
Action class for the Settings menu item to control use of extended (pseudo)
instructions or formats.
Action class for the Settings menu item for text editor settings.
Action class for the Settings menu item to control display of Labels window
(symbol table).
Action class for the Settings menu item for text editor settings.
Action class for the Settings menu item to control use of popup dialog for
input syscalls.
Action class for the Settings menu item to control whether or not program
arguments can be entered and used.
Action class for the Settings menu item to control whether the running MIPS
program can write to the text segment or branch to the data segment.
Action class for the Settings menu item to control whether or not the
program should start execution at "main" label
Action class for the Settings menu item to control number base (10 or 16) of
memory/register contents.
Action class for the Settings menu item to control whether or not assembler
warnings are considered errors.
Interface to represent the method for simulating the execution of a specific
MIPS basic instruction.
Used to simulate the execution of an assembled MIPS program.
Object provided to Observers of the Simulator.
Handy class to represent, for a given line of source code, the code itself,
the program containing it, and its line number within that program.
This is the 3rd version of SwingWorker (also known as
SwingWorker 3), an abstract class that you subclass to
perform GUI-related work in a dedicated thread.
Represents a MIPS program identifier to be stored in the symbol table.
Creates a table of Symbol objects.
A document implementation that can be tokenized by the syntax highlighting
system.
A simple text style class.
Class with several utility functions used by jEdit's syntax colorizing
subsystem.
Interface for any MIPS syscall system service.
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 $f12
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.
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 $f0
Service 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.
Provides standard i/o services needed to simulate the MIPS syscall
routines.
Factory to create instances of JFileChooser using the system look and feel
Encapsulates default settings for a text area.
The text area repaint manager.
Highlight interface.
Creates the Text Segment window in the Execute tab of the UI
Class with several utility functions used by the text area component.
Represents one token in the input MIPS program.
A linked list of tokens.
A tokenizer is capable of tokenizing a complete MIPS program, or a given line from
a MIPS program.
Represents the list of tokens in a single line of MIPS code.
A token marker that splits lines of text into tokens.
Constants to identify the types of tokens found in MIPS programs.
Connects a MarsTool class (class that implements MarsTool interface) to
the Mars menu system by supplying the response to that tool's menu item
selection.
This class provides functionality to bring external Mars tools into the Mars
system by adding them to its Tools menu.
This interface is intended for use by ExtendedInstruction objects to define,
using the translate() method, how to translate the extended (pseudo)
instruction into a sequence of one or more basic instructions, which can then
be translated into binary machine code.
Top level container for Venus GUI.