A B C D E F G H I J K L M N O P Q R S T U V W X Y _

A

AbstractDumpFormat - Class in mars.mips.dump
Abstract class for memory dump file formats.
AbstractDumpFormat(String, String, String, String) - Constructor for class mars.mips.dump.AbstractDumpFormat
Typical constructor.
AbstractFontSettingDialog - Class in mars.venus
Abstract class for a font selection dialog.
AbstractFontSettingDialog(Frame, String, boolean, Font) - Constructor for class mars.venus.AbstractFontSettingDialog
Create a new font chooser.
AbstractMarsToolAndApplication - Class in mars.tools
An abstract class that provides generic components to facilitate implementation of a MarsTool and/or stand-alone Mars-based application.
AbstractMarsToolAndApplication(String, String) - Constructor for class mars.tools.AbstractMarsToolAndApplication
Simple constructor
AbstractMarsToolAndApplication.ConnectButton - Class in mars.tools
 
AbstractMarsToolAndApplication.ConnectButton() - Constructor for class mars.tools.AbstractMarsToolAndApplication.ConnectButton
 
AbstractMarsToolAndApplication.EnterKeyListener - Class in mars.tools
 
AbstractMarsToolAndApplication.EnterKeyListener(AbstractButton) - Constructor for class mars.tools.AbstractMarsToolAndApplication.EnterKeyListener
 
AbstractSyscall - Class in mars.mips.instructions.syscalls
Abstract class that a MIPS syscall system service may extend.
AbstractSyscall(int, String) - Constructor for class mars.mips.instructions.syscalls.AbstractSyscall
Constructor is provided so subclass may initialize instance variables.
accessIsFromGUI() - Method in class mars.mips.hardware.AccessNotice
Query whether the access originated from MARS GUI (AWT event queue)
accessIsFromMIPS() - Method in class mars.mips.hardware.AccessNotice
Query whether the access originated from executing MIPS program
AccessNotice - Class in mars.mips.hardware
Object provided to Observers of runtime access to MIPS memory or registers.
AccessNotice(int) - Constructor for class mars.mips.hardware.AccessNotice
 
action() - Method in class mars.tools.AbstractMarsToolAndApplication
Required MarsTool method to carry out Tool functions.
action() - Method in class mars.tools.MarsBot
 
action() - Method in interface mars.tools.MarsTool
Performs tool functions.
action() - Method in class mars.tools.ScavengerHunt
 
action() - Method in class mars.tools.ScreenMagnifier
 
actionPerformed(ActionEvent) - Method in class mars.tools.BHTSimulator
Handles the actions when selecting another value in one of the two combo boxes.
actionPerformed(ActionEvent) - Method in class mars.venus.Coprocessor1Window
Called when user clicks on a condition flag checkbox.
actionPerformed(ActionEvent) - Method in class mars.venus.EditCopyAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.EditCutAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.EditFindReplaceAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.backspace
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.backspace_word
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.clip_copy
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.clip_cut
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.clip_paste
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.delete
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.delete_word
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.document_end
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.document_home
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.end
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.home
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.insert_break
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.insert_char
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.insert_tab
 
actionPerformed(ActionListener, String) - Method in interface mars.venus.editors.jeditsyntax.InputHandler.MacroRecorder
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.next_char
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.next_line
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.next_page
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.next_word
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.overwrite
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.prev_char
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.prev_line
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.prev_page
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.prev_word
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.repeat
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.select_all
 
actionPerformed(ActionEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler.toggle_rect
 
actionPerformed(ActionEvent) - Method in class mars.venus.EditPasteAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.EditRedoAction
Adapted from TextComponentDemo.java in the Java Tutorial "Text Component Features"
actionPerformed(ActionEvent) - Method in class mars.venus.EditSelectAllAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.EditUndoAction
Adapted from TextComponentDemo.java in the Java Tutorial "Text Component Features"
actionPerformed(ActionEvent) - Method in class mars.venus.FileCloseAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.FileCloseAllAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.FileDumpMemoryAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.FileExitAction
Exit MARS, unless one or more files have unsaved edits and user cancels.
actionPerformed(ActionEvent) - Method in class mars.venus.FileNewAction
Code to create a new document.
actionPerformed(ActionEvent) - Method in class mars.venus.FileOpenAction
Launch a file chooser for name of file to open
actionPerformed(ActionEvent) - Method in class mars.venus.FilePrintAction
Uses the HardcopyWriter class developed by David Flanagan for the book "Java Examples in a Nutshell".
actionPerformed(ActionEvent) - Method in class mars.venus.FileSaveAction
saves the file, if not alredy saved it will do a saveAs
actionPerformed(ActionEvent) - Method in class mars.venus.FileSaveAllAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.FileSaveAsAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.GuiAction
does nothing by default.
actionPerformed(ActionEvent) - Method in class mars.venus.HelpAboutAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.HelpHelpAction
Displays tabs with categories of information
actionPerformed(ActionEvent) - Method in class mars.venus.RepeatButton
Handle action events.
actionPerformed(ActionEvent) - Method in class mars.venus.RunAssembleAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.RunBackstepAction
perform next simulated instruction step.
actionPerformed(ActionEvent) - Method in class mars.venus.RunClearBreakpointsAction
When this option is selected, tell text segment window to clear breakpoints in its table model.
actionPerformed(ActionEvent) - Method in class mars.venus.RunGoAction
Action to take when GO is selected -- run the MIPS program!
actionPerformed(ActionEvent) - Method in class mars.venus.RunPauseAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.RunResetAction
reset GUI components and MIPS resources
actionPerformed(ActionEvent) - Method in class mars.venus.RunStepAction
perform next simulated instruction step.
actionPerformed(ActionEvent) - Method in class mars.venus.RunStopAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.RunToggleBreakpointsAction
When this option is selected, tell text segment window to clear breakpoints in its table model.
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsAddressDisplayBaseAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsAssembleAllAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsAssembleOnOpenAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsDelayedBranchingAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsEditorAction
When this action is triggered, launch a dialog to view and modify editor settings.
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsExceptionHandlerAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsExtendedAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsHighlightingAction
When this action is triggered, launch a dialog to view and modify editor settings.
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsLabelAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsMemoryConfigurationAction
When this action is triggered, launch a dialog to view and modify editor settings.
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsPopupInputAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsProgramArgumentsAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsSelfModifyingCodeAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsStartAtMainAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsValueDisplayBaseAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.SettingsWarningsAreErrorsAction
 
actionPerformed(ActionEvent) - Method in class mars.venus.ToolAction
Response when tool's item selected from menu.
add(Token) - Method in class mars.assembler.TokenList
Adds a Token object to the end of the list.
add(ErrorMessage) - Method in class mars.ErrorList
Add new error message to end of list.
add(ErrorMessage, int) - Method in class mars.ErrorList
Add new error message at specified index position.
add(String, byte) - Method in class mars.venus.editors.jeditsyntax.KeywordMap
Adds a key-value mapping.
addArg(String) - Method in class mars.assembler.Macro
 
addAsObserver() - Method in class mars.tools.AbstractMarsToolAndApplication
Add this app/tool as an Observer of desired MIPS Observables (memory and registers).
addAsObserver(int, int) - Method in class mars.tools.AbstractMarsToolAndApplication
Add this app/tool as an Observer of the specified subrange of MIPS memory.
addAsObserver(Register) - Method in class mars.tools.AbstractMarsToolAndApplication
Add this app/tool as an Observer of the specified MIPS register.
addAsObserver() - Method in class mars.tools.BHTSimulator
Adds BHTSimulator as observer of the text segment.
addAsObserver() - Method in class mars.tools.BitmapDisplay
Override the inherited method, which registers us as an Observer over the static data segment (starting address 0x10010000) only.
addAsObserver() - Method in class mars.tools.DigitalLabSim
 
addAsObserver() - Method in class mars.tools.FloatRepresentation
Override the inherited method, which registers us as an Observer over the static data segment (starting address 0x10010000) only.
addAsObserver() - Method in class mars.tools.InstructionCounter
 
addAsObserver() - Method in class mars.tools.InstructionStatistics
registers the tool as observer for the text segment of the MIPS program
addAsObserver() - Method in class mars.tools.KeyboardAndDisplaySimulator
Override the inherited method, which registers us as an Observer over the static data segment (starting address 0x10010000) only.
addAsObserver() - Method in class mars.tools.MemoryReferenceVisualization
Override the inherited method, which registers us as an Observer over the static data segment (starting address 0x10010000) only.
addCaretListener(CaretListener) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Adds a caret change listener to this text area.
addConditionFlagClear(int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addConditionFlagSet(int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addCoprocessor0Restore(int, int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addCoprocessor1Restore(int, int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addCustomHighlight(TextAreaPainter.Highlight) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Adds a custom highlight painter.
addDefaultKeyBindings() - Method in class mars.venus.editors.jeditsyntax.DefaultInputHandler
Sets up the default key bindings.
addDefaultKeyBindings() - Method in class mars.venus.editors.jeditsyntax.InputHandler
Adds the default key bindings to this input handler.
addDoNothing(int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addKeyBinding(String, ActionListener) - Method in class mars.venus.editors.jeditsyntax.DefaultInputHandler
Adds a key binding to this input handler.
addKeyBinding(String, ActionListener) - Method in class mars.venus.editors.jeditsyntax.InputHandler
Adds a key binding to this input handler.
addLabel(String) - Method in class mars.assembler.Macro
 
addMemoryRestoreByte(int, int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addMemoryRestoreHalf(int, int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addMemoryRestoreRawWord(int, int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addMemoryRestoreWord(int, int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addObserver(Observer) - Method in class mars.mips.hardware.Memory
Method to accept registration from observer for any memory address.
addObserver(Observer, int) - Method in class mars.mips.hardware.Memory
Method to accept registration from observer for specific address.
addObserver(Observer, int, int) - Method in class mars.mips.hardware.Memory
Method to accept registration from observer for specific address range.
addPCRestore(int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addProgramArgumentsPanel() - Method in class mars.venus.TextSegmentWindow
 
addRegisterFileRestore(int, int) - Method in class mars.simulator.BackStepper
Add a new "back step" (the undo action) to the stack.
addRegistersObserver(Observer) - Static method in class mars.mips.hardware.Coprocessor0
Each individual register is a separate object and Observable.
addRegistersObserver(Observer) - Static method in class mars.mips.hardware.Coprocessor1
Each individual register is a separate object and Observable.
addRegistersObserver(Observer) - Static method in class mars.mips.hardware.RegisterFile
Each individual register is a separate object and Observable.
ADDRESS_EXCEPTION_LOAD - Static variable in class mars.simulator.Exceptions
 
ADDRESS_EXCEPTION_STORE - Static variable in class mars.simulator.Exceptions
 
AddressErrorException - Exception in mars.mips.hardware
Represents MIPS AddressErrorException.
AddressErrorException(String, int, int) - Constructor for exception mars.mips.hardware.AddressErrorException
Constructor for the AddressErrorException class
addStopListener(Simulator.StopListener) - Method in class mars.simulator.Simulator
 
addSymbol(Token, int, boolean, ErrorList) - Method in class mars.assembler.SymbolTable
Adds a Symbol object into the array of Symbols.
addToken(int, byte) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Adds a token to the token list.
addUndoableEdit(UndoableEdit) - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
Adds an undoable edit to this document's undo list.
aff - Variable in class mars.tools.DigitalLabSim.SevenSegmentDisplay
 
ALIGN - Static variable in class mars.assembler.Directives
 
alignToWordBoundary(int) - Static method in class mars.mips.hardware.Memory
Utility method to align given address to next full word boundary, if not already aligned.
allocateBytesFromHeap(int) - Method in class mars.mips.hardware.Memory
Returns the next available word-aligned heap address.
apply(Font) - Method in class mars.venus.AbstractFontSettingDialog
Apply the given font.
APPLY_TOOL_TIP_TEXT - Static variable in class mars.venus.SettingsHighlightingAction
 
ARITHMETIC_OVERFLOW_EXCEPTION - Static variable in class mars.simulator.Exceptions
 
ASCII - Static variable in class mars.assembler.Directives
 
ASCII - Static variable in class mars.venus.NumberDisplayBaseChooser
 
ASCII_NON_PRINT - Static variable in class mars.Globals
Placeholder for non-printable ASCII codes
ASCII_TABLE - Static variable in class mars.Globals
Array of strings to display for ASCII codes in ASCII display of data segment.
AsciiTextDumpFormat - Class in mars.mips.dump
Class that represents the "ASCII text" memory dump format.
AsciiTextDumpFormat() - Constructor for class mars.mips.dump.AsciiTextDumpFormat
Constructor.
ASCIIZ - Static variable in class mars.assembler.Directives
 
assemble(MIPSprogram, boolean) - Method in class mars.assembler.Assembler
Parse and generate machine code for the given MIPS program.
assemble(MIPSprogram, boolean, boolean) - Method in class mars.assembler.Assembler
Parse and generate machine code for the given MIPS program.
assemble(ArrayList, boolean) - Method in class mars.assembler.Assembler
Parse and generate machine code for the given MIPS program.
assemble(ArrayList, boolean, boolean) - Method in class mars.assembler.Assembler
Parse and generate machine code for the given MIPS program.
assemble(ArrayList, boolean) - Method in class mars.MIPSprogram
Assembles the MIPS source program.
assemble(ArrayList, boolean, boolean) - Method in class mars.MIPSprogram
Assembles the MIPS source program.
ASSEMBLE_ALL_ENABLED - Static variable in class mars.Settings
Flag to determine whether only the current editor source file (enabled false) or all files in its directory (enabled true) will be assembled when assembly is selected.
ASSEMBLE_ON_OPEN_ENABLED - Static variable in class mars.Settings
Flag to determine whether or not a file is immediately and automatically assembled upon opening.
Assembler - Class in mars.assembler
An Assembler is capable of assembling a MIPS program.
Assembler() - Constructor for class mars.assembler.Assembler
 
AUTO_INDENT - Static variable in class mars.Settings
Flag to control whether or not language-aware editor will use auto-indent feature

B

BACKSPACE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
BACKSPACE_WORD - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
backStep() - Method in class mars.simulator.BackStepper
Carry out a "back step", which will undo the latest execution step.
BackStepper - Class in mars.simulator
Used to "step backward" through execution, undoing each instruction.
BackStepper() - Constructor for class mars.simulator.BackStepper
Create a fresh BackStepper.
backSteppingEnabled() - Method in class mars.MIPSprogram
Returns status of BackStepper associated with this program.
BARE_MACHINE_ENABLED - Static variable in class mars.Settings
Flag to determine whether or not program being assembled is limited to using register numbers instead of names.
BasicInstruction - Class in mars.mips.instructions
Class to represent a basic instruction in the MIPS instruction set.
BasicInstruction(String, String, BasicInstructionFormat, String, SimulationCode) - Constructor for class mars.mips.instructions.BasicInstruction
BasicInstruction constructor.
BasicInstruction(String, BasicInstructionFormat, String, SimulationCode) - Constructor for class mars.mips.instructions.BasicInstruction
 
BasicInstructionFormat - Class in mars.mips.instructions
These are the MIPS-defined formats of basic machine instructions.
beginCompoundEdit() - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
Starts a compound edit that can be undone in one operation.
beginMacro(Token) - Method in class mars.assembler.MacroPool
This method will be called by parser when reached .macro directive.
Instantiates a new Macro object and stores it in MacroPool.current .
BHT_DEFAULT_HISTORY - Static variable in class mars.tools.BHTSimulator
constant for the default history size
BHT_DEFAULT_INITVAL - Static variable in class mars.tools.BHTSimulator
constant for the default inital value
BHT_DEFAULT_SIZE - Static variable in class mars.tools.BHTSimulator
constant for the default size of the BHT
BHT_DO_NOT_TAKE_BRANCH - Static variable in class mars.tools.BHTSimGUI
constant for the String representing "do not take the branch"
BHT_HEADING - Static variable in class mars.tools.BHTSimulator
the heading of the tool
BHT_NAME - Static variable in class mars.tools.BHTSimulator
the name of the tool
BHT_TAKE_BRANCH - Static variable in class mars.tools.BHTSimGUI
constant for the String representing "take the branch"
BHT_VERSION - Static variable in class mars.tools.BHTSimulator
the version of the tool
BHTableModel - Class in mars.tools
Simulates the actual functionality of a Branch History Table (BHT).
BHTableModel(int, int, boolean) - Constructor for class mars.tools.BHTableModel
Constructs a new BHT with given number of entries and history size.
BHTEntry - Class in mars.tools
Represents a single entry of the Branch History Table.
BHTEntry(int, boolean) - Constructor for class mars.tools.BHTEntry
Constructs a BHT entry with a given history size.
BHTSimGUI - Class in mars.tools
Represents the GUI of the BHT Simulator Tool.
BHTSimGUI() - Constructor for class mars.tools.BHTSimGUI
Creates the GUI components of the BHT Simulator The GUI is a subclass of JPanel which is integrated in the GUI of the MARS tool
BHTSimulator - Class in mars.tools
A MARS tool for simulating branch prediction with a Branch History Table (BHT)
BHTSimulator() - Constructor for class mars.tools.BHTSimulator
Creates a BHT Simulator with given name and heading.
biasLeft - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
BIG_ENDIAN - Static variable in class mars.mips.hardware.Memory
Constant representing byte order of each memory word.
Binary - Class in mars.util
Some utility methods for working with binary representations.
Binary() - Constructor for class mars.util.Binary
 
BinaryDumpFormat - Class in mars.mips.dump
Class that represents the "binary" memory dump format.
BinaryDumpFormat() - Constructor for class mars.mips.dump.BinaryDumpFormat
Constructor.
binaryStringToHexDigit(String) - Static method in class mars.util.Binary
Translate String consisting of '1's and '0's into char equivalent of the corresponding hexadecimal digit.
binaryStringToHexString(String) - Static method in class mars.util.Binary
Translate String consisting of '1's and '0's into String equivalent of the corresponding hexadecimal value.
binaryStringToInt(String) - Static method in class mars.util.Binary
Translate String consisting of '1's and '0's into an int value having that binary representation.
binaryStringToLong(String) - Static method in class mars.util.Binary
Translate String consisting of '1's and '0's into a long value having that binary representation.
BinaryTextDumpFormat - Class in mars.mips.dump
Class that represents the "binary text" memory dump format.
BinaryTextDumpFormat() - Constructor for class mars.mips.dump.BinaryTextDumpFormat
Constructor.
BitmapDisplay - Class in mars.tools
Bitmapp display simulator.
BitmapDisplay(String, String) - Constructor for class mars.tools.BitmapDisplay
Simple constructor, likely used to run a stand-alone bitmap display tool.
BitmapDisplay() - Constructor for class mars.tools.BitmapDisplay
Simple constructor, likely used by the MARS Tools menu mechanism
bitValue(int, int) - Static method in class mars.util.Binary
Returns the bit value of the given bit position of the given int value.
bitValue(long, int) - Static method in class mars.util.Binary
Returns the bit value of the given bit position of the given long value.
blink - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
blinkCaret() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Blinks the caret.
blockCaret - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
blockCaret - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
BOTTOM - Static variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
bracketHighlight - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
bracketHighlight - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
bracketHighlightColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
bracketHighlightColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
bracketLine - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
bracketPosition - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
BREAKPOINT - Static variable in class mars.simulator.Simulator
various reasons for simulate to end...
BREAKPOINT_EXCEPTION - Static variable in class mars.simulator.Exceptions
 
buildBasicStatementFromBasicInstruction(ErrorList) - Method in class mars.ProgramStatement
Given specification of BasicInstruction for this operator, build the corresponding assembly statement in basic assembly format (e.g.
buildButtonAreaMarsTool() - Method in class mars.tools.AbstractMarsToolAndApplication
The MarsTool default set of controls has one row of 3 buttons.
buildButtonAreaStandAlone() - Method in class mars.tools.AbstractMarsToolAndApplication
The Mars stand-alone app default set of controls has two rows of controls.
buildConfigurationCollection() - Static method in class mars.mips.hardware.MemoryConfigurations
 
buildControlPanel() - Method in class mars.venus.AbstractFontSettingDialog
 
buildDialogPanel() - Method in class mars.venus.AbstractFontSettingDialog
 
buildDisplayArea() - Method in class mars.tools.FloatRepresentation
 
buildHeadingArea() - Method in class mars.tools.AbstractMarsToolAndApplication
Constructs GUI header as label with default positioning and font.
buildMachineStatementFromBasicStatement(ErrorList) - Method in class mars.ProgramStatement
Given the current statement in Basic Assembly format (see above), build the 32-bit binary machine code statement.
buildMainDisplayArea() - Method in class mars.tools.AbstractMarsToolAndApplication
Abstract method that must be instantiated by subclass to build the main display area of the GUI.
buildMainDisplayArea() - Method in class mars.tools.BHTSimulator
Creates a GUI and initialize the GUI with the default values.
buildMainDisplayArea() - Method in class mars.tools.BitmapDisplay
Method that constructs the main display area.
buildMainDisplayArea() - Method in class mars.tools.CacheSimulator
Method that constructs the main cache simulator display area.
buildMainDisplayArea() - Method in class mars.tools.DigitalLabSim
 
buildMainDisplayArea() - Method in class mars.tools.FloatRepresentation
Method that constructs the main display area.
buildMainDisplayArea() - Method in class mars.tools.InstructionCounter
 
buildMainDisplayArea() - Method in class mars.tools.InstructionStatistics
creates the display area for the tool as required by the API
buildMainDisplayArea() - Method in class mars.tools.IntroToTools
Implementation of the inherited abstract method to build the main display area of the GUI.
buildMainDisplayArea() - Method in class mars.tools.KeyboardAndDisplaySimulator
Method that constructs the main display area.
buildMainDisplayArea() - Method in class mars.tools.MemoryReferenceVisualization
Method that constructs the main display area.
buildToolsMenu() - Method in class mars.venus.ToolLoader
Called in VenusUI to build its Tools menu.
button - Variable in class mars.tools.DigitalLabSim.HexaKeyboard
 
BYTE - Static variable in class mars.assembler.Directives
 
BYTE_SIZE - Static variable in class mars.assembler.DataTypes
Number of bytes occupied by MIPS byte is 1.

C

CacheSimulator - Class in mars.tools
A data cache simulator.
CacheSimulator(String, String) - Constructor for class mars.tools.CacheSimulator
Simple constructor, likely used to run a stand-alone cache simulator.
CacheSimulator() - Constructor for class mars.tools.CacheSimulator
Simple constructor, likely used by the MARS Tools menu mechanism
CANCEL_TOOL_TIP_TEXT - Static variable in class mars.venus.SettingsHighlightingAction
 
CARET_BLINK_RATE - Static variable in class mars.Settings
Caret blink rate in milliseconds, 0 means don't blink.
caretBlinkRate - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
caretBlinkRate - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
caretBlinks - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
caretBlinks - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
caretColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
caretColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
caretEvent - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
caretTimer - Static variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
caretUpdate(CaretEvent) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Display caret position on the edit pane.
caretVisible - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
caretVisible - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
CAUSE - Static variable in class mars.mips.hardware.Coprocessor0
 
CENTER - Static variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
changeResetValue(int) - Method in class mars.mips.hardware.Register
Change the register's reset value; the value to which it will be set when resetValue() is called.
CHAR_SIZE - Static variable in class mars.assembler.DataTypes
Number of bytes occupied by MIPS character is 1.
charnum - Variable in class mars.venus.HardcopyWriter
 
chars_per_line - Variable in class mars.venus.HardcopyWriter
 
chars_per_tab - Variable in class mars.venus.HardcopyWriter
 
charwidth - Variable in class mars.venus.HardcopyWriter
 
clear() - Method in class mars.assembler.SymbolTable
Creates a fresh arrayList for a new table.
clear() - Method in class mars.mips.hardware.Memory
Explicitly clear the contents of memory.
clearAllBreakpoints() - Method in class mars.venus.TextSegmentWindow
Clears all breakpoints that have been set since last assemble, and updates the display of the breakpoint column.
clearBit(int, int) - Static method in class mars.util.Binary
Sets the specified bit of the specified value to 0, and returns the result.
clearConditionFlag(int) - Static method in class mars.mips.hardware.Coprocessor1
Set condition flag to 0 (false).
clearConditionFlags() - Static method in class mars.mips.hardware.Coprocessor1
Clear all condition flags (0-7).
clearHighlighting() - Method in class mars.venus.Coprocessor0Window
Clear highlight background color from any row currently highlighted.
clearHighlighting() - Method in class mars.venus.Coprocessor1Window
Clear highlight background color from any row currently highlighted.
clearHighlighting() - Method in class mars.venus.DataSegmentWindow
Clear highlight background color from any cell currently highlighted.
clearHighlighting() - Method in class mars.venus.RegistersWindow
Clear highlight background color from any cell currently highlighted.
clearPane() - Method in class mars.venus.ExecutePane
Clears out all components of the Execute tab: text segment display, data segment display, label display and register display.
clearWindow() - Method in class mars.venus.Coprocessor0Window
Reset and redisplay registers
clearWindow() - Method in class mars.venus.Coprocessor1Window
Reset and redisplay registers.
clearWindow() - Method in class mars.venus.DataSegmentWindow
Removes the table from its frame, typically done when a file is closed.
clearWindow() - Method in class mars.venus.LabelsWindow
Clear the window
clearWindow() - Method in class mars.venus.RegistersWindow
clear and redisplay registers
clearWindow() - Method in class mars.venus.TextSegmentWindow
remove all components
CLIFF_TERMINATION - Static variable in class mars.simulator.Simulator
 
CLIP_COPY - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
CLIP_CUT - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
CLIP_PASTE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
clone() - Method in class mars.assembler.TokenList
Makes clone (shallow copy) of this token list object.
close() - Method in class mars.venus.Editor
Perform "close" operation on current tab's file.
close() - Method in class mars.venus.HardcopyWriter
This is the close( ) method that all Writer subclasses must implement.
CLOSE_TOOL_TIP_TEXT - Static variable in class mars.venus.SettingsHighlightingAction
 
closeAll() - Method in class mars.venus.Editor
Close all currently open files.
closeAllFiles() - Method in class mars.venus.EditTabbedPane
Carries out all necessary operations to implement the Close All operation from the File menu.
closeCurrentFile() - Method in class mars.venus.EditTabbedPane
Carries out all necessary operations to implement the Close operation from the File menu.
closeDialog() - Method in class mars.venus.AbstractFontSettingDialog
 
closeFile(int) - Static method in class mars.util.SystemIO
Close the file with specified file descriptor
COLON - Static variable in class mars.assembler.TokenTypes
 
COLOR_PREDICTION_CORRECT - Static variable in class mars.tools.BHTSimGUI
constant for the color to signal a correct prediction
COLOR_PREDICTION_INCORRECT - Static variable in class mars.tools.BHTSimGUI
constant for the color to signal a misprediction
COLOR_PREPREDICTION - Static variable in class mars.tools.BHTSimGUI
constant for the color that highlights the current BHT entry
cols - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
cols - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
COMMENT - Static variable in class mars.assembler.TokenTypes
 
COMMENT1 - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Comment 1 token id.
COMMENT2 - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Comment 2 token id.
commitMacro(Token) - Method in class mars.assembler.MacroPool
This method will be called by parser when reached .end_macro directive.
connect() - Method in class mars.tools.AbstractMarsToolAndApplication.ConnectButton
 
connectButton - Variable in class mars.tools.AbstractMarsToolAndApplication
 
construct() - Method in class mars.simulator.SwingWorker
Compute the value to be returned by the get method.
convertLineColumnToStreamPosition(int, int) - Method in class mars.venus.EditPane
Given line and column (position in the line) numbers, calculate its byte stream position in text being edited.
convertStreamPositionToLineColumn(int) - Method in class mars.venus.EditPane
 
Coprocessor0 - Class in mars.mips.hardware
Represents Coprocessor 0.
Coprocessor0() - Constructor for class mars.mips.hardware.Coprocessor0
 
Coprocessor0Window - Class in mars.venus
Sets up a window to display registers in the UI.
Coprocessor0Window() - Constructor for class mars.venus.Coprocessor0Window
Constructor which sets up a fresh window with a table that contains the register values.
Coprocessor1 - Class in mars.mips.hardware
Represents Coprocessor 1, the Floating Point Unit (FPU)
Coprocessor1() - Constructor for class mars.mips.hardware.Coprocessor1
 
Coprocessor1Window - Class in mars.venus
Sets up a window to display Coprocessor 1 registers in the Registers pane of the UI.
Coprocessor1Window() - Constructor for class mars.venus.Coprocessor1Window
Constructor which sets up a fresh window with a table that contains the register values.
copy() - Method in class mars.venus.editors.jeditsyntax.DefaultInputHandler
Returns a copy of this input handler that shares the same key bindings.
copy() - Method in class mars.venus.editors.jeditsyntax.InputHandler
Returns a copy of this input handler that shares the same key bindings.
copy() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Places the selected text into the clipboard.
copy() - Method in interface mars.venus.editors.MARSTextEditingArea
 
copyrightHolders - Static variable in class mars.Globals
MARS copyright holders
copyrightYears - Static variable in class mars.Globals
MARS copyright years
copyText() - Method in class mars.venus.EditPane
copy currently-selected text into clipboard
counter - Variable in class mars.tools.InstructionCounter
Number of instructions executed until now.
counterI - Variable in class mars.tools.InstructionCounter
Number of instructions of type I.
counterJ - Variable in class mars.tools.InstructionCounter
Number of instructions of type J.
counterR - Variable in class mars.tools.InstructionCounter
Number of instructions of type R.
countObservers() - Method in class mars.mips.hardware.Memory
Return number of observers
createExampleTokenList() - Method in class mars.mips.instructions.Instruction
Used to build a token list from the example instruction provided as constructor argument.
createFontFromStringValues(String, String, String) - Static method in class mars.util.EditorFont
Creates a new Font object based on the given String specifications.
createMacroPool() - Method in class mars.MIPSprogram
Instantiates a new MacroPool and sends reference of this MIPSprogram to it
createParsedList() - Method in class mars.MIPSprogram
Produces new empty list to hold parsed source code statements.
currentFont - Variable in class mars.venus.AbstractFontSettingDialog
 
cut() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Deletes the selected text from the text area and places it into the clipboard.
cut() - Method in interface mars.venus.editors.MARSTextEditingArea
 
cutText() - Method in class mars.venus.EditPane
cut currently-selected text into clipboard

D

DATA - Static variable in class mars.assembler.Directives
 
DATA_SEGMENT_HIGHLIGHTING - Static variable in class mars.Settings
Flag to control whether or not highlighting is applied to data segment window
DATA_SYMBOL - Static variable in class mars.assembler.Symbol
 
dataBaseAddress - Static variable in class mars.mips.hardware.Memory
base address for storage of non-global static data in data segment: 0x10010000 (from SPIM)
DATASEGMENT_HIGHLIGHT_BACKGROUND - Static variable in class mars.Settings
RGB color for text segment highlighted background
DATASEGMENT_HIGHLIGHT_FONT - Static variable in class mars.Settings
Font for text segment highlighted background
DATASEGMENT_HIGHLIGHT_FOREGROUND - Static variable in class mars.Settings
RGB color for text segment highlighted foreground
dataSegmentBaseAddress - Static variable in class mars.mips.hardware.Memory
base address for (user) data segment: 0x10000000
dataSegmentLimitAddress - Static variable in class mars.mips.hardware.Memory
 
DataSegmentWindow - Class in mars.venus
Represents the Data Segment window, which is a type of JInternalFrame.
DataSegmentWindow(NumberDisplayBaseChooser[]) - Constructor for class mars.venus.DataSegmentWindow
Constructor for the Data Segment window.
DataTypes - Class in mars.assembler
Information about MIPS data types.
DataTypes() - Constructor for class mars.assembler.DataTypes
 
debug - Static variable in class mars.Globals
Flag to determine whether or not to produce internal debugging information.
DECIMAL - Static variable in class mars.venus.NumberDisplayBaseChooser
 
DEFAULT_SIZE - Static variable in class mars.util.EditorFont
 
DEFAULT_STATUS_VALUE - Static variable in class mars.mips.hardware.Coprocessor0
 
DEFAULT_STYLE_INT - Static variable in class mars.util.EditorFont
 
DEFAULT_STYLE_STRING - Static variable in class mars.util.EditorFont
 
defaultBooleanSettingsValues - Static variable in class mars.Settings
Last resort default values for boolean settings; will use only if neither the Preferences nor the properties file work.
DefaultInputHandler - Class in mars.venus.editors.jeditsyntax
The default input handler.
DefaultInputHandler() - Constructor for class mars.venus.editors.jeditsyntax.DefaultInputHandler
Creates a new input handler with no key bindings defined.
defaultMaxSteps - Static variable in class mars.venus.RunGoAction
 
DELAYED_BRANCHING_ENABLED - Static variable in class mars.Settings
Flag to determine whether or not delayed branching is in effect at MIPS execution.
DelayedBranch - Class in mars.simulator
Represents a (potential) delayed branch.
DelayedBranch() - Constructor for class mars.simulator.DelayedBranch
 
DELETE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
DELETE_WORD - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
deleteAsObserver() - Method in class mars.tools.AbstractMarsToolAndApplication
Delete this app/tool as an Observer of MIPS Observables (memory and registers).
deleteAsObserver(Register) - Method in class mars.tools.AbstractMarsToolAndApplication
Delete this app/tool as an Observer of the specified MIPS register
deleteAsObserver() - Method in class mars.tools.FloatRepresentation
Delete this app/tool as an Observer of the attached register.
deleteLines(int, int) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Informs the token marker that line have been deleted from the document.
deleteObserver(Observer) - Method in class mars.mips.hardware.Memory
Remove specified memory observers
deleteObservers() - Method in class mars.mips.hardware.Memory
Remove all memory observers
deleteRegistersObserver(Observer) - Static method in class mars.mips.hardware.Coprocessor0
Each individual register is a separate object and Observable.
deleteRegistersObserver(Observer) - Static method in class mars.mips.hardware.Coprocessor1
Each individual register is a separate object and Observable.
deleteRegistersObserver(Observer) - Static method in class mars.mips.hardware.RegisterFile
Each individual register is a separate object and Observable.
DELIMITER - Static variable in class mars.assembler.TokenTypes
 
description - Variable in class mars.mips.instructions.Instruction
Description of instruction for display to user
descriptionDetailSeparator - Static variable in class mars.venus.HelpHelpAction
Separates Instruction name descriptor from detailed (operation) description in help string.
DigitalLabSim - Class in mars.tools
 
DigitalLabSim(String, String) - Constructor for class mars.tools.DigitalLabSim
 
DigitalLabSim() - Constructor for class mars.tools.DigitalLabSim
 
DigitalLabSim.HexaKeyboard - Class in mars.tools
 
DigitalLabSim.HexaKeyboard() - Constructor for class mars.tools.DigitalLabSim.HexaKeyboard
 
DigitalLabSim.HexaKeyboard.EcouteurClick - Class in mars.tools
 
DigitalLabSim.HexaKeyboard.EcouteurClick(int) - Constructor for class mars.tools.DigitalLabSim.HexaKeyboard.EcouteurClick
 
DigitalLabSim.OneSecondCounter - Class in mars.tools
 
DigitalLabSim.OneSecondCounter() - Constructor for class mars.tools.DigitalLabSim.OneSecondCounter
 
DigitalLabSim.SevenSegmentDisplay - Class in mars.tools
 
DigitalLabSim.SevenSegmentDisplay(char) - Constructor for class mars.tools.DigitalLabSim.SevenSegmentDisplay
 
DigitalLabSim.SevenSegmentPanel - Class in mars.tools
 
DigitalLabSim.SevenSegmentPanel() - Constructor for class mars.tools.DigitalLabSim.SevenSegmentPanel
 
DIRECTIVE - Static variable in class mars.assembler.TokenTypes
 
Directives - Class in mars.assembler
Class representing MIPS assembler directives.
discardAllUndoableEdits() - Method in class mars.venus.editors.generic.GenericTextArea
Tell UndoManager to discard all its collected undoable edits.
discardAllUndoableEdits() - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Get rid of any accumulated undoable edits.
discardAllUndoableEdits() - Method in interface mars.venus.editors.MARSTextEditingArea
 
discardAllUndoableEdits() - Method in class mars.venus.EditPane
Get rid of any accumulated undoable edits.
disconnect() - Method in class mars.tools.AbstractMarsToolAndApplication.ConnectButton
 
dispatchEventToMenu(KeyEvent) - Method in class mars.venus.VenusUI
Send keyboard event to menu for possible processing.
display - Variable in class mars.tools.DigitalLabSim.SevenSegmentPanel
 
DISPLAY_ADDRESSES_IN_HEX - Static variable in class mars.Settings
Default setting for displaying addresses and values in hexidecimal in the Execute pane.
DISPLAY_VALUES_IN_HEX - Static variable in class mars.Settings
 
displayCaretPosition(int) - Method in class mars.venus.EditPane
Update the caret position label on the editor's border to display the current line and column.
displayCaretPosition(Point) - Method in class mars.venus.EditPane
Display cursor coordinates
DIVIDE_BY_ZERO_EXCEPTION - Static variable in class mars.simulator.Exceptions
 
document - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
document - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
DOCUMENT_END - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
DOCUMENT_HOME - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
documentChanged(DocumentEvent) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
 
documentHandler - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
doFindText(String, boolean) - Method in class mars.venus.editors.generic.GenericTextArea
Finds next occurrence of text in a forward search of a string.
doFindText(String, boolean) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Finds next occurrence of text in a forward search of a string.
doFindText(String, boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
doFindText(String, boolean) - Method in class mars.venus.EditPane
Finds next occurrence of text in a forward search of a string.
doReplace(String, String, boolean) - Method in class mars.venus.editors.generic.GenericTextArea
Finds and replaces next occurrence of text in a string in a forward search.
doReplace(String, String, boolean) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Finds and replaces next occurrence of text in a string in a forward search.
doReplace(String, String, boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
doReplace(String, String, boolean) - Method in class mars.venus.EditPane
Finds and replaces next occurrence of text in a string in a forward search.
doReplaceAll(String, String, boolean) - Method in class mars.venus.editors.generic.GenericTextArea
Finds and replaces ALL occurrences of text in a string in a forward search.
doReplaceAll(String, String, boolean) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Finds and replaces ALL occurrences of text in a string in a forward search.
doReplaceAll(String, String, boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
doReplaceAll(String, String, boolean) - Method in class mars.venus.EditPane
Finds and replaces ALL occurrences of text in a string in a forward search.
DOUBLE - Static variable in class mars.assembler.Directives
 
DOUBLE_SIZE - Static variable in class mars.assembler.DataTypes
Number of bytes occupied by MIPS double is 8.
doublewordAligned(int) - Static method in class mars.mips.hardware.Memory
Utility to determine if given address is doubleword-aligned.
DumpFormat - Interface in mars.mips.dump
Interface for memory dump file formats.
DumpFormatLoader - Class in mars.mips.dump
 
DumpFormatLoader() - Constructor for class mars.mips.dump.DumpFormatLoader
 
dumpMemoryRange(File, int, int) - Method in class mars.mips.dump.AbstractDumpFormat
Write MIPS memory contents according to the specification for this format.
dumpMemoryRange(File, int, int) - Method in class mars.mips.dump.AsciiTextDumpFormat
Interpret MIPS memory contents as ASCII characters.
dumpMemoryRange(File, int, int) - Method in class mars.mips.dump.BinaryDumpFormat
Write MIPS memory contents in pure binary format.
dumpMemoryRange(File, int, int) - Method in class mars.mips.dump.BinaryTextDumpFormat
Write MIPS memory contents in binary text format.
dumpMemoryRange(File, int, int) - Method in interface mars.mips.dump.DumpFormat
Write MIPS memory contents according to the specification for this format.
dumpMemoryRange(File, int, int) - Method in class mars.mips.dump.HexTextDumpFormat
Write MIPS memory contents in hexadecimal text format.
dumpMemoryRange(File, int, int) - Method in class mars.mips.dump.IntelHexDumpFormat
Write MIPS memory contents according to the Memory Initialization File (MIF) specification.
dumpMemoryRange(File, int, int) - Method in class mars.mips.dump.MIFDumpFormat
Write MIPS memory contents according to the Memory Initialization File (MIF) specification.
dumpMemoryRange(File, int, int) - Method in class mars.mips.dump.SegmentWindowDumpFormat
Write MIPS memory contents in Segment Window format.
dumpTriples - Static variable in class mars.util.MemoryDump
A list of segmentname/dumpformat/filename triples which should be dumped

E

editable - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
editable - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
EditCopyAction - Class in mars.venus
Action for the Edit -> Copy menu item
EditCopyAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.EditCopyAction
 
EditCutAction - Class in mars.venus
Action for the Edit -> Cut menu item
EditCutAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.EditCutAction
 
EDITED - Static variable in class mars.venus.FileStatus
open/saved edit window with unsaved edits
EditFindReplaceAction - Class in mars.venus
Action for the Edit -> Find/Replace menu item
EditFindReplaceAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.EditFindReplaceAction
 
Editor - Class in mars.venus
Manage the file being edited.
Editor(VenusUI) - Constructor for class mars.venus.Editor
Create editor.
EDITOR_CURRENT_LINE_HIGHLIGHTING - Static variable in class mars.Settings
Flag to control whether or not editor will highlight the line currently being edited
EDITOR_FONT - Static variable in class mars.Settings
Font for the text editor
EDITOR_LINE_NUMBERS_DISPLAYED - Static variable in class mars.Settings
Flag to determine whether or not the editor will display line numbers.
EDITOR_POPUP_PREFIX_LENGTH - Static variable in class mars.Settings
Number of letters to be matched by editor's instruction guide before popup generated (if popup enabled)
EDITOR_TAB_SIZE - Static variable in class mars.Settings
Editor tab size in characters.
EditorFont - Class in mars.util
Specialized Font class designed to be used by both the settings menu methods and the Settings class.
EditorFont() - Constructor for class mars.util.EditorFont
 
EditPane - Class in mars.venus
Represents one file opened for editing.
EditPane(VenusUI) - Constructor for class mars.venus.EditPane
Constructor for the EditPane class.
EditPasteAction - Class in mars.venus
Action for the Edit -> Paste menu item
EditPasteAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.EditPasteAction
 
EditRedoAction - Class in mars.venus
Action for the Edit -> Redo menu item
EditRedoAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.EditRedoAction
 
EditSelectAllAction - Class in mars.venus
Action for the Edit -> Copy menu item
EditSelectAllAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.EditSelectAllAction
 
editsSavedOrAbandoned() - Method in class mars.venus.Editor
Called by several of the Action objects when there is potential loss of editing changes.
editsSavedOrAbandoned() - Method in class mars.venus.EditTabbedPane
Check whether file has unsaved edits and, if so, check with user about saving them.
EditTabbedPane - Class in mars.venus
Tabbed pane for the editor.
EditTabbedPane(VenusUI, Editor, MainPane) - Constructor for class mars.venus.EditTabbedPane
Constructor for the EditTabbedPane class.
EditUndoAction - Class in mars.venus
Action for the Edit -> Undo menu item
EditUndoAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.EditUndoAction
 
electricScroll - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
electricScroll - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
empty() - Method in class mars.simulator.BackStepper
Test whether there are steps that can be undone.
enabled() - Method in class mars.simulator.BackStepper
Determine whether execution "undo" steps are currently being recorded.
END - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
END - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
The token type, that along with a length of 0 marks the end of the token list.
END_MACRO - Static variable in class mars.assembler.Directives
 
endCompoundEdit() - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
Ends a compound edit that can be undone in one operation.
ensureCapacity(int) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Ensures that the lineInfo array can contain the specified index.
eolMarkerColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
eolMarkerColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
eolMarkers - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
eolMarkers - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
EPC - Static variable in class mars.mips.hardware.Coprocessor0
 
equals(Object) - Method in class mars.assembler.Macro
 
EQV - Static variable in class mars.assembler.Directives
 
ERROR - Static variable in class mars.assembler.TokenTypes
 
ERROR - Static variable in class mars.ErrorMessage
Constant to indicate this message is error not warning
ERROR_MESSAGE_PREFIX - Static variable in class mars.ErrorList
 
errorCount() - Method in class mars.ErrorList
Count of number of error messages in list.
errorLimitExceeded() - Method in class mars.ErrorList
Check to see if error limit has been exceeded.
ErrorList - Class in mars
Maintains list of generated error messages, regardless of source (tokenizing, parsing, assembly, execution).
ErrorList() - Constructor for class mars.ErrorList
Constructor for ErrorList
ErrorMessage - Class in mars
Represents occurrance of an error detected during tokenizing, assembly or simulation.
ErrorMessage(String, int, int, String) - Constructor for class mars.ErrorMessage
Deprecated. Newer constructors replace the String filename parameter with a MIPSprogram parameter to provide more information.
ErrorMessage(String, int, int, String, String) - Constructor for class mars.ErrorMessage
Deprecated. Newer constructors replace the String filename parameter with a MIPSprogram parameter to provide more information.
ErrorMessage(boolean, String, int, int, String, String) - Constructor for class mars.ErrorMessage
Deprecated. Newer constructors replace the String filename parameter with a MIPSprogram parameter to provide more information.
ErrorMessage(MIPSprogram, int, int, String) - Constructor for class mars.ErrorMessage
Constructor for ErrorMessage.
ErrorMessage(boolean, MIPSprogram, int, int, String) - Constructor for class mars.ErrorMessage
Constructor for ErrorMessage.
ErrorMessage(ProgramStatement, String) - Constructor for class mars.ErrorMessage
Constructor for ErrorMessage, to be used for runtime exceptions.
errors() - Method in exception mars.ProcessingException
Produce the list of error messages.
errorsOccurred() - Method in class mars.ErrorList
Determine whether error has occured or not.
EVEN_ROW_BACKGROUND - Static variable in class mars.Settings
RGB color for table even row background (text, data, register displays)
EVEN_ROW_FONT - Static variable in class mars.Settings
Font for table even row background (text, data, register displays)
EVEN_ROW_FOREGROUND - Static variable in class mars.Settings
RGB color for table even row foreground (text, data, register displays)
exampleFormat - Variable in class mars.mips.instructions.Instruction
Example usage of this instruction.
EXCEPTION - Static variable in class mars.simulator.Simulator
 
EXCEPTION_HANDLER - Static variable in class mars.Settings
Current specified exception handler file (a MIPS assembly source file)
EXCEPTION_HANDLER_ENABLED - Static variable in class mars.Settings
Flag to determine whether the currently selected exception handler source file will be included in each assembly operation.
EXCEPTION_LEVEL - Static variable in class mars.mips.hardware.Coprocessor0
 
exceptionHandlerAddress - Static variable in class mars.mips.hardware.Memory
starting address for exception handlers: 0x80000180
Exceptions - Class in mars.simulator
Represents an error/interrupt that occurs during execution (simulation).
Exceptions() - Constructor for class mars.simulator.Exceptions
 
executeAction(ActionListener, Object, String) - Method in class mars.venus.editors.jeditsyntax.InputHandler
Executes the specified action, repeating and recording it as necessary.
ExecutePane - Class in mars.venus
Container for the execution-related windows.
ExecutePane(VenusUI, RegistersWindow, Coprocessor1Window, Coprocessor0Window) - Constructor for class mars.venus.ExecutePane
initialize the Execute pane with major components
exitCode - Static variable in class mars.Globals
MARS exit code -- useful with SYSCALL 17 when running from command line (not GUI)
EXTENDED_ASSEMBLER_ENABLED - Static variable in class mars.Settings
Flag to determine whether or not program being assembled is limited to basic MIPS instructions and formats.
ExtendedInstruction - Class in mars.mips.instructions
ExtendedInstruction represents a MIPS extended (a.k.a pseudo) instruction.
ExtendedInstruction(String, String, String, String) - Constructor for class mars.mips.instructions.ExtendedInstruction
Constructor for ExtendedInstruction.
ExtendedInstruction(String, String, String) - Constructor for class mars.mips.instructions.ExtendedInstruction
Constructor for ExtendedInstruction.
ExtendedInstruction(String, String) - Constructor for class mars.mips.instructions.ExtendedInstruction
Constructor for ExtendedInstruction, where no instruction description or compact translation is provided.
EXTERN - Static variable in class mars.assembler.Directives
 
EXTERNAL_INTERRUPT_DISPLAY - Static variable in class mars.simulator.Exceptions
 
EXTERNAL_INTERRUPT_HEXA_KEYBOARD - Static variable in class mars.tools.DigitalLabSim
 
EXTERNAL_INTERRUPT_KEYBOARD - Static variable in class mars.simulator.Exceptions
The exception number is stored in coprocessor 0 cause register ($13) Note: the codes for External Interrupts have been modified from MIPS specs in order to encode two pieces of information.
EXTERNAL_INTERRUPT_TIMER - Static variable in class mars.tools.DigitalLabSim
 
externalInterruptingDevice - Static variable in class mars.simulator.Simulator
 
externBaseAddress - Static variable in class mars.mips.hardware.Memory
base address for .extern directive: 0x10000000
extractBranchAddress(ProgramStatement) - Static method in class mars.tools.BHTSimulator
Extracts the target address of the branch.
extractOperator(String) - Method in class mars.mips.instructions.Instruction
Used by subclass constructors to extract operator mnemonic from the instruction example.

F

FileCloseAction - Class in mars.venus
Action for the File -> Close menu item
FileCloseAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileCloseAction
 
FileCloseAllAction - Class in mars.venus
Action for the File -> Close All menu item
FileCloseAllAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileCloseAllAction
 
FileDumpMemoryAction - Class in mars.venus
Action for the File -> Save For Dump Memory menu item
FileDumpMemoryAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileDumpMemoryAction
 
fileErrorString - Static variable in class mars.util.SystemIO
String used for description of file error
FileExitAction - Class in mars.venus
Action for the File -> Exit menu item
FileExitAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileExitAction
 
fileExtensionMatch(String, String) - Static method in class mars.util.FilenameFinder
Determine if given filename ends with given extension.
fileExtensions - Static variable in class mars.Globals
List of accepted file extensions for MIPS assembly source files.
FILENAME_PREFIX - Static variable in class mars.ErrorList
 
FilenameFinder - Class in mars.util
Utility class to perform necessary file-related search operations.
FilenameFinder() - Constructor for class mars.util.FilenameFinder
 
FileNewAction - Class in mars.venus
Action for the File -> New menu item
FileNewAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileNewAction
 
FileOpenAction - Class in mars.venus
Action for the File -> Open menu item
FileOpenAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileOpenAction
 
FilePrintAction - Class in mars.venus
Action for the File -> Print menu item
FilePrintAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FilePrintAction
 
FileSaveAction - Class in mars.venus
Action for the File -> Save menu item
FileSaveAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileSaveAction
 
FileSaveAllAction - Class in mars.venus
Action for the File -> Close All menu item
FileSaveAllAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileSaveAllAction
 
FileSaveAsAction - Class in mars.venus
Action for the File -> Save As menu item
FileSaveAsAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.FileSaveAsAction
 
FileStatus - Class in mars.venus
Used to store and return information on the status of the current ASM file that is being edited in the program.
FileStatus() - Constructor for class mars.venus.FileStatus
Create a FileStatus object with FileStatis.NO_FILE for status and null for file getters.
FileStatus(int, String) - Constructor for class mars.venus.FileStatus
Create a FileStatus object with given status and file pathname.
findByBinaryCode(int) - Method in class mars.mips.instructions.InstructionSet
 
findDumpFormatGivenCommandDescriptor(ArrayList, String) - Static method in class mars.mips.dump.DumpFormatLoader
 
findMatchingBracket(Document, int) - Static method in class mars.venus.editors.jeditsyntax.TextUtilities
Returns the offset of the bracket matching the one at the specified offset of the document, or -1 if the bracket is unmatched (or if the character is not a bracket).
findWordEnd(String, int, String) - Static method in class mars.venus.editors.jeditsyntax.TextUtilities
Locates the end of the word at the specified position.
findWordStart(String, int, String) - Static method in class mars.venus.editors.jeditsyntax.TextUtilities
Locates the start of the word at the specified position.
finished() - Method in class mars.simulator.SwingWorker
Called on the event dispatching thread (not on the worker thread) after the construct method has returned.
fireCaretEvent() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
 
fireInsertUpdate(DocumentEvent) - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
We overwrite this method to update the token marker state immediately so that any event listeners get a consistent token marker.
fireRemoveUpdate(DocumentEvent) - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
We overwrite this method to update the token marker state immediately so that any event listeners get a consistent token marker.
firstLine - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
firstToken - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
The first token in the list.
fixSymbolTableAddress(int, int) - Method in class mars.assembler.SymbolTable
Fix address in symbol table entry.
FLOAT - Static variable in class mars.assembler.Directives
 
FLOAT_SIZE - Static variable in class mars.assembler.DataTypes
Number of bytes occupied by MIPS float is 4.
FLOATING_POINT_OVERFLOW - Static variable in class mars.simulator.Exceptions
 
FLOATING_POINT_UNDERFLOW - Static variable in class mars.simulator.Exceptions
 
FloatRepresentation - Class in mars.tools
Tool to help students learn about IEEE 754 representation of 32 bit floating point values.
FloatRepresentation(String, String) - Constructor for class mars.tools.FloatRepresentation
Simple constructor, likely used to run a stand-alone memory reference visualizer.
FloatRepresentation() - Constructor for class mars.tools.FloatRepresentation
Simple constructor, likely used by the MARS Tools menu mechanism
flush() - Method in class mars.venus.HardcopyWriter
This is the flush( ) method that all Writer subclasses must implement.
fm - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
focusedComponent - Static variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
font - Variable in class mars.venus.HardcopyWriter
 
fontsize - Variable in class mars.venus.HardcopyWriter
 
formatDoubleNumber(long, int) - Static method in class mars.venus.NumberDisplayBaseChooser
Produces a string form of a double given a long containing the 64 bit pattern and the numerical base to use (10 or 16).
formatFloatNumber(int, int) - Static method in class mars.venus.NumberDisplayBaseChooser
Produces a string form of a float given an integer containing the 32 bit pattern and the numerical base to use (10 or 16).
formatNumber(int, int) - Static method in class mars.venus.NumberDisplayBaseChooser
Produces a string form of an integer given the value and the numerical base to convert it to.
formatNumber(float, int) - Static method in class mars.venus.NumberDisplayBaseChooser
Produces a string form of a float given the value and the numerical base to convert it to.
formatNumber(double, int) - Static method in class mars.venus.NumberDisplayBaseChooser
Produces a string form of a double given the value and the numerical base to convert it to.
formatNumber(int) - Method in class mars.venus.NumberDisplayBaseChooser
Produces a string form of a number given the value.
formatUnsignedInteger(int, int) - Static method in class mars.venus.NumberDisplayBaseChooser
Produces a string form of an unsigned given the value and the numerical base to convert it to.
formatUnsignedInteger(int) - Method in class mars.venus.NumberDisplayBaseChooser
Produces a string form of an unsigned integer given the value.
FP_REGISTER_NAME - Static variable in class mars.assembler.TokenTypes
 

G

generateErrorAndWarningReport() - Method in class mars.ErrorList
Produce report containing both warnings and errors, warnings first.
generateErrorReport() - Method in class mars.ErrorList
Produce error report.
generateWarningReport() - Method in class mars.ErrorList
Produce warning report.
GENERIC_TEXT_EDITOR - Static variable in class mars.Settings
Flag to control whether or not to use generic text editor instead of language-aware styled editor
GenericTextArea - Class in mars.venus.editors.generic
 
GenericTextArea(EditPane, JComponent) - Constructor for class mars.venus.editors.generic.GenericTextArea
 
get(int) - Method in class mars.assembler.TokenList
Returns requested token given position number (starting at 0).
get(int, int) - Method in class mars.mips.hardware.Memory
Starting at the given word address, read the given number of bytes (max 4).
get() - Method in class mars.simulator.SwingWorker
Return the value created by the construct method.
get() - Static method in class mars.venus.FileStatus
Get file status
getAccessType() - Method in class mars.mips.hardware.AccessNotice
Get the access type: READ or WRITE.
getAction() - Method in class mars.simulator.SimulatorNotice
Fetch the memory address that was accessed.
getAction(String) - Static method in class mars.venus.editors.jeditsyntax.InputHandler
Returns a named text area action.
getActionName(ActionListener) - Static method in class mars.venus.editors.jeditsyntax.InputHandler
Returns the name of the specified text area action.
getActions() - Static method in class mars.venus.editors.jeditsyntax.InputHandler
Returns an enumeration of all available actions.
getAddress() - Method in class mars.assembler.Symbol
Returns the address of the the Symbol.
getAddress(String) - Method in class mars.assembler.SymbolTable
Method to return the address associated with the given label.
getAddress() - Method in exception mars.mips.hardware.AddressErrorException
Get the erroneous memory address.
getAddress() - Method in class mars.mips.hardware.MemoryAccessNotice
Fetch the memory address that was accessed.
getAddress() - Method in class mars.ProgramStatement
Produces Text Segment address where the binary machine statement is stored.
getAddressDisplayBase() - Method in class mars.venus.ExecutePane
Retrieve the number system base for displaying memory addresses
getAddressDisplayBaseChooser() - Method in class mars.venus.ExecutePane
Retrieve component used to set numerical base (10 or 16) of address display.
getAddressDisplayBaseMenuItem() - Method in class mars.venus.VenusUI
Get reference to settings menu item for display base of memory/register values.
getAddressLocalOrGlobal(String) - Method in class mars.assembler.SymbolTable
Method to return the address associated with the given label.
getAddressOfFirstNull(int, int) - Method in class mars.mips.hardware.Memory
Look for first "null" memory value in an address range.
getAddressOfFirstNull(int, int) - Static method in class mars.util.MemoryDump
Look for first "null" memory value in an address range.
getAllFamilies() - Static method in class mars.util.EditorFont
Obtain an array of all available font family names.
getAllSymbols() - Method in class mars.assembler.SymbolTable
For obtaining all the Symbols.
getArgs() - Method in class mars.assembler.Macro
 
getAsciiNonPrint() - Static method in class mars.Globals
 
getAsciiStrings() - Static method in class mars.Globals
 
getAssembleAllEnabled() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.ASSEMBLE_ALL_ENABLED)
getAssembleOnOpenEnabled() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.ASSEMBLE_ON_OPEN_ENABLED)
getAssembleTextArea() - Method in class mars.venus.MessagesPane
Returns component used to display assembler messages
getAutoIndent() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Constructs string for auto-indent feature.
getBackStepper() - Method in class mars.MIPSprogram
Returns BackStepper associated with this program.
getBackSteppingEnabled() - Method in class mars.Settings
Return whether backstepping is permitted at this time.
getBareMachineEnabled() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.BARE_MACHINE_ENABLED)
getBase() - Method in class mars.venus.NumberDisplayBaseChooser
Retrieve the current number base.
getBase(boolean) - Static method in class mars.venus.NumberDisplayBaseChooser
Return the number base corresponding to the specified setting.
getBaseAddresses(String[]) - Static method in class mars.util.MemoryDump
Get the MIPS memory base address(es) of the specified segment name(s).
getBasicAssemblyStatement() - Method in class mars.ProgramStatement
Produces Basic Assembly statement for this MIPS source statement.
getBasicIntructionTemplateList() - Method in class mars.mips.instructions.ExtendedInstruction
Get ArrayList of Strings that represent list of templates for basic instructions generated by this extended instruction.
getBinaryStatement() - Method in class mars.ProgramStatement
Produces 32-bit binary machine statement as int.
getBooleanSetting(int) - Method in class mars.Settings
Fetch value of a boolean setting given its identifier.
getBracketHighlightColor() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the bracket highlight color.
getBracketLine() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the line of the highlighted bracket (the bracket matching the one before the caret)
getBracketPosition() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the position of the highlighted bracket (the bracket matching the one before the caret)
getBreakpointCount() - Method in class mars.venus.TextSegmentWindow
Returns number of breakpoints currently set.
getByte(int) - Method in class mars.mips.hardware.Memory
Reads specified Memory byte into low order 8 bits of int.
getByte(int, int) - Static method in class mars.util.Binary
Gets the specified byte of the specified value.
getByteOrder() - Method in class mars.mips.hardware.Memory
Retrieve memory byte order.
getCallStack() - Method in class mars.assembler.MacroPool
 
getCaretBlinkRate() - Method in class mars.Settings
Retrieve the caret blink rate in milliseconds.
getCaretColor() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the caret color.
getCaretLine() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the caret line.
getCaretPosition() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the caret position.
getCaretPosition() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getCbBHTentries() - Method in class mars.tools.BHTSimGUI
Returns the combo box for selecting the number of BHT entries.
getCbBHThistory() - Method in class mars.tools.BHTSimGUI
Returns the combo box for selecting the size of the BHT history.
getCbBHTinitVal() - Method in class mars.tools.BHTSimGUI
Returns the combo box for selecting the initial value of the BHT
getCharactersPerLine() - Method in class mars.venus.HardcopyWriter
Return the number of columns of characters that fit on the page
getCodeHighlighting() - Method in class mars.venus.TextSegmentWindow
Get code highlighting status.
getColor() - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Returns the color specified in this style.
getColorAsHexString() - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Returns the color coded as Stringified 32-bit hex with Red in bits 16-23, Green in bits 8-15, Blue in bits 0-7 e.g.
getColorSettingByKey(String) - Method in class mars.Settings
Get Color object for specified settings key.
getColorSettingByPosition(int) - Method in class mars.Settings
Get Color object for specified settings name (a static constant).
getColumnClass(int) - Method in class mars.tools.BHTableModel
Returns the class/type of the i-th column of the table.
getColumnCount() - Method in class mars.tools.BHTableModel
Returns the number of columns.
getColumnName(int) - Method in class mars.tools.BHTableModel
Returns the name of the i-th column of the table.
getCommandDescriptor() - Method in class mars.mips.dump.AbstractDumpFormat
One-word description of format to be used by MARS command mode parser and user in conjunction with the "dump" option.
getCommandDescriptor() - Method in interface mars.mips.dump.DumpFormat
A short one-word descriptor that will be used by the MARS command line parser (and the MARS command line user) to specify that this format is to be used.
getCommonFamilies() - Static method in class mars.util.EditorFont
Obtain an array of common font family names.
getCompactBasicIntructionTemplateList() - Method in class mars.mips.instructions.ExtendedInstruction
Get ArrayList of Strings that represent list of templates for basic instructions generated by the "compact" or 16-bit version of this extended instruction.
getCompactInstructionLength() - Method in class mars.mips.instructions.ExtendedInstruction
Get length in bytes that this extended instruction requires in its binary form if it includes an alternative expansion for compact memory (16 bit addressing) configuration.
getConditionFlag(int) - Static method in class mars.mips.hardware.Coprocessor1
Get value of specified condition flag (0-7).
getConditionFlagCount() - Static method in class mars.mips.hardware.Coprocessor1
Get count of condition flags.
getConditionFlags() - Static method in class mars.mips.hardware.Coprocessor1
Get array of condition flags (0-7).
getConfigurationByName(String) - Static method in class mars.mips.hardware.MemoryConfigurations
 
getConfigurationIdentifier() - Method in class mars.mips.hardware.MemoryConfiguration
 
getConfigurationItemNames() - Method in class mars.mips.hardware.MemoryConfiguration
 
getConfigurationItemValues() - Method in class mars.mips.hardware.MemoryConfiguration
 
getConfigurationName() - Method in class mars.mips.hardware.MemoryConfiguration
 
getConfigurationsIterator() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getCoprocessor0Window() - Method in class mars.venus.ExecutePane
Access the coprocessor0 values window.
getCoprocessor0Window() - Method in class mars.venus.RegistersPane
Return component containing coprocessor 0 (exceptions) register set.
getCoprocessor1Window() - Method in class mars.venus.ExecutePane
Access the coprocessor1 values window.
getCoprocessor1Window() - Method in class mars.venus.RegistersPane
Return component containing coprocessor 1 (floating point) register set.
getCurrent() - Method in class mars.assembler.MacroPool
 
getCurrentConfiguration() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getCurrentEditTab() - Method in class mars.venus.EditTabbedPane
The current EditPane representing a file.
getCurrentEditTabForFile(File) - Method in class mars.venus.EditTabbedPane
If the given file is open in the tabbed pane, make it the current tab.
getCurrentOpenDirectory() - Method in class mars.venus.Editor
Get name of current directory for Open operation.
getCurrentSaveDirectory() - Method in class mars.venus.Editor
Get name of current directory for Save or Save As operation.
getCurrentSyntaxStyles() - Static method in class mars.venus.editors.jeditsyntax.SyntaxUtilities
Returns the CURRENT style table.
getDataBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getDataSegmentBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getDataSegmentHighlighting() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.DATA_SEGMENT_HIGHLIGHTING)
getDataSegmentLimitAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getDataSegmentWindow() - Method in class mars.venus.ExecutePane
Access the data segment window.
getDataSymbols() - Method in class mars.assembler.SymbolTable
For obtaining the Data Symbols.
getDefaultColorSettingByKey(String) - Method in class mars.Settings
Get default Color value for specified settings key.
getDefaultColorSettingByPosition(int) - Method in class mars.Settings
Get default Color object for specified settings name (a static constant).
getDefaultConfiguration() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultDataBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultDataSegmentBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultDataSegmentLimitAddress() - Method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultEditorSyntaxStyleByPosition(int) - Method in class mars.Settings
 
getDefaultEditorTabSize() - Method in class mars.Settings
Get the text editor default tab size in characters
getDefaultExceptionHandlerAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultExternBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultFontByPosition(int) - Method in class mars.Settings
Retrieve a default Font setting
getDefaultGlobalPointer() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultHeapBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultKernelBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultKernelDataBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultKernelDataSegmentLimitAddress() - Method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultKernelHighAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultKernelTextBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultKernelTextLimitAddress() - Method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultMemoryMapBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaults() - Static method in class mars.venus.editors.jeditsyntax.TextAreaDefaults
Returns a new TextAreaDefaults object with the default values filled in.
getDefaultStackBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultStackLimitAddress() - Method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultStackPointer() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultSyntaxStyles() - Static method in class mars.venus.editors.jeditsyntax.SyntaxUtilities
Returns the default style table.
getDefaultTextBaseAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultTextLimitAddress() - Method in class mars.mips.hardware.MemoryConfigurations
 
getDefaultUserHighAddress() - Static method in class mars.mips.hardware.MemoryConfigurations
 
getDelay() - Method in class mars.venus.RepeatButton
Gets the delay for the timer of this button.
getDelayedBranchingEnabled() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.DELAYED_BRANCHING_ENABLED)
getDescription() - Method in class mars.assembler.Directives
Get description of this Directives object
getDescription() - Method in class mars.mips.dump.AbstractDumpFormat
Get a short description of the format, suitable for displaying along with the extension, in the file save dialog, or as a tool tip.
getDescription() - Method in interface mars.mips.dump.DumpFormat
Get a short description of the format, suitable for displaying along with the extension, if any, in the file save dialog and also for displaying as a tool tip.
getDescription() - Method in class mars.mips.instructions.Instruction
Get string describing the instruction.
getDescription() - Method in class mars.venus.editors.jeditsyntax.PopupHelpItem
 
getDirectiveList() - Static method in class mars.assembler.Directives
Produces List of Directive objects
getDisplayAddressesInHex() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.DISPLAY_ADDRESSES_IN_HEX)
getDisplayValuesInHex() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.DISPLAY_VALUES_IN_HEX)
getDocument() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the document this text area is editing.
getDocument() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getDocumentLength() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the length of the document.
getDoubleFromRegisterPair(int) - Static method in class mars.mips.hardware.Coprocessor1
Gets the double value stored in the given FPU register.
getDoubleFromRegisterPair(String) - Static method in class mars.mips.hardware.Coprocessor1
Gets the double value stored in the given FPU register.
getEditor() - Method in class mars.venus.VenusUI
Get reference to Editor object associated with this GUI.
getEditorFont() - Method in class mars.Settings
Current editor font.
getEditorLineNumbersDisplayed() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.EDITOR_LINE_NUMBERS_DISPLAYED)
getEditorPopupPrefixLength() - Method in class mars.Settings
Get number of letters to be matched by editor's instruction guide before popup generated (if popup enabled).
getEditorSyntaxStyleByPosition(int) - Method in class mars.Settings
 
getEditorTabSize() - Method in class mars.Settings
Get the tab size in characters.
getEditPane() - Method in class mars.venus.MainPane
Returns current edit pane.
getEditPaneForFile(String) - Method in class mars.venus.EditTabbedPane
If there is an EditPane for the given file pathname, return it else return null.
getEditTabbedPane() - Method in class mars.venus.MainPane
Returns component containing editor display
getElectricScroll() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the number of lines from the top and button of the text area that are always visible.
getEOLMarkerColor() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the EOL marker color.
getEOLMarkersPainted() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns true if EOL markers are drawn, false otherwise.
getErrorLimit() - Method in class mars.ErrorList
Get limit on number of error messages to be generated by one assemble operation.
getErrorList() - Method in class mars.assembler.Assembler
Get list of assembler errors and warnings
getErrorMessages() - Method in class mars.ErrorList
Get ArrayList of error messages.
getErrors() - Method in class mars.assembler.Tokenizer
Fetch this Tokenizer's error list.
getExact() - Method in class mars.venus.editors.jeditsyntax.PopupHelpItem
Determines whether match occurred in an exact-match or prefix-match search.
getExample() - Method in class mars.venus.editors.jeditsyntax.PopupHelpItem
 
getExampleFormat() - Method in class mars.mips.instructions.Instruction
Get string descriptor of instruction's format.
getExampleLength() - Method in class mars.venus.editors.jeditsyntax.PopupHelpItem
 
getExamplePaddedToLength(int) - Method in class mars.venus.editors.jeditsyntax.PopupHelpItem
 
getExceptionHandler() - Method in class mars.Settings
Name of currently selected exception handler file.
getExceptionHandlerAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getExceptionHandlerEnabled() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.EXCEPTION_HANDLER_ENABLED)
getExecutePane() - Method in class mars.venus.MainPane
returns component containing execution-time display
getExecuteTab() - Method in class mars.venus.MainPane
returns component containing execution-time display.
getExpansionHistory() - Method in class mars.assembler.MacroPool
 
getExtendedAssemblerEnabled() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.EXTENDED_ASSEMBLER_ENABLED)
getExtension(File) - Static method in class mars.util.FilenameFinder
Get the filename extension of the specified File.
getExternalTools() - Static method in class mars.Globals
Get list of MarsTools that reside outside the MARS distribution.
getExternBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getFile() - Static method in class mars.venus.FileStatus
Returns the ASM file.
getFileErrorMessage() - Static method in class mars.util.SystemIO
Retrieve file operation or error message
getFileExtension() - Method in class mars.mips.dump.AbstractDumpFormat
Get the file extension associated with this format.
getFileExtension() - Method in interface mars.mips.dump.DumpFormat
Get the file extension associated with this format.
getFileFilter(ArrayList, String, boolean) - Static method in class mars.util.FilenameFinder
Get a FileFilter that will filter files based on the given list of filename extensions.
getFileFilter(ArrayList, String) - Static method in class mars.util.FilenameFinder
Get a FileFilter that will filter files based on the given list of filename extensions.
getFileFilter(String, String, boolean) - Static method in class mars.util.FilenameFinder
Get a FileFilter that will filter files based on the given filename extension.
getFileFilter(String, String) - Static method in class mars.util.FilenameFinder
Get a FileFilter that will filter files based on the given filename extension.
getFilename() - Method in class mars.assembler.SourceLine
Retrieve name of file containing source statement
getFilename() - Method in class mars.ErrorMessage
Produce name of file containing error.
getFilename() - Method in class mars.MIPSprogram
Produces name of associated source code file.
getFilename() - Method in class mars.venus.EditPane
Delegates to corresponding FileStatus method
getFilename() - Method in class mars.venus.FileStatus
Get file name with no path information.
getFilenameList(ClassLoader, String, String) - Static method in class mars.util.FilenameFinder
Locate files and return list of file names.
getFilenameList(ClassLoader, String, ArrayList) - Static method in class mars.util.FilenameFinder
Locate files and return list of file names.
getFilenameList(String, String) - Static method in class mars.util.FilenameFinder
Locate files and return list of file names.
getFilenameList(String, ArrayList) - Static method in class mars.util.FilenameFinder
Locate files and return list of file names.
getFilenameList(ArrayList, String) - Static method in class mars.util.FilenameFinder
Return list of file names.
getFilenameList(ArrayList, ArrayList) - Static method in class mars.util.FilenameFinder
Return list of file names.
getFileStatus() - Method in class mars.venus.EditPane
Get the editing status for this EditPane's associated document.
getFileStatus() - Method in class mars.venus.FileStatus
Get editing status of this file.
getFirstLine() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the line displayed at the text area's origin.
getFloatFromRegister(int) - Static method in class mars.mips.hardware.Coprocessor1
Gets the float value stored in the given FPU register.
getFloatFromRegister(String) - Static method in class mars.mips.hardware.Coprocessor1
Gets the float value stored in the given FPU register.
getFont() - Method in class mars.venus.AbstractFontSettingDialog
 
getFont() - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
 
getFont() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getFontByPosition(int) - Method in class mars.Settings
Retrieve a Font setting
getFontMetrics(Font) - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Returns the font metrics for the styled font.
getFontMetrics() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the font metrics used by this component.
getFontMetrics(Font) - Method in interface mars.venus.editors.MARSTextEditingArea
 
getFontStyleStrings() - Static method in class mars.util.EditorFont
Get array containing String values for font style names.
getFromLine() - Method in class mars.assembler.Macro
 
getGlobalPointer() - Method in class mars.mips.hardware.MemoryConfiguration
 
getGui() - Static method in class mars.Globals
 
getHalf(int) - Method in class mars.mips.hardware.Memory
Starting at the given word address, read a 2 byte word into lower 16 bits of int.
getHeapBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getHelpComponent() - Method in class mars.tools.AbstractMarsToolAndApplication
Override this method to provide a JComponent (probably a JButton) of your choice to be placed just left of the Close/Exit button.
getHelpComponent() - Method in class mars.tools.BitmapDisplay
Overrides default method, to provide a Help button for this tool/app.
getHelpComponent() - Method in class mars.tools.DigitalLabSim
 
getHelpComponent() - Method in class mars.tools.KeyboardAndDisplaySimulator
Overrides default method, to provide a Help button for this tool/app.
getHelpComponent() - Method in class mars.tools.MemoryReferenceVisualization
Overrides default method, to provide a Help button for this tool/app.
getHistoryAsStr() - Method in class mars.tools.BHTEntry
Builds a string representation of the BHT entry's history.
getHorizontalOffset() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the horizontal offset of drawn lines.
getIdxForAddress(int) - Method in class mars.tools.BHTableModel
Returns the index into the BHT for a given branch instruction address.
getIgnoreCase() - Method in class mars.venus.editors.jeditsyntax.KeywordMap
Returns true if the keyword map is set to be case insensitive, false otherwise.
getInitialDelay() - Method in class mars.venus.RepeatButton
Gets the initial delay for the timer of this button.
getInitialProgramCounter() - Static method in class mars.mips.hardware.RegisterFile
For returning the program counter's initial (reset) value.
getInputHandler() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the input handler.
getInputString(String) - Method in class mars.venus.MessagesPane
Method used by the SystemIO class to get interactive user input requested by a running MIPS program (e.g.
getInputString(int) - Method in class mars.venus.MessagesPane
Method used by the SystemIO class to get interactive user input requested by a running MIPS program (e.g.
getInstance() - Static method in class mars.mips.hardware.Memory
Returns the unique Memory instance, which becomes in essence global.
getInstance() - Static method in class mars.simulator.Simulator
Returns the Simulator object
getInstance() - Static method in class mars.venus.RunSpeedPanel
Retrieve the run speed panel object
getInstruction() - Method in class mars.ProgramStatement
Produces Instruction object corresponding to this statement's operator.
getInstructionCategory(ProgramStatement) - Method in class mars.tools.InstructionStatistics
decodes the instruction and determines the category of the instruction.
getInstructionFormat() - Method in class mars.mips.instructions.BasicInstruction
Gets the operand format of the instruction.
getInstructionLength() - Method in class mars.mips.instructions.ExtendedInstruction
Get length in bytes that this extended instruction requires in its binary form.
getInstructionLength() - Method in class mars.mips.instructions.Instruction
Get length in bytes that this instruction requires in its binary form.
getInstructionList() - Method in class mars.mips.instructions.InstructionSet
Retrieve the current instruction set.
getIntFromRegister(int) - Static method in class mars.mips.hardware.Coprocessor1
Gets the 32-bit int bit pattern stored in the given FPU register.
getIntFromRegister(String) - Static method in class mars.mips.hardware.Coprocessor1
Gets the 32-bit int bit pattern stored in the given FPU register.
getInvalidLinesPainted() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns true if invalid lines are painted as red tildes (~), false otherwise.
getKernelBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getKernelDataBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getKernelDataSegmentLimitAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getKernelHighAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getKernelTextBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getKernelTextLimitAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getKeywords() - Static method in class mars.venus.editors.jeditsyntax.tokenmarker.MIPSTokenMarker
Get KeywordMap containing all MIPS key words.
getLabelSortState() - Method in class mars.Settings
Get the saved state of the Labels Window sorting (can sort by either label or address and either ascending or descending order).
getLabelsWindow() - Method in class mars.venus.ExecutePane
Access the label values window.
getLabelWindowVisibility() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.LABEL_WINDOW_VISIBILITY)
getLeadingWhiteSpace() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Makes a copy of leading white space (tab or space) from the current line and returns it.
getLength() - Method in class mars.mips.hardware.MemoryAccessNotice
Fetch the length in bytes of the access operation (4,2,1).
getLengthInBytes(Directives) - Static method in class mars.assembler.DataTypes
Get length in bytes for numeric MIPS directives.
getLimitAddresses(String[]) - Static method in class mars.util.MemoryDump
Get the MIPS memory limit address(es) of the specified segment name(s).
getLine() - Method in class mars.ErrorMessage
Produce line number of error.
getLineCount() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the number of lines in the document.
getLineCount() - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Returns the number of lines in this token marker.
getLineEndOffset(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the end offset of the specified line.
getLineHighlightColor() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the line highlight color.
getLineLength(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the length of the specified line.
getLineNumber() - Method in class mars.assembler.SourceLine
Retrieve line number of source statement
getLineNumbersList(Document) - Method in class mars.venus.EditPane
 
getLineOfOffset(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the line containing the specified offset.
getLinesPerPage() - Method in class mars.venus.HardcopyWriter
Return the number of lines that fit on a page
getLineStartOffset(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the start offset of the specified line.
getLineText(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the text on the specified line.
getLineText(int, Segment) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Copies the text on the specified line into a segment.
getLocalMacroPool() - Method in class mars.MIPSprogram
Gets local macro pool MacroPool for this program
getLocalSymbolTable() - Method in class mars.MIPSprogram
Returns SymbolTable associated with this program.
getLongFromRegisterPair(int) - Static method in class mars.mips.hardware.Coprocessor1
Gets a long representing the double value stored in the given double precision FPU register.
getLongFromRegisterPair(String) - Static method in class mars.mips.hardware.Coprocessor1
Gets the double value stored in the given FPU register.
getMachineList() - Method in class mars.MIPSprogram
Produces list of machine statements that are assembled from the program.
getMachineStatement() - Method in class mars.ProgramStatement
Produces binary machine statement as 32 character string, all '0' and '1' chars.
getMacroExpansionHistory() - Method in class mars.ErrorMessage
Returns string describing macro expansion.
getMacroRecorder() - Method in class mars.venus.editors.jeditsyntax.InputHandler
Returns the macro recorder.
getMagicCaretPosition() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the `magic' caret position.
getMainPane() - Method in class mars.venus.VenusUI
Get reference to messages pane associated with this GUI.
getMarkLine() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the mark line.
getMarkPosition() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the mark position.
getMatchingMacro(TokenList, int) - Method in class mars.assembler.MacroPool
Will be called by parser when reaches a macro expansion call
getMaxSteps() - Method in class mars.simulator.SimulatorNotice
Fetch the length in bytes of the access operation (4,2,1).
getMemoryConfiguration() - Method in class mars.Settings
Returns identifier of current built-in memory configuration.
getMemoryMapBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getMemoryMapLimitAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getMemoryMapLimitAddress() - Method in class mars.mips.hardware.MemoryConfigurations
 
getMenuState() - Static method in class mars.venus.VenusUI
Get current menu state.
getMessage() - Method in class mars.ErrorMessage
Produce error message.
getMessagesPane() - Method in class mars.venus.VenusUI
Get reference to messages pane associated with this GUI.
getMinimumSize() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the painter's minimum size.
getMIPSprogram() - Method in class mars.assembler.SourceLine
Retrieve MIPSprogram object containing source statement
getMIPSTokenExamples() - Static method in class mars.venus.editors.jeditsyntax.tokenmarker.MIPSTokenMarker
 
getMIPSTokenLabels() - Static method in class mars.venus.editors.jeditsyntax.tokenmarker.MIPSTokenMarker
 
getName() - Method in class mars.assembler.Directives
Get name of this Directives object
getName() - Method in class mars.assembler.Macro
 
getName() - Method in class mars.assembler.Symbol
Returns the label of the the Symbol.
getName() - Method in class mars.mips.hardware.Register
Returns the name of the Register.
getName() - Method in class mars.mips.instructions.Instruction
Get operation mnemonic
getName() - Method in class mars.mips.instructions.syscalls.AbstractSyscall
Return the name you have chosen for this syscall.
getName() - Method in interface mars.mips.instructions.syscalls.Syscall
Return a name you have chosen for this syscall.
getName() - Method in class mars.mips.instructions.syscalls.SyscallNumberOverride
Get the service name as a String.
getName() - Method in class mars.tools.AbstractMarsToolAndApplication
Required MarsTool method to return Tool name.
getName() - Method in class mars.tools.BHTSimulator
Returns the name of the tool.
getName() - Method in class mars.tools.BitmapDisplay
Required MarsTool method to return Tool name.
getName() - Method in class mars.tools.CacheSimulator
Required MarsTool method to return Tool name.
getName() - Method in class mars.tools.DigitalLabSim
 
getName() - Method in class mars.tools.FloatRepresentation
Fetch tool name (for display in MARS Tools menu)
getName() - Method in class mars.tools.InstructionCounter
 
getName() - Method in class mars.tools.InstructionStatistics
returns the name of the tool
getName() - Method in class mars.tools.IntroToTools
Required method to return Tool name.
getName() - Method in class mars.tools.KeyboardAndDisplaySimulator
Required MarsTool method to return Tool name.
getName() - Method in class mars.tools.MarsBot
 
getName() - Method in interface mars.tools.MarsTool
Return a name you have chosen for this tool.
getName() - Method in class mars.tools.MemoryReferenceVisualization
Required MarsTool method to return Tool name.
getName() - Method in class mars.tools.ScavengerHunt
 
getName() - Method in class mars.tools.ScreenMagnifier
 
getName() - Static method in class mars.venus.FileStatus
Returns the name of the file.
getNextCounter() - Method in class mars.assembler.MacroPool
MacroPool.counter will be set to 0 on construction of this class and will be incremented by each call.
getNextDefaultFilename() - Method in class mars.venus.Editor
Generates a default file name
getNumber(String) - Static method in class mars.mips.hardware.Coprocessor0
For getting the number representation of the register.
getNumber() - Method in class mars.mips.hardware.Register
Returns the number of the Register.
getNumber(String) - Static method in class mars.mips.hardware.RegisterFile
For getting the number representation of the register.
getNumber() - Method in class mars.mips.instructions.syscalls.AbstractSyscall
Return the assigned service number.
getNumber() - Method in interface mars.mips.instructions.syscalls.Syscall
Return the assigned service number.
getNumber() - Method in class mars.mips.instructions.syscalls.SyscallNumberOverride
Get the new service number as an int.
getOpcodeMask() - Method in class mars.mips.instructions.BasicInstruction
 
getOpcodeMatch() - Method in class mars.mips.instructions.BasicInstruction
 
getOperand(int) - Method in class mars.ProgramStatement
Produces operand value from given array position (first operand is position 0).
getOperands() - Method in class mars.ProgramStatement
Produces int array of operand values for this statement.
getOperationMask() - Method in class mars.mips.instructions.BasicInstruction
Gets the 32-character operation mask.
getOriginalFromLine() - Method in class mars.assembler.Macro
 
getOriginalProgram() - Method in class mars.assembler.Token
Produces original program containing this token.
getOriginalSourceLine() - Method in class mars.assembler.Token
Produces original line number of this token.
getOriginalTokenList() - Method in class mars.ProgramStatement
Produces token list generated from original source statement.
getOriginalToLine() - Method in class mars.assembler.Macro
 
getOuterComponent() - Method in class mars.venus.editors.generic.GenericTextArea
 
getOuterComponent() - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
 
getOuterComponent() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getPainter() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the object responsible for painting this text area.
getParent() - Method in class mars.venus.FileStatus
Get file parent pathname.
getParsedList() - Method in class mars.MIPSprogram
Produces existing list of parsed source code statements.
getPathname() - Method in class mars.venus.EditPane
Delegates to corresponding FileStatus method
getPathname() - Method in class mars.venus.FileStatus
Get full file pathname.
getPosition() - Method in class mars.ErrorMessage
Produce position within erroneous line.
getPrediction() - Method in class mars.tools.BHTEntry
Returns the branch prediction based on the history.
getPredictionAsStr() - Method in class mars.tools.BHTEntry
Returns a string representation of the BHT entry's current prediction.
getPredictionAtIdx(int) - Method in class mars.tools.BHTableModel
Retrieve the prediction for the i-th BHT entry.
getPreferredSize() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the painter's preferred size.
getPrintableBasicAssemblyStatement() - Method in class mars.ProgramStatement
Produces printable Basic Assembly statement for this MIPS source statement.
getProcessedLine() - Method in class mars.assembler.TokenList
Retrieve the source line String associated with this token list.
getProgram() - Method in class mars.assembler.Macro
 
getProgramArguments() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.PROGRAM_ARGUMENTS)
getProgramArguments() - Method in class mars.venus.TextSegmentWindow
Get program arguments from text field in south border of text segment window.
getProgramCounter() - Static method in class mars.mips.hardware.RegisterFile
For returning the program counters value.
getProgramCounter() - Method in class mars.simulator.SimulatorNotice
Fetch the value of the access operation (the value read or written).
getProgramCounterRegister() - Static method in class mars.mips.hardware.RegisterFile
Returns Register object for program counter.
getPropertyEntry(String, String) - Static method in class mars.Globals
Read and return property file value (if any) for requested property.
getRawWord(int) - Method in class mars.mips.hardware.Memory
Starting at the given word address, read a 4 byte word as an int.
getRawWordOrNull(int) - Method in class mars.mips.hardware.Memory
Starting at the given word address, read a 4 byte word as an int and return Integer.
getRegister(String) - Static method in class mars.mips.hardware.Coprocessor0
Get register object corresponding to given name.
getRegister(String) - Static method in class mars.mips.hardware.Coprocessor1
Get register object corresponding to given name.
getRegisterName() - Method in class mars.mips.hardware.RegisterAccessNotice
Fetch the register number of register accessed.
getRegisterNumber(String) - Static method in class mars.mips.hardware.Coprocessor1
For getting the number representation of the FPU register.
getRegisterPosition(Register) - Static method in class mars.mips.hardware.Coprocessor0
Coprocessor0 implements only selected registers, so the register number (8, 12, 13, 14) does not correspond to its position in the list of registers (0, 1, 2, 3).
getRegisters() - Static method in class mars.mips.hardware.Coprocessor0
For returning the set of registers.
getRegisters() - Static method in class mars.mips.hardware.Coprocessor1
For returning the set of registers.
getRegisters() - Static method in class mars.mips.hardware.RegisterFile
For returning the set of registers.
getRegistersHighlighting() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.REGISTERS_HIGHLIGHTING)
getRegistersPane() - Method in class mars.venus.VenusUI
Get reference to registers pane associated with this GUI.
getRegistersWindow() - Method in class mars.venus.ExecutePane
Access the register values window.
getRegistersWindow() - Method in class mars.venus.RegistersPane
Return component containing integer register set.
getRepeatCount() - Method in class mars.venus.editors.jeditsyntax.InputHandler
Returns the number of times the next action will be repeated.
getReset() - Static method in class mars.venus.VenusUI
To find out whether the register values are reset.
getResetValue() - Method in class mars.mips.hardware.Register
Returns the reset value of the Register.
getRightClickPopup() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the right click popup menu.
getRowCount() - Method in class mars.tools.BHTableModel
Returns the number of entries of the BHT.
getRunAssembleAction() - Method in class mars.venus.VenusUI
Return reference tothe Run->Assemble item's action.
getRunSpeed() - Method in class mars.simulator.SimulatorNotice
Fetch the value of the access operation (the value read or written).
getRunSpeed() - Method in class mars.venus.RunSpeedPanel
returns current run speed setting, in instructions/second.
getRunTextArea() - Method in class mars.venus.MessagesPane
Returns component used to display runtime messages
getSegmentBounds(String) - Static method in class mars.util.MemoryDump
Return array with segment address bounds for specified segment.
getSegmentMapKey(Segment, int, int) - Method in class mars.venus.editors.jeditsyntax.KeywordMap
 
getSegmentNames() - Static method in class mars.util.MemoryDump
Get the names of segments available for memory dump.
getSelectedText() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the selected text, or null if no selection is active.
getSelectedText() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getSelectionColor() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the selection color.
getSelectionEnd() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the selection end offset.
getSelectionEnd(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the offset where the selection ends on the specified line.
getSelectionEnd() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getSelectionEndLine() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the selection end line.
getSelectionStart() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the selection start offset.
getSelectionStart(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the offset where the selection starts on the specified line.
getSelectionStart() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getSelectionStartLine() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the selection start line.
getSettings() - Static method in class mars.Globals
 
getSimulationCode() - Method in class mars.mips.instructions.BasicInstruction
Gets the SimulationCode object.
getSize() - Method in class mars.assembler.SymbolTable
Get the count of entries currently in the table.
getSortedBreakPointsArray() - Method in class mars.venus.TextSegmentWindow
Returns array of current breakpoints, each represented by a MIPS program counter address.
getSource() - Method in class mars.assembler.SourceLine
Retrieve source statement itself
getSource() - Method in class mars.ProgramStatement
Produces MIPS source statement.
getSource() - Method in class mars.venus.EditPane
Get source code text
getSourceFile() - Method in class mars.ProgramStatement
Produces String name of the source file containing this statement.
getSourceLine() - Method in class mars.assembler.Token
Produces line number of MIPS program of this token.
getSourceLine(int) - Method in class mars.MIPSprogram
Produces specified line of MIPS source program.
getSourceLine() - Method in class mars.ProgramStatement
Produces line number of MIPS source statement.
getSourceLineCount() - Method in class mars.venus.EditPane
Calculate and return number of lines in source code text.
getSourceLineList() - Method in class mars.MIPSprogram
Retrieve list of source statements that comprise the program.
getSourceList() - Method in class mars.MIPSprogram
Produces list of source statements that comprise the program.
getSourceMIPSprogram() - Method in class mars.assembler.Token
Produces MIPSprogram object associated with this token.
getSourceMIPSprogram() - Method in class mars.ProgramStatement
Produces MIPSprogram object representing the source file containing this statement.
getStackBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getStackLimitAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getStackPointer() - Method in class mars.mips.hardware.MemoryConfiguration
 
getStartAtMain() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.START_AT_MAIN)
getStarted() - Static method in class mars.venus.VenusUI
To find out whether MIPS program is currently executing.
getStartLabel() - Static method in class mars.assembler.SymbolTable
Fetches the text segment label (symbol) which, if declared global, indicates the starting address for execution.
getStartPos() - Method in class mars.assembler.Token
Produces position within source line of this token.
getStatement(int) - Method in class mars.mips.hardware.Memory
Gets ProgramStatement from Text Segment.
getStatementNoNotify(int) - Method in class mars.mips.hardware.Memory
Gets ProgramStatement from Text Segment without notifying observers.
getStatsPredCorrect() - Method in class mars.tools.BHTEntry
Get the absolute number of correct predictions.
getStatsPredIncorrect() - Method in class mars.tools.BHTEntry
Get the absolute number of mispredictions.
getStatsPredPrecision() - Method in class mars.tools.BHTEntry
Get the percentage of correct predictions.
getStringMapKey(String) - Method in class mars.venus.editors.jeditsyntax.KeywordMap
 
getStrippedTokenList() - Method in class mars.ProgramStatement
Produces token list stripped of all but operator and operand tokens.
getStyledFont(Font) - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Returns the specified font, but with the style's bold and italic flags applied.
getStyles() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the syntax styles used to paint colorized text.
getSubstitutedLine(int, TokenList, long, ErrorList) - Method in class mars.assembler.Macro
Substitutes macro arguments in a line of source code inside macro definition to be parsed after macro expansion.
getSymbol(String) - Method in class mars.assembler.SymbolTable
Produce Symbol object from symbol table that corresponds to given String.
getSymbolGivenAddress(String) - Method in class mars.assembler.SymbolTable
Produce Symbol object from symbol table that has the given address.
getSymbolGivenAddressLocalOrGlobal(String) - Method in class mars.assembler.SymbolTable
Produce Symbol object from either local or global symbol table that has the given address.
getSyntaxSensitiveToolTipText(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Return any relevant tool tip text for token at specified position.
getSyscallOverrides() - Method in class mars.Globals
Read any syscall number assignment overrides from config file.
getTabBHT() - Method in class mars.tools.BHTSimGUI
Returns the table representing the BHT.
getTabSize() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Fetch the tab size in characters.
getTaLog() - Method in class mars.tools.BHTSimGUI
Returns the text area for log purposes.
getText() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the entire text of this text area.
getText(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the specified substring of the document.
getText(int, int, Segment) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Copies the specified substring of the document into a segment.
getText() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getTextArea(EventObject) - Static method in class mars.venus.editors.jeditsyntax.InputHandler
Returns the text area that fired the specified event.
getTextBaseAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getTextColumnOrder() - Method in class mars.Settings
Order of text segment display columns (there are 5, numbered 0 to 4).
getTextLimitAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getTextSegmentWindow() - Method in class mars.venus.ExecutePane
Access the text segment window.
getTextSymbols() - Method in class mars.assembler.SymbolTable
For obtaining the Text Symbols.
getTfAddress() - Method in class mars.tools.BHTSimGUI
Returns the text field for displaying the address of the most recent branch instruction
getTfIndex() - Method in class mars.tools.BHTSimGUI
Returns the text field for displaying the corresponding index into the BHT
getTfInstruction() - Method in class mars.tools.BHTSimGUI
Returns the text field for displaying the most recent branch instruction
getThread() - Method in class mars.mips.hardware.AccessNotice
Get reference to thread that created this notice
getTokenExactMatchHelp(Token, String) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.MIPSTokenMarker
Construct and return any appropriate help information for the given token.
getTokenExactMatchHelp(Token, String) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Construct and return any appropriate help information for the given token.
getTokenizer() - Method in class mars.MIPSprogram
Retrieves Tokenizer for this program
getTokenList() - Method in class mars.mips.instructions.Instruction
Get TokenList corresponding to correct instruction syntax.
getTokenList() - Method in class mars.MIPSprogram
Produces list of tokens that comprise the program.
getTokenMarker() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the document's token marker.
getTokenMarker() - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
Returns the token marker that is to be used to split lines of this document up into tokens.
getTokenPrefixMatchHelp(String, Token, Token, String) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.MIPSTokenMarker
Construct and return any appropriate help information for prefix match based on current line's token list.
getTokenPrefixMatchHelp(String, Token, Token, String) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Construct and return any appropriate help information for the given token or "token prefix".
getTokenText() - Method in class mars.venus.editors.jeditsyntax.PopupHelpItem
The document text that mached this item
getToLine() - Method in class mars.assembler.Macro
 
getToolTipText(MouseEvent) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns the tool tip to display at the specified location.
getToolTipText(MouseEvent) - Method in interface mars.venus.editors.jeditsyntax.TextAreaPainter.Highlight
Returns the tool tip to display at the specified location.
getType() - Method in class mars.assembler.Symbol
Finds the type of symbol, text or data.
getType() - Method in class mars.assembler.Token
Produces token type of this token.
getType() - Method in exception mars.mips.hardware.AddressErrorException
Get the exception type (load or store).
getUndoManager() - Method in class mars.venus.editors.generic.GenericTextArea
Returns the undo manager for this editing area
getUndoManager() - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Returns the undo manager for this editing area
getUndoManager() - Method in interface mars.venus.editors.MARSTextEditingArea
 
getUndoManager() - Method in class mars.venus.EditPane
get the manager in charge of Undo and Redo operations
getUserHighAddress() - Method in class mars.mips.hardware.MemoryConfiguration
 
getUserRegister(String) - Static method in class mars.mips.hardware.RegisterFile
Get register object corresponding to given name.
getValue() - Method in class mars.assembler.Token
Produces source code of this token.
getValue(int) - Static method in class mars.mips.hardware.Coprocessor0
Returns the value of the register who's number is num.
getValue(int) - Static method in class mars.mips.hardware.Coprocessor1
Returns the value of the FPU register who's number is num.
getValue() - Method in class mars.mips.hardware.MemoryAccessNotice
Fetch the value of the access operation (the value read or written).
getValue() - Method in class mars.mips.hardware.Register
Returns the value of the Register.
getValue(int) - Static method in class mars.mips.hardware.RegisterFile
Returns the value of the register who's number is num.
getValue() - Method in class mars.simulator.SwingWorker
Get the value produced by the worker thread, or null if it hasn't been constructed yet.
getValueAt(int, int) - Method in class mars.tools.BHTableModel
Returns the value of the cell at the given row and column Required by the TableModel interface.
getValueDisplayBase() - Method in class mars.venus.ExecutePane
Retrieve the number system base for displaying values (mem/register contents)
getValueDisplayBaseChooser() - Method in class mars.venus.ExecutePane
Retrieve component used to set numerical base (10 or 16) of data value display.
getValueDisplayBaseMenuItem() - Method in class mars.venus.VenusUI
Get reference to settings menu item for display base of memory/register values.
getValueNoNotify() - Method in class mars.mips.hardware.Register
Returns the value of the Register.
getVisibleLines() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns the number of lines visible in this text area.
getWarningsAreErrors() - Method in class mars.Settings
Deprecated. Use getBooleanSetting(int id) with the appropriate boolean setting ID (e.g. Settings.WARNINGS_ARE_ERRORS)
getWord(int) - Method in class mars.mips.hardware.Memory
Starting at the given word address, read a 4 byte word as an int.
getWordNoNotify(int) - Method in class mars.mips.hardware.Memory
Starting at the given word address, read a 4 byte word as an int.
GLOBAL_POINTER_REGISTER - Static variable in class mars.mips.hardware.RegisterFile
 
globalPointer - Static variable in class mars.mips.hardware.Memory
base address for storing globals
Globals - Class in mars
Collection of globally-available data structures.
Globals() - Constructor for class mars.Globals
 
GLOBL - Static variable in class mars.assembler.Directives
 
go() - Method in class mars.tools.AbstractMarsToolAndApplication
Run the simulator as stand-alone application.
grabAction - Variable in class mars.venus.editors.jeditsyntax.InputHandler
 
grabFocus() - Method in interface mars.venus.editors.MARSTextEditingArea
 
grabNextKeyStroke(ActionListener) - Method in class mars.venus.editors.jeditsyntax.InputHandler
Grabs the next key typed event and invokes the specified action with the key as a the action command.
GuiAction - Class in mars.venus
parent class for Action subclasses to be defined for every menu/toolbar option.
GuiAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.GuiAction
 

H

HALF - Static variable in class mars.assembler.Directives
 
HALF_SIZE - Static variable in class mars.assembler.DataTypes
Number of bytes occupied by MIPS halfword is 2.
handleExecBranchInst(int, boolean) - Method in class mars.tools.BHTSimulator
Handles the execution of the branch instruction.
handleGrabAction(KeyEvent) - Method in class mars.venus.editors.jeditsyntax.InputHandler
If a key is being grabbed, this method should be called with the appropriate key event.
handlePreBranchInst(ProgramStatement) - Method in class mars.tools.BHTSimulator
Handles the execution branch instruction.
HardcopyWriter - Class in mars.venus
 
HardcopyWriter(Frame, String, int, double, double, double, double) - Constructor for class mars.venus.HardcopyWriter
The constructor for this class has a bunch of arguments: The frame argument is required for all printing in Java.
HardcopyWriter.PrintCanceledException - Exception in mars.venus
This is the exception class that the HardcopyWriter constructor throws when the user clicks "Cancel" in the print dialog box.
HardcopyWriter.PrintCanceledException(String) - Constructor for exception mars.venus.HardcopyWriter.PrintCanceledException
 
hasCompactTranslation() - Method in class mars.mips.instructions.ExtendedInstruction
Determine whether or not this pseudo-instruction has a second translation optimized for 16 bit address space: a compact version.
hasUnsavedEdits() - Method in class mars.venus.EditPane
Delegates to corresponding FileStatus method
hasUnsavedEdits() - Method in class mars.venus.FileStatus
Determine if file has been modified since last save or, if not yet saved, since being created using New or Open.
haveMenuRequestFocus() - Method in class mars.venus.VenusUI
Have the menu request keyboard focus.
headerfont - Variable in class mars.venus.HardcopyWriter
 
headermetrics - Variable in class mars.venus.HardcopyWriter
 
headery - Variable in class mars.venus.HardcopyWriter
 
heapAddress - Static variable in class mars.mips.hardware.Memory
 
heapBaseAddress - Static variable in class mars.mips.hardware.Memory
base address for heap: 0x10040000 (I think from SPIM not MIPS)
height - Variable in class mars.venus.HardcopyWriter
 
HelpAboutAction - Class in mars.venus
Action for the Help -> About menu item
HelpAboutAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.HelpAboutAction
 
HelpHelpAction - Class in mars.venus
Action for the Help -> Help menu item
HelpHelpAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.HelpHelpAction
 
helpPath - Static variable in class mars.Globals
Path to folder that contains help text
HEXADECIMAL - Static variable in class mars.venus.NumberDisplayBaseChooser
 
hexStringToBinaryString(String) - Static method in class mars.util.Binary
Translate String consisting of hexadecimal digits into String consisting of corresponding binary digits ('1's and '0's).
HexTextDumpFormat - Class in mars.mips.dump
Class that represents the "hexadecimal text" memory dump format.
HexTextDumpFormat() - Constructor for class mars.mips.dump.HexTextDumpFormat
Constructor.
highlights - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
highlightStepAtAddress(int) - Method in class mars.venus.TextSegmentWindow
Highlights the source code line whose address matches the given text segment address.
highlightStepAtAddress(int, boolean) - Method in class mars.venus.TextSegmentWindow
Highlights the source code line whose address matches the given text segment address.
highlightStepAtPC() - Method in class mars.venus.TextSegmentWindow
Highlights the source code line whose address matches the current program counter value.
highlightStepAtPC(boolean) - Method in class mars.venus.TextSegmentWindow
Highlights the source code line whose address matches the current program counter value.
highOrderLongToInt(long) - Static method in class mars.util.Binary
Returns int representing the bit values of the high order 32 bits of given 64 bit long value.
HOME - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
horizontal - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
horizontalOffset - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 

I

I_BRANCH_FORMAT - Static variable in class mars.mips.instructions.BasicInstructionFormat
 
I_FORMAT - Static variable in class mars.mips.instructions.BasicInstructionFormat
 
id - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
The id of this token.
ID_COUNT - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
The total number of defined token ids.
IDENTIFIER - Static variable in class mars.assembler.TokenTypes
 
imagesPath - Static variable in class mars.Globals
Path to folder that contains images
INCLUDE - Static variable in class mars.assembler.Directives
 
incrementPC() - Static method in class mars.mips.hardware.RegisterFile
Method to increment the Program counter in the general case (not a jump or branch).
inDataSegment(int) - Static method in class mars.mips.hardware.Memory
Handy little utility to find out if given address is in MARS data segment (starts at Memory.dataSegmentBaseAddress).
inDelaySlot() - Method in class mars.simulator.BackStepper
Determine whether the next back-step action occurred as the result of an instruction that executed in the "delay slot" of a delayed branch.
inDelaySlot() - Static method in class mars.simulator.Simulator
Determine whether or not the next instruction to be executed is in a "delay slot".
init(JEditTextArea, TextAreaPainter.Highlight) - Method in interface mars.venus.editors.jeditsyntax.TextAreaPainter.Highlight
Called after the highlight painter has been added.
initBHT(int, int, boolean) - Method in class mars.tools.BHTableModel
Initializes the BHT with the given size and history.
initialize(boolean) - Static method in class mars.Globals
Method called once upon system initialization to create the global data structures.
initializePostGUI() - Method in class mars.tools.AbstractMarsToolAndApplication
Method that will be called once just after the GUI is constructed in the go() and action() methods.
initializePostGUI() - Method in class mars.tools.BitmapDisplay
The only post-GUI initialization is to create the initial Grid object based on the default settings of the various combo boxes.
initializePostGUI() - Method in class mars.tools.CacheSimulator
The only post-GUI initialization is to create the initial cache object based on the default settings of the various combo boxes.
initializePostGUI() - Method in class mars.tools.KeyboardAndDisplaySimulator
Initialization code to be executed after the GUI is configured.
initializePostGUI() - Method in class mars.tools.MemoryReferenceVisualization
The only post-GUI initialization is to create the initial Grid object based on the default settings of the various combo boxes.
initializePreGUI() - Method in class mars.tools.AbstractMarsToolAndApplication
Method that will be called once just before the GUI is constructed in the go() and action() methods.
initializePreGUI() - Method in class mars.tools.BitmapDisplay
Initialize all JComboBox choice structures not already initialized at declaration.
initializePreGUI() - Method in class mars.tools.CacheSimulator
Initialize all JComboBox choice structures not already initialized at declaration.
initializePreGUI() - Method in class mars.tools.InstructionCounter
 
initializePreGUI() - Method in class mars.tools.InstructionStatistics
performs initialization tasks of the counters before the GUI is created.
initializePreGUI() - Method in class mars.tools.KeyboardAndDisplaySimulator
 
initializePreGUI() - Method in class mars.tools.MemoryReferenceVisualization
Initialize all JComboBox choice structures not already initialized at declaration.
initializeProgramCounter(int) - Static method in class mars.mips.hardware.RegisterFile
For initializing the Program Counter.
initializeProgramCounter(boolean) - Static method in class mars.mips.hardware.RegisterFile
Will initialize the Program Counter to either the default reset value, or the address associated with source program global label "main", if it exists as a text segment label and the global setting is set.
inKernelDataSegment(int) - Static method in class mars.mips.hardware.Memory
Handy little utility to find out if given address is in MARS kernel data segment (starts at Memory.kernelDataSegmentBaseAddress).
inKernelTextSegment(int) - Static method in class mars.mips.hardware.Memory
Handy little utility to find out if given address is in MARS kernel text segment (starts at Memory.kernelTextBaseAddress).
inMemoryMapSegment(int) - Static method in class mars.mips.hardware.Memory
Handy little utility to find out if given address is in the Memory Map area starts at Memory.memoryMapBaseAddress, range 0xffff0000 to 0xffffffff.
InputHandler - Class in mars.venus.editors.jeditsyntax
An input handler converts the user's key strokes into concrete actions.
InputHandler() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler
 
inputHandler - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
inputHandler - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
InputHandler.backspace - Class in mars.venus.editors.jeditsyntax
 
InputHandler.backspace() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.backspace
 
InputHandler.backspace_word - Class in mars.venus.editors.jeditsyntax
 
InputHandler.backspace_word() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.backspace_word
 
InputHandler.clip_copy - Class in mars.venus.editors.jeditsyntax
 
InputHandler.clip_copy() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.clip_copy
 
InputHandler.clip_cut - Class in mars.venus.editors.jeditsyntax
 
InputHandler.clip_cut() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.clip_cut
 
InputHandler.clip_paste - Class in mars.venus.editors.jeditsyntax
 
InputHandler.clip_paste() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.clip_paste
 
InputHandler.delete - Class in mars.venus.editors.jeditsyntax
 
InputHandler.delete() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.delete
 
InputHandler.delete_word - Class in mars.venus.editors.jeditsyntax
 
InputHandler.delete_word() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.delete_word
 
InputHandler.document_end - Class in mars.venus.editors.jeditsyntax
 
InputHandler.document_end(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.document_end
 
InputHandler.document_home - Class in mars.venus.editors.jeditsyntax
 
InputHandler.document_home(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.document_home
 
InputHandler.end - Class in mars.venus.editors.jeditsyntax
 
InputHandler.end(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.end
 
InputHandler.home - Class in mars.venus.editors.jeditsyntax
 
InputHandler.home(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.home
 
InputHandler.insert_break - Class in mars.venus.editors.jeditsyntax
 
InputHandler.insert_break() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.insert_break
 
InputHandler.insert_char - Class in mars.venus.editors.jeditsyntax
 
InputHandler.insert_char() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.insert_char
 
InputHandler.insert_tab - Class in mars.venus.editors.jeditsyntax
 
InputHandler.insert_tab() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.insert_tab
 
InputHandler.MacroRecorder - Interface in mars.venus.editors.jeditsyntax
Macro recorder.
InputHandler.next_char - Class in mars.venus.editors.jeditsyntax
 
InputHandler.next_char(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.next_char
 
InputHandler.next_line - Class in mars.venus.editors.jeditsyntax
 
InputHandler.next_line(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.next_line
 
InputHandler.next_page - Class in mars.venus.editors.jeditsyntax
 
InputHandler.next_page(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.next_page
 
InputHandler.next_word - Class in mars.venus.editors.jeditsyntax
 
InputHandler.next_word(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.next_word
 
InputHandler.NonRecordable - Interface in mars.venus.editors.jeditsyntax
If an action implements this interface, it should not be recorded by the macro recorder.
InputHandler.NonRepeatable - Interface in mars.venus.editors.jeditsyntax
If an action implements this interface, it should not be repeated.
InputHandler.overwrite - Class in mars.venus.editors.jeditsyntax
 
InputHandler.overwrite() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.overwrite
 
InputHandler.prev_char - Class in mars.venus.editors.jeditsyntax
 
InputHandler.prev_char(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.prev_char
 
InputHandler.prev_line - Class in mars.venus.editors.jeditsyntax
 
InputHandler.prev_line(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.prev_line
 
InputHandler.prev_page - Class in mars.venus.editors.jeditsyntax
 
InputHandler.prev_page(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.prev_page
 
InputHandler.prev_word - Class in mars.venus.editors.jeditsyntax
 
InputHandler.prev_word(boolean) - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.prev_word
 
InputHandler.repeat - Class in mars.venus.editors.jeditsyntax
 
InputHandler.repeat() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.repeat
 
InputHandler.select_all - Class in mars.venus.editors.jeditsyntax
 
InputHandler.select_all() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.select_all
 
InputHandler.toggle_rect - Class in mars.venus.editors.jeditsyntax
 
InputHandler.toggle_rect() - Constructor for class mars.venus.editors.jeditsyntax.InputHandler.toggle_rect
 
InputHandler.Wrapper - Interface in mars.venus.editors.jeditsyntax
For use by EditAction.Wrapper only.
INSERT_BREAK - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
INSERT_CHAR - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
INSERT_TAB - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
insertLines(int, int) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Informs the token marker that lines have been inserted into the document.
inSteppedExecution() - Method in class mars.MIPSprogram
Will be true only while in process of simulating a program statement in step mode (e.g.
Instruction - Class in mars.mips.instructions
Base class to represent member of MIPS instruction set.
Instruction() - Constructor for class mars.mips.instructions.Instruction
 
INSTRUCTION_LENGTH - Static variable in class mars.mips.instructions.Instruction
Length in bytes of a machine instruction.
INSTRUCTION_LENGTH_BITS - Static variable in class mars.mips.instructions.Instruction
 
InstructionCounter - Class in mars.tools
Instruction counter tool.
InstructionCounter(String, String) - Constructor for class mars.tools.InstructionCounter
Simple constructor, likely used to run a stand-alone memory reference visualizer.
InstructionCounter() - Constructor for class mars.tools.InstructionCounter
Simple construction, likely used by the MARS Tools menu mechanism.
instructionSet - Static variable in class mars.Globals
The set of implemented MIPS instructions.
InstructionSet - Class in mars.mips.instructions
The list of Instruction objects, each of which represents a MIPS instruction.
InstructionSet() - Constructor for class mars.mips.instructions.InstructionSet
Creates a new InstructionSet object.
InstructionStatistics - Class in mars.tools
A MARS tool for obtaining instruction statistics by instruction category.
InstructionStatistics(String, String) - Constructor for class mars.tools.InstructionStatistics
Simple constructor, likely used to run a stand-alone enhanced instruction counter.
InstructionStatistics() - Constructor for class mars.tools.InstructionStatistics
Simple construction, likely used by the MARS Tools menu mechanism.
INTEGER_16 - Static variable in class mars.assembler.TokenTypes
 
INTEGER_16U - Static variable in class mars.assembler.TokenTypes
 
INTEGER_32 - Static variable in class mars.assembler.TokenTypes
 
INTEGER_5 - Static variable in class mars.assembler.TokenTypes
 
IntelHexDumpFormat - Class in mars.mips.dump
Intel's Hex memory initialization format
IntelHexDumpFormat() - Constructor for class mars.mips.dump.IntelHexDumpFormat
Constructor.
INTERNAL_FIRST - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
The first id that can be used for internal state in a token marker.
INTERNAL_LAST - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
The last id that can be used for internal state in a token marker.
interrupt() - Method in class mars.simulator.SwingWorker
A new method that interrupts the worker thread.
inTextSegment(int) - Static method in class mars.mips.hardware.Memory
Handy little utility to find out if given address is in MARS text segment (starts at Memory.textBaseAddress).
IntroToTools - Class in mars.tools
The "hello world" of MarsTools!
IntroToTools(String, String) - Constructor for class mars.tools.IntroToTools
Simple constructor, likely used to run a stand-alone memory reference visualizer.
IntroToTools() - Constructor for class mars.tools.IntroToTools
Simple constructor, likely used by the MARS Tools menu mechanism
intToAscii(int) - Static method in class mars.util.Binary
Produce ASCII string equivalent of integer value, interpreting it as 4 one-byte characters.
intToBinaryString(int, int) - Static method in class mars.util.Binary
Translate int value into a String consisting of '1's and '0's.
intToBinaryString(int) - Static method in class mars.util.Binary
Translate int value into a String consisting of '1's and '0's.
intToHalfHexString(int) - Static method in class mars.util.Binary
Returns a 6 character string representing the 16-bit hexadecimal equivalent of the given integer value.
intToHexString(int) - Static method in class mars.util.Binary
Prefix a hexadecimal-indicating string "0x" to the string which is returned by the method "Integer.toHexString".
INVALID - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Invalid token id.
invalidateLine(int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Marks a line as needing a repaint.
invalidateLineRange(int, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Marks a range of lines as needing a repaint.
invalidateSelectedLines() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Repaints the lines containing the selection.
InvalidRegisterAccessException - Exception in mars.mips.hardware
Represents attempt to access double precision register using an odd (e.g.
InvalidRegisterAccessException() - Constructor for exception mars.mips.hardware.InvalidRegisterAccessException
Constructor for IllegalRegisterException.
isAssembled() - Static method in class mars.venus.FileStatus
Tells whether the file has been assembled.
isBeingUsedAsAMarsTool - Variable in class mars.tools.AbstractMarsToolAndApplication
 
isBlockCaretEnabled() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns true if the caret should be drawn as a block, false otherwise.
isBold() - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Returns true if boldface is enabled for this style.
isBracketHighlightEnabled() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns true if bracket highlighting is enabled, false otherwise.
isBranchInstruction(ProgramStatement) - Static method in class mars.tools.BHTSimulator
Determines if the instruction is a branch instruction or not.
isCaretBlinkEnabled() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns true if the caret is blinking, false otherwise.
isCaretVisible() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns true if the caret is visible, false otherwise.
isConnected() - Method in class mars.tools.AbstractMarsToolAndApplication.ConnectButton
 
isEditable() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns true if this text area is editable, false otherwise.
isEdited() - Static method in class mars.venus.FileStatus
Tells whether the file has been edited since it has been saved.
isEmpty() - Method in class mars.assembler.TokenList
Returns empty/non-empty status of list.
isFloatingDirective(Directives) - Static method in class mars.assembler.Directives
Lets you know whether given directive is for floating number (FLOAT,DOUBLE).
isFloatingTokenType(TokenTypes) - Static method in class mars.assembler.TokenTypes
Lets you know if given tokentype is for floating point numbers (REAL_NUMBER).
isHex(String) - Static method in class mars.util.Binary
Parsing method to see if a string represents a hex number.
isIntegerDirective(Directives) - Static method in class mars.assembler.Directives
Lets you know whether given directive is for integer (WORD,HALF,BYTE).
isIntegerTokenType(TokenTypes) - Static method in class mars.assembler.TokenTypes
Lets you know if given tokentype is for integers (INTGER_5, INTEGER_16, INTEGER_32).
isItalic() - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Returns true if italics is enabled for this style.
isLineHighlightEnabled() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns true if line highlight is enabled, false otherwise.
isManagingFocus() - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Returns if this component can be traversed by pressing the Tab key.
isNew() - Method in class mars.venus.EditPane
Delegates to corresponding FileStatus method
isNew() - Method in class mars.venus.FileStatus
Determine if file is "new", which means created using New but not yet saved.
isNextLineRequested() - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Returns true if the next line should be repainted.
isObserving() - Method in class mars.tools.AbstractMarsToolAndApplication
Query method to let you know if the tool/app is (or could be) currently "observing" any MIPS resources.
isOctal(String) - Static method in class mars.util.Binary
Parsing method to see if a string represents an octal number.
isOverwriteEnabled() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns true if overwrite mode is enabled, false otherwise.
isPlain() - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Returns true if no font styles are enabled.
isRepeatEnabled() - Method in class mars.venus.editors.jeditsyntax.InputHandler
Returns if repeating is enabled.
isRepeatEnabled() - Method in class mars.venus.RepeatButton
Checks if the button should fire events when held.
isSaved() - Static method in class mars.venus.FileStatus
Tells whether the file has been saved.
isSelectionRectangular() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Returns true if the selection is rectangular, false otherwise.
isValidIdentifier(String) - Static method in class mars.assembler.TokenTypes
 
isWarning() - Method in class mars.ErrorMessage
Determine whether this message represents error or warning.

J

J_FORMAT - Static variable in class mars.mips.instructions.BasicInstructionFormat
 
JEditBasedTextArea - Class in mars.venus.editors.jeditsyntax
Adaptor subclass for JEditTextArea Provides those methods required by the MARSTextEditingArea interface that are not defined by JEditTextArea.
JEditBasedTextArea(EditPane, JComponent) - Constructor for class mars.venus.editors.jeditsyntax.JEditBasedTextArea
 
JEditTextArea - Class in mars.venus.editors.jeditsyntax
jEdit's text area component.
JEditTextArea(JComponent) - Constructor for class mars.venus.editors.jeditsyntax.JEditTextArea
Creates a new JEditTextArea with the default settings.
JEditTextArea(TextAreaDefaults, JComponent) - Constructor for class mars.venus.editors.jeditsyntax.JEditTextArea
 
job - Variable in class mars.venus.HardcopyWriter
 
jobname - Variable in class mars.venus.HardcopyWriter
 

K

KDATA - Static variable in class mars.assembler.Directives
 
kernelBaseAddress - Static variable in class mars.mips.hardware.Memory
kernel boundary.
kernelDataBaseAddress - Static variable in class mars.mips.hardware.Memory
base address for kernel data segment: 0x90000000
kernelDataSegmentLimitAddress - Static variable in class mars.mips.hardware.Memory
 
kernelHighAddress - Static variable in class mars.mips.hardware.Memory
highest address acessible in kernel mode.
kernelTextBaseAddress - Static variable in class mars.mips.hardware.Memory
base address for kernel text segment: 0x80000000
kernelTextLimitAddress - Static variable in class mars.mips.hardware.Memory
 
KeyboardAndDisplaySimulator - Class in mars.tools
Keyboard and Display Simulator.
KeyboardAndDisplaySimulator(String, String) - Constructor for class mars.tools.KeyboardAndDisplaySimulator
Simple constructor, likely used to run a stand-alone keyboard/display simulator.
KeyboardAndDisplaySimulator() - Constructor for class mars.tools.KeyboardAndDisplaySimulator
Simple constructor, likely used by the MARS Tools menu mechanism
keyPressed(KeyEvent) - Method in class mars.tools.AbstractMarsToolAndApplication.EnterKeyListener
 
keyPressed(KeyEvent) - Method in class mars.venus.editors.jeditsyntax.DefaultInputHandler
Handle a key pressed event.
keyTyped(KeyEvent) - Method in class mars.venus.editors.jeditsyntax.DefaultInputHandler
Handle a key typed event.
KEYWORD1 - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Keyword 1 token id.
KEYWORD2 - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Keyword 2 token id.
KEYWORD3 - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Keyword 3 token id.
KeywordMap - Class in mars.venus.editors.jeditsyntax
A KeywordMap is similar to a hashtable in that it maps keys to values.
KeywordMap(boolean) - Constructor for class mars.venus.editors.jeditsyntax.KeywordMap
Creates a new KeywordMap.
KeywordMap(boolean, int) - Constructor for class mars.venus.editors.jeditsyntax.KeywordMap
Creates a new KeywordMap.
KTEXT - Static variable in class mars.assembler.Directives
 

L

LABEL - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Label token id.
LABEL_SORT_STATE - Static variable in class mars.Settings
State for sorting label window display
LABEL_WINDOW_VISIBILITY - Static variable in class mars.Settings
Default visibilty of label window (symbol table).
LabelsWindow - Class in mars.venus
Represents the Labels window, which is a type of JInternalFrame.
LabelsWindow() - Constructor for class mars.venus.LabelsWindow
Constructor for the Labels (symbol table) window.
lastAddress - Variable in class mars.tools.InstructionCounter
The last address we saw.
lastAddress - Variable in class mars.tools.InstructionStatistics
The last address we saw.
lastLine - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
The last tokenized line.
lastToken - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
The last token in the list.
LEFT_OF_SCROLLBAR - Static variable in class mars.venus.editors.jeditsyntax.JEditTextArea
Adding components with this name to the text area will place them left of the horizontal scroll bar.
LEFT_PAREN - Static variable in class mars.assembler.TokenTypes
 
length - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
The length of this token.
length - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
The number of lines in the model being tokenized.
LINE_PREFIX - Static variable in class mars.ErrorList
 
lineascent - Variable in class mars.venus.HardcopyWriter
 
lineheight - Variable in class mars.venus.HardcopyWriter
 
lineHighlight - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
lineHighlight - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
lineHighlightColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
lineHighlightColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
lineInfo - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
An array for storing information about lines.
linenum - Variable in class mars.venus.HardcopyWriter
 
lines_per_page - Variable in class mars.venus.HardcopyWriter
 
lineSegment - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
lineToY(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Converts a line index to a y co-ordinate.
listenerList - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
LITERAL1 - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Literal 1 token id.
LITERAL2 - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Literal 2 token id.
LITTLE_ENDIAN - Static variable in class mars.mips.hardware.Memory
Constant representing byte order of each memory word.
loadDumpFormats() - Method in class mars.mips.dump.DumpFormatLoader
Dynamically loads dump formats into an ArrayList.
loadPropertiesFromFile(String) - Static method in class mars.util.PropertiesFile
Produce Properties (a Hashtable) object containing key-value pairs from specified properties file.
longToBinaryString(long, int) - Static method in class mars.util.Binary
Translate long value into a String consisting of '1's and '0's.
longToBinaryString(long) - Static method in class mars.util.Binary
Translate long value into a String consisting of '1's and '0's.
longToHexString(long) - Static method in class mars.util.Binary
Prefix a hexadecimal-indicating string "0x" to the string equivalent to the hexadecimal value in the long parameter.
lookup(Segment, int, int) - Method in class mars.venus.editors.jeditsyntax.KeywordMap
Looks up a key.
LOW_DOUBLE_VALUE - Static variable in class mars.assembler.DataTypes
Largest magnitude negative value that can be stored in a MIPS double(negative of the max)
LOW_FLOAT_VALUE - Static variable in class mars.assembler.DataTypes
Largest magnitude negative value that can be stored in a MIPS float (negative of the max)
lowOrderLongToInt(long) - Static method in class mars.util.Binary
Returns int representing the bit values of the low order 32 bits of given 64 bit long value.

M

MACRO - Static variable in class mars.assembler.Directives
 
Macro - Class in mars.assembler
Stores information of a macro definition.
Macro() - Constructor for class mars.assembler.Macro
 
MACRO_ARG - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Macro parameter token.
MACRO_PARAMETER - Static variable in class mars.assembler.TokenTypes
 
MacroPool - Class in mars.assembler
Stores information of macros defined by now.
MacroPool(MIPSprogram) - Constructor for class mars.assembler.MacroPool
Create an empty MacroPool for given program
magicCaret - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
main(String[]) - Static method in class Mars
 
main(String[]) - Static method in class mars.tools.BitmapDisplay
Main provided for pure stand-alone use.
main(String[]) - Static method in class mars.tools.CacheSimulator
Main provided for pure stand-alone use.
main(String[]) - Static method in class mars.tools.DigitalLabSim
 
main(String[]) - Static method in class mars.tools.FloatRepresentation
Main provided for pure stand-alone use.
main(String[]) - Static method in class mars.tools.IntroToTools
Main provided for pure stand-alone use.
main(String[]) - Static method in class mars.tools.KeyboardAndDisplaySimulator
Main provided for pure stand-alone use.
main(String[]) - Static method in class mars.tools.MemoryReferenceVisualization
Main provided for pure stand-alone use.
main(String[]) - Static method in class mars.tools.ScreenMagnifier
 
main(String[]) - Static method in class mars.venus.HardcopyWriter
A program that prints the specified file using HardcopyWriter
main(String[]) - Static method in class mars.venus.RepeatButton
Main method, for testing.
MainPane - Class in mars.venus
Creates the tabbed areas in the UI and also created the internal windows that exist in them.
MainPane(VenusUI, Editor, RegistersWindow, Coprocessor1Window, Coprocessor0Window) - Constructor for class mars.venus.MainPane
Constructor for the MainPane class.
mainUI - Variable in class mars.venus.GuiAction
 
makeTemplateSubstitutions(MIPSprogram, String, TokenList) - Static method in class mars.mips.instructions.ExtendedInstruction
Given a basic instruction template and the list of tokens from an extended instruction statement, substitute operands from the token list appropriately into the template to generate the basic statement.
mapLength - Variable in class mars.venus.editors.jeditsyntax.KeywordMap
 
markTokens(Segment, int) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
A wrapper for the lower-level markTokensImpl method that is called to split a line up into tokens.
markTokensImpl(byte, Segment, int) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.MIPSTokenMarker
 
markTokensImpl(byte, Segment, int) - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
An abstract method that splits a line up into tokens.
mars - package mars
 
Mars - Class in <Unnamed>
Portal to Mars
Mars() - Constructor for class Mars
 
mars.assembler - package mars.assembler
 
mars.mips.dump - package mars.mips.dump
 
mars.mips.hardware - package mars.mips.hardware
 
mars.mips.instructions - package mars.mips.instructions
 
mars.mips.instructions.syscalls - package mars.mips.instructions.syscalls
 
mars.simulator - package mars.simulator
 
mars.tools - package mars.tools
 
mars.util - package mars.util
 
mars.venus - package mars.venus
 
mars.venus.editors - package mars.venus.editors
 
mars.venus.editors.generic - package mars.venus.editors.generic
 
mars.venus.editors.jeditsyntax - package mars.venus.editors.jeditsyntax
 
mars.venus.editors.jeditsyntax.tokenmarker - package mars.venus.editors.jeditsyntax.tokenmarker
 
MarsBot - Class in mars.tools
Simple Demo of Mars tool capability
MarsBot() - Constructor for class mars.tools.MarsBot
 
MarsLaunch - Class in mars
Launch the Mars application
MarsLaunch(String[]) - Constructor for class mars.MarsLaunch
 
MarsSplashScreen - Class in mars
Produces MARS splash screen.
Adapted from http://www.java-tips.org/content/view/1267/2/
MarsSplashScreen(int) - Constructor for class mars.MarsSplashScreen
 
MARSTextEditingArea - Interface in mars.venus.editors
Specifies capabilities that any test editor used in MARS must have.
MarsTool - Interface in mars.tools
Interface for any tool that interacts with an executing MIPS program.
MATCH_ALL_EXTENSIONS - Static variable in class mars.util.FilenameFinder
 
matchDirective(String) - Static method in class mars.assembler.Directives
Find Directive object, if any, which matches the given String.
matchesAnyMacroName(String) - Method in class mars.assembler.MacroPool
 
matchOperator(String) - Method in class mars.mips.instructions.InstructionSet
Given an operator mnemonic, will return the corresponding Instruction object(s) from the instruction set.
matchTokenType(String) - Static method in class mars.assembler.TokenTypes
Classifies the given token into one of the MIPS types.
MAX_BLINK_RATE - Static variable in class mars.venus.Editor
 
MAX_BYTE_VALUE - Static variable in class mars.assembler.DataTypes
Maximum value that can be stored in a MIPS byte is 27-1
MAX_DOUBLE_VALUE - Static variable in class mars.assembler.DataTypes
Maximum positive finite value that can be stored in a MIPS double is same as Java Double
MAX_FLOAT_VALUE - Static variable in class mars.assembler.DataTypes
Maximum positive finite value that can be stored in a MIPS float is same as Java Float
MAX_HALF_VALUE - Static variable in class mars.assembler.DataTypes
Maximum value that can be stored in a MIPS halfword is 215-1
MAX_SIZE - Static variable in class mars.util.EditorFont
 
MAX_STEPS - Static variable in class mars.simulator.Simulator
 
MAX_TAB_SIZE - Static variable in class mars.venus.Editor
 
MAX_UHALF_VALUE - Static variable in class mars.assembler.DataTypes
Maximum value that can be stored in an unsigned MIPS halfword is 216-1
MAX_WORD_VALUE - Static variable in class mars.assembler.DataTypes
Maximum value that can be stored in a MIPS word is 231-1
maxExampleLength(ArrayList) - Static method in class mars.venus.editors.jeditsyntax.PopupHelpItem
 
MAXIMUM_SCROLLED_CHARACTERS - Static variable in class mars.venus.MessagesPane
 
maximumBacksteps - Static variable in class mars.Globals
Maximum number of back-step operations to buffer
maximumErrorMessages - Static variable in class mars.Globals
Maximum number of assembler errors produced by one assemble operation
maximumMessageCharacters - Static variable in class mars.Globals
Maximum length of scrolled message window (MARS Messages and Run I/O)
maxSteps - Static variable in class mars.venus.RunGoAction
 
memory - Static variable in class mars.Globals
Simulated MIPS memory component.
Memory - Class in mars.mips.hardware
Represents MIPS memory.
MEMORY_CONFIGURATION - Static variable in class mars.Settings
Identifier of current memory configuration
MemoryAccessNotice - Class in mars.mips.hardware
Object provided to Observers of runtime access to MIPS memory.
MemoryAccessNotice(int, int, int) - Constructor for class mars.mips.hardware.MemoryAccessNotice
Constructor will be called only within this package, so assume address is in valid range.
memoryAndRegistersLock - Static variable in class mars.Globals
Lock variable used at head of synchronized block to guard MIPS memory and registers
MemoryConfiguration - Class in mars.mips.hardware
Models the memory configuration for the simulated MIPS machine.
MemoryConfiguration(String, String, String[], int[]) - Constructor for class mars.mips.hardware.MemoryConfiguration
 
MemoryConfigurations - Class in mars.mips.hardware
Models the collection of MIPS memory configurations.
MemoryConfigurations() - Constructor for class mars.mips.hardware.MemoryConfigurations
 
MemoryDump - Class in mars.util
 
MemoryDump() - Constructor for class mars.util.MemoryDump
 
memoryMapBaseAddress - Static variable in class mars.mips.hardware.Memory
starting address for memory mapped I/O: 0xffff0000 (-65536)
memoryMapLimitAddress - Static variable in class mars.mips.hardware.Memory
 
MemoryReferenceVisualization - Class in mars.tools
Memory reference visualization.
MemoryReferenceVisualization(String, String) - Constructor for class mars.tools.MemoryReferenceVisualization
Simple constructor, likely used to run a stand-alone memory reference visualizer.
MemoryReferenceVisualization() - Constructor for class mars.tools.MemoryReferenceVisualization
Simple constructor, likely used by the MARS Tools menu mechanism
menu - Variable in class mars.venus.VenusUI
 
MESSAGE_SEPARATOR - Static variable in class mars.ErrorList
 
MessagesPane - Class in mars.venus
Creates the message window at the bottom of the UI.
MessagesPane() - Constructor for class mars.venus.MessagesPane
Constructor for the class, sets up two fresh tabbed text areas for program feedback.
metrics - Variable in class mars.venus.HardcopyWriter
 
MIFDumpFormat - Class in mars.mips.dump
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.
MIFDumpFormat() - Constructor for class mars.mips.dump.MIFDumpFormat
Constructor.
MIN_BLINK_RATE - Static variable in class mars.venus.Editor
 
MIN_BYTE_VALUE - Static variable in class mars.assembler.DataTypes
Lowest value that can be stored in a MIPS byte is -27
MIN_HALF_VALUE - Static variable in class mars.assembler.DataTypes
Lowest value that can be stored in a MIPS halfword is -215
MIN_SIZE - Static variable in class mars.util.EditorFont
 
MIN_TAB_SIZE - Static variable in class mars.venus.Editor
 
MIN_UHALF_VALUE - Static variable in class mars.assembler.DataTypes
Lowest value that can be stored in na unsigned MIPS halfword is 0
MIN_WORD_VALUE - Static variable in class mars.assembler.DataTypes
Lowest value that can be stored in a MIPS word is -231
MINUS - Static variable in class mars.assembler.TokenTypes
 
MIPSprogram - Class in mars
Internal representations of MIPS program.
MIPSprogram() - Constructor for class mars.MIPSprogram
 
MIPSTokenMarker - Class in mars.venus.editors.jeditsyntax.tokenmarker
MIPS token marker.
MIPSTokenMarker() - Constructor for class mars.venus.editors.jeditsyntax.tokenmarker.MIPSTokenMarker
 
MIPSTokenMarker(KeywordMap) - Constructor for class mars.venus.editors.jeditsyntax.tokenmarker.MIPSTokenMarker
 
mnemonic - Variable in class mars.mips.instructions.Instruction
The instruction name.
modifyDisplay(char) - Method in class mars.tools.DigitalLabSim.SevenSegmentDisplay
 
modifyDisplay(int, char) - Method in class mars.tools.DigitalLabSim.SevenSegmentPanel
 
mouseClicked(MouseEvent) - Method in class mars.tools.DigitalLabSim.HexaKeyboard.EcouteurClick
 
mouseClicked(MouseEvent) - Method in class mars.venus.RepeatButton
Handle mouse clicked events.
mouseEntered(MouseEvent) - Method in class mars.tools.DigitalLabSim.HexaKeyboard.EcouteurClick
 
mouseEntered(MouseEvent) - Method in class mars.venus.RepeatButton
Handle mouse entered events.
mouseExited(MouseEvent) - Method in class mars.tools.DigitalLabSim.HexaKeyboard.EcouteurClick
 
mouseExited(MouseEvent) - Method in class mars.venus.RepeatButton
Handle mouse exited events.
mousePressed(MouseEvent) - Method in class mars.tools.DigitalLabSim.HexaKeyboard.EcouteurClick
 
mousePressed(MouseEvent) - Method in class mars.venus.PopupListener
 
mousePressed(MouseEvent) - Method in class mars.venus.RepeatButton
Handle mouse pressed events.
mouseReleased(MouseEvent) - Method in class mars.tools.DigitalLabSim.HexaKeyboard.EcouteurClick
 
mouseReleased(MouseEvent) - Method in class mars.venus.PopupListener
 
mouseReleased(MouseEvent) - Method in class mars.venus.RepeatButton
Handle mouse released events.

N

NEW_EDITED - Static variable in class mars.venus.FileStatus
New edit window with unsaved edits
NEW_NOT_EDITED - Static variable in class mars.venus.FileStatus
New edit window with no edits
newFile() - Method in class mars.venus.Editor
Perform "new" operation to create an empty tab.
newFile() - Method in class mars.venus.EditTabbedPane
Carries out all necessary operations to implement the New operation from the File menu.
newline() - Method in class mars.venus.HardcopyWriter
This internal method begins a new line
newpage() - Method in class mars.venus.HardcopyWriter
This internal method begins a new page and prints the header.
next - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
The next token in the linked list.
NEXT_CHAR - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
NEXT_LINE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
NEXT_PAGE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
NEXT_WORD - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
nextIndex(String, String, int, boolean) - Method in class mars.venus.editors.generic.GenericTextArea
Returns next posn of word in text - forward search.
nextIndex(String, String, int, boolean) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Returns next posn of word in text - forward search.
nextLineRequested - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
True if the next line should be painted.
nextTabStop(float, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Implementation of TabExpander interface.
NO_DEVICE - Static variable in class mars.simulator.Simulator
 
NO_FILE - Static variable in class mars.venus.FileStatus
initial state or after close
NORMAL_TERMINATION - Static variable in class mars.simulator.Simulator
 
NOT_EDITED - Static variable in class mars.venus.FileStatus
open/saved edit window with no edits
NOT_FOUND - Static variable in class mars.assembler.SymbolTable
 
notifyObservers() - Method in class mars.mips.hardware.Memory
Overridden to be unavailable.
notifyObservers(Object) - Method in class mars.mips.hardware.Memory
Overridden to be unavailable.
NULL - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Normal text token id.
NUMBER_OF_CHARACTERS_TO_CUT - Static variable in class mars.venus.MessagesPane
 
numberDisplayBaseChanged(NumberDisplayBaseChooser) - Method in class mars.venus.ExecutePane
Update display of columns based on state of given chooser.
NumberDisplayBaseChooser - Class in mars.venus
Use to select base for displaying numbers.
NumberDisplayBaseChooser(String, boolean) - Constructor for class mars.venus.NumberDisplayBaseChooser
constructor.

O

obj - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker.LineInfo
This is for use by the token marker implementations themselves.
ODD_ROW_BACKGROUND - Static variable in class mars.Settings
RGB color for table odd row background (text, data, register displays)
ODD_ROW_FONT - Static variable in class mars.Settings
Font for table odd row background (text, data, register displays)
ODD_ROW_FOREGROUND - Static variable in class mars.Settings
RGB color for table odd row foreground (text, data, register displays)
offsetToX(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Converts an offset in a line into an x co-ordinate.
open() - Method in class mars.venus.Editor
Open file in a new tab.
openFile(String, int) - Static method in class mars.util.SystemIO
Open a file for either reading or writing.
openFile() - Method in class mars.venus.EditTabbedPane
Carries out all necessary operations to implement the Open operation from the File menu.
openFile(File) - Method in class mars.venus.EditTabbedPane
Carries out all necessary operations to open the specified file in the editor.
OPENING - Static variable in class mars.venus.FileStatus
file is being opened.
OperandFormat - Class in mars.assembler
Provides utility method related to MIPS operand formats.
operandMask - Static variable in class mars.mips.instructions.Instruction
Characters used in instruction mask to indicate bit positions for 'f'irst, 's'econd, and 't'hird operands.
OPERATOR - Static variable in class mars.assembler.TokenTypes
 
OPERATOR - Static variable in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Operator token id.
outOfRange(Directives, int) - Static method in class mars.assembler.DataTypes
Determines whether given integer value falls within value range for given directive.
outOfRange(Directives, double) - Static method in class mars.assembler.DataTypes
Determines whether given floating point value falls within value range for given directive.
OVERWRITE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
overwrite - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
overwriteSetSelectedText(String) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Similar to setSelectedText(), but overstrikes the appropriate number of characters if overwrite mode is enabled.

P

page - Variable in class mars.venus.HardcopyWriter
 
pageBreak() - Method in class mars.venus.HardcopyWriter
End the current page.
pagedpi - Variable in class mars.venus.HardcopyWriter
 
pagenum - Variable in class mars.venus.HardcopyWriter
 
pagesize - Variable in class mars.venus.HardcopyWriter
 
paint(Graphics) - Method in class mars.tools.DigitalLabSim.SevenSegmentDisplay
 
paint(Graphics) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Repaints the text.
paintBracketHighlight(Graphics, int, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
paintCaret(Graphics, int, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
painter - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
paintHighlight(Graphics, int, int) - Method in interface mars.venus.editors.jeditsyntax.TextAreaPainter.Highlight
This should paint the highlight and delgate to the next highlight painter.
paintHighlight(Graphics, int, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
paintInvalid - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
paintInvalid - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
paintLine(Graphics, TokenMarker, int, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
paintLineHighlight(Graphics, int, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
paintPlainLine(Graphics, int, Font, Color, int, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
paintSyntaxLine(Segment, Token, SyntaxStyle[], TabExpander, Graphics, int, int) - Static method in class mars.venus.editors.jeditsyntax.SyntaxUtilities
 
paintSyntaxLine(Graphics, TokenMarker, int, Font, Color, int, int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
parseKeyStroke(String) - Static method in class mars.venus.editors.jeditsyntax.DefaultInputHandler
Converts a string to a keystroke.
paste() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Inserts the clipboard contents into the text.
paste() - Method in interface mars.venus.editors.MARSTextEditingArea
 
pasteText() - Method in class mars.venus.EditPane
paste clipboard contents at cursor position
PAUSE_OR_STOP - Static variable in class mars.simulator.Simulator
 
paused(boolean, int, ProcessingException) - Method in class mars.venus.RunGoAction
Method to be called when Pause is selected through menu/toolbar/shortcut.
performApply() - Method in class mars.venus.AbstractFontSettingDialog
 
performSpecialClosingDuties() - Method in class mars.tools.AbstractMarsToolAndApplication
This method is called when tool/app is exited either through the close/exit button or the window's X box.
PLUS - Static variable in class mars.assembler.TokenTypes
 
popFromCallStack() - Method in class mars.assembler.MacroPool
 
populate() - Method in class mars.mips.instructions.InstructionSet
Adds all instructions to the set.
popup - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
popup - Static variable in class mars.venus.editors.jeditsyntax.SyntaxUtilities
 
popup - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
POPUP_INSTRUCTION_GUIDANCE - Static variable in class mars.Settings
Flag to control whether or not editor will provide popup instruction guidance while typing
POPUP_SYSCALL_INPUT - Static variable in class mars.Settings
Flag to control whether or not simulator will use popup dialog for input syscalls
PopupHelpItem - Class in mars.venus.editors.jeditsyntax
Handly little class to contain help information for a popupMenu or tool tip item.
PopupHelpItem(String, String, String, boolean) - Constructor for class mars.venus.editors.jeditsyntax.PopupHelpItem
Create popup help item.
PopupHelpItem(String, String, String) - Constructor for class mars.venus.editors.jeditsyntax.PopupHelpItem
Create popup help item, where match is result of an exact-match search.
PopupListener - Class in mars.venus
 
PopupListener(JPopupMenu) - Constructor for class mars.venus.PopupListener
 
popupShowing - Static variable in class mars.venus.editors.jeditsyntax.SyntaxUtilities
Paints the specified line onto the graphics context.
POSITION_PREFIX - Static variable in class mars.ErrorList
 
postMarsMessage(String) - Method in class mars.venus.MessagesPane
Post a message to the assembler display
postRunMessage(String) - Method in class mars.venus.MessagesPane
Post a message to the runtime display
preferredTextAreaDimension - Static variable in class mars.tools.KeyboardAndDisplaySimulator
 
prefixMatchDirectives(String) - Static method in class mars.assembler.Directives
Find Directive object, if any, which contains the given string as a prefix.
prefixMatchOperator(String) - Method in class mars.mips.instructions.InstructionSet
Given a string, will return the Instruction object(s) from the instruction set whose operator mnemonic prefix matches it.
prepareFilesForAssembly(ArrayList, String, String) - Method in class mars.MIPSprogram
Prepares the given list of files for assembly.
PREV_CHAR - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
PREV_LINE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
PREV_PAGE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
PREV_WORD - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
printprops - Static variable in class mars.venus.HardcopyWriter
 
printString(String) - Static method in class mars.util.SystemIO
Implements syscall having 4 in $v0, to print a string.
ProcessingException - Exception in mars
Class to represent error that occurs while assembling or running a MIPS program.
ProcessingException(ErrorList) - Constructor for exception mars.ProcessingException
Constructor for ProcessingException.
ProcessingException(ErrorList, AddressErrorException) - Constructor for exception mars.ProcessingException
Constructor for ProcessingException.
ProcessingException(ProgramStatement, String) - Constructor for exception mars.ProcessingException
Constructor for ProcessingException to handle runtime exceptions
ProcessingException(ProgramStatement, String, int) - Constructor for exception mars.ProcessingException
Constructor for ProcessingException to handle runtime exceptions
ProcessingException(ProgramStatement, AddressErrorException) - Constructor for exception mars.ProcessingException
Constructor for ProcessingException to handle address runtime exceptions
ProcessingException() - Constructor for exception mars.ProcessingException
Constructor for ProcessingException.
processKeyEvent(KeyEvent) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Forwards key events directly to the input handler.
processMIPSUpdate(Observable, AccessNotice) - Method in class mars.tools.AbstractMarsToolAndApplication
Override this method to process a received notice from MIPS Observable (memory or register) It will only be called if the notice was generated as the result of MIPS instruction execution.
processMIPSUpdate(Observable, AccessNotice) - Method in class mars.tools.BHTSimulator
Callback for text segment access by the MIPS simulator.
processMIPSUpdate(Observable, AccessNotice) - Method in class mars.tools.BitmapDisplay
Update display when connected MIPS program accesses (data) memory.
processMIPSUpdate(Observable, AccessNotice) - Method in class mars.tools.CacheSimulator
Apply caching policies and update display when connected MIPS program accesses (data) memory.
processMIPSUpdate(Observable, AccessNotice) - Method in class mars.tools.InstructionCounter
 
processMIPSUpdate(Observable, AccessNotice) - Method in class mars.tools.InstructionStatistics
method that is called each time the MIPS simulator accesses the text segment.
processMIPSUpdate(Observable, AccessNotice) - Method in class mars.tools.KeyboardAndDisplaySimulator
Update display when connected MIPS program accesses (data) memory.
processMIPSUpdate(Observable, AccessNotice) - Method in class mars.tools.MemoryReferenceVisualization
Update display when connected MIPS program accesses (data) memory.
program - Static variable in class mars.Globals
the program currently being worked with.
PROGRAM_ARGUMENTS - Static variable in class mars.Settings
Flag to determine whether or not to display and use program arguments
ProgramArgumentList - Class in mars.simulator
Models Program Arguments, one or more strings provided to the MIPS program at runtime.
ProgramArgumentList(String) - Constructor for class mars.simulator.ProgramArgumentList
Constructor that parses string to produce list.
ProgramArgumentList(String[]) - Constructor for class mars.simulator.ProgramArgumentList
Constructor that gets list from String array, one argument per element.
ProgramArgumentList(String[], int) - Constructor for class mars.simulator.ProgramArgumentList
Constructor that gets list from section of String array, one argument per element.
ProgramArgumentList(ArrayList) - Constructor for class mars.simulator.ProgramArgumentList
Constructor that gets list from ArrayList of String, one argument per element.
ProgramArgumentList(ArrayList, int) - Constructor for class mars.simulator.ProgramArgumentList
Constructor that gets list from section of String ArrayList, one argument per element.
ProgramStatement - Class in mars
Represents one assembly/machine statement.
ProgramStatement(MIPSprogram, String, TokenList, TokenList, Instruction, int, int) - Constructor for class mars.ProgramStatement
Constructor for ProgramStatement when there are links back to all source and token information.
ProgramStatement(int, int) - Constructor for class mars.ProgramStatement
Constructor for ProgramStatement used only for writing a binary machine instruction with no source code to refer back to.
PropertiesFile - Class in mars.util
Provides means to work with ".properties" files which are used to store various MARS settings.
PropertiesFile() - Constructor for class mars.util.PropertiesFile
 
pushOnCallStack(Token) - Method in class mars.assembler.MacroPool
 

Q

QUOTED_STRING - Static variable in class mars.assembler.TokenTypes
 

R

R_FORMAT - Static variable in class mars.mips.instructions.BasicInstructionFormat
 
RandomStreams - Class in mars.mips.instructions.syscalls
This small class serves only to hold a static HashMap for storing random number generators for use by all the random number generator syscalls.
RandomStreams() - Constructor for class mars.mips.instructions.syscalls.RandomStreams
 
READ - Static variable in class mars.mips.hardware.AccessNotice
Indicates the purpose of access was to read.
readChar(int) - Static method in class mars.util.SystemIO
Implements syscall having 12 in $v0, to read a char value.
readDouble(int) - Static method in class mars.util.SystemIO
Implements syscall to read a double value.
readFloat(int) - Static method in class mars.util.SystemIO
Implements syscall to read a float value.
readFromFile(int, byte[], int) - Static method in class mars.util.SystemIO
Read bytes from file.
readInteger(int) - Static method in class mars.util.SystemIO
Implements syscall to read an integer value.
readSource(String) - Method in class mars.MIPSprogram
Reads MIPS source code from file into structure.
readString(int, int) - Static method in class mars.util.SystemIO
Implements syscall to read a string.
readyForCommit() - Method in class mars.assembler.Macro
Operations to be done on this macro before it is committed in macro pool.
REAL_NUMBER - Static variable in class mars.assembler.TokenTypes
 
recalculateVisibleLines() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Recalculates the number of visible lines.
RECEIVER_CONTROL - Static variable in class mars.tools.KeyboardAndDisplaySimulator
 
RECEIVER_DATA - Static variable in class mars.tools.KeyboardAndDisplaySimulator
 
recorder - Variable in class mars.venus.editors.jeditsyntax.InputHandler
 
rectSelect - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
redo() - Method in class mars.venus.editors.generic.GenericTextArea
Redo previous edit
redo() - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Redo previous edit
redo() - Method in interface mars.venus.editors.MARSTextEditingArea
 
redo() - Method in class mars.venus.EditPane
Redo previous edit
refresh() - Method in class mars.venus.Coprocessor0Window
Refresh the table, triggering re-rendering.
refresh() - Method in class mars.venus.Coprocessor1Window
Refresh the table, triggering re-rendering.
refresh() - Method in class mars.venus.RegistersWindow
Refresh the table, triggering re-rendering.
regionMatches(boolean, Segment, int, String) - Static method in class mars.venus.editors.jeditsyntax.SyntaxUtilities
Checks if a subregion of a Segment is equal to a string.
regionMatches(boolean, Segment, int, char[]) - Static method in class mars.venus.editors.jeditsyntax.SyntaxUtilities
Checks if a subregion of a Segment is equal to a character array.
Register - Class in mars.mips.hardware
Abstraction to represent a register of a MIPS Assembler.
Register(String, int, int) - Constructor for class mars.mips.hardware.Register
Creates a new register with specified name, number, and value.
register(int) - Static method in class mars.simulator.DelayedBranch
Register the fact that a successful branch is to occur.
REGISTER_HIGHLIGHT_BACKGROUND - Static variable in class mars.Settings
RGB color for register highlighted background
REGISTER_HIGHLIGHT_FONT - Static variable in class mars.Settings
Font for register highlighted background
REGISTER_HIGHLIGHT_FOREGROUND - Static variable in class mars.Settings
RGB color for register highlighted foreground
REGISTER_NAME - Static variable in class mars.assembler.TokenTypes
note: REGISTER_NAME is token of form $zero whereas REGISTER_NUMBER is token of form $0.
REGISTER_NUMBER - Static variable in class mars.assembler.TokenTypes
 
RegisterAccessNotice - Class in mars.mips.hardware
Object provided to Observers of runtime access to MIPS register.
RegisterFile - Class in mars.mips.hardware
Represents the collection of MIPS registers.
RegisterFile() - Constructor for class mars.mips.hardware.RegisterFile
 
REGISTERS_HIGHLIGHTING - Static variable in class mars.Settings
Flag to control whether or not highlighting is applied to register windows
RegistersPane - Class in mars.venus
Contains tabbed areas in the UI to display register contents
RegistersPane(VenusUI, RegistersWindow, Coprocessor1Window, Coprocessor0Window) - Constructor for class mars.venus.RegistersPane
Constructor for the RegistersPane class.
RegistersWindow - Class in mars.venus
Sets up a window to display registers in the UI.
RegistersWindow() - Constructor for class mars.venus.RegistersWindow
Constructor which sets up a fresh window with a table that contains the register values.
registerTableModelListener(TableModelListener) - Method in class mars.venus.TextSegmentWindow
Assign listener to Table model.
remove(int) - Method in class mars.assembler.TokenList
Removes Token object at specified list position.
remove(EditPane) - Method in class mars.venus.EditTabbedPane
Remove the pane and update menu status
removeAllKeyBindings() - Method in class mars.venus.editors.jeditsyntax.DefaultInputHandler
Removes all key bindings from this input handler.
removeAllKeyBindings() - Method in class mars.venus.editors.jeditsyntax.InputHandler
Removes all key bindings from this input handler.
removeCaretListener(CaretListener) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Removes a caret change listener from this text area.
removeKeyBinding(String) - Method in class mars.venus.editors.jeditsyntax.DefaultInputHandler
Removes a key binding from this input handler.
removeKeyBinding(String) - Method in class mars.venus.editors.jeditsyntax.InputHandler
Removes a key binding from this input handler.
removeNotify() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Called by the AWT when this component is removed from it's parent.
removeProgramArgumentsPanel() - Method in class mars.venus.TextSegmentWindow
 
removeStopListener(Simulator.StopListener) - Method in class mars.simulator.Simulator
 
removeSymbol(Token) - Method in class mars.assembler.SymbolTable
Removes a symbol from the Symbol table.
REPEAT - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
repeat - Variable in class mars.venus.editors.jeditsyntax.InputHandler
 
RepeatButton - Class in mars.venus
RepeatButton is a JButton which contains a timer for firing events while the button is held down.
RepeatButton() - Constructor for class mars.venus.RepeatButton
Creates a button with no set text or icon.
RepeatButton(Action) - Constructor for class mars.venus.RepeatButton
Creates a button where properties are taken from the Action supplied.
RepeatButton(Icon) - Constructor for class mars.venus.RepeatButton
Creates a button with an icon.
RepeatButton(String) - Constructor for class mars.venus.RepeatButton
Creates a button with text.
RepeatButton(String, Icon) - Constructor for class mars.venus.RepeatButton
Creates a button with initial text and an icon.
repeatCount - Variable in class mars.venus.editors.jeditsyntax.InputHandler
 
replaceSelection(String) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Same as setSelectedText but named for compatibility with JTextComponent method replaceSelection.
replaceSelection(String) - Method in interface mars.venus.editors.MARSTextEditingArea
 
requestFocusInWindow() - Method in interface mars.venus.editors.MARSTextEditingArea
 
RESERVED_INSTRUCTION_EXCEPTION - Static variable in class mars.simulator.Exceptions
 
reset(boolean) - Method in class mars.Settings
Reset settings to default values, as described in the constructor comments.
reset() - Method in class mars.tools.AbstractMarsToolAndApplication
Method that will be called each time the default Reset button is clicked.
reset() - Method in class mars.tools.BHTSimulator
Performs a reset of the simulator.
reset() - Method in class mars.tools.BitmapDisplay
Method to reset counters and display when the Reset button selected.
reset() - Method in class mars.tools.CacheSimulator
Method to reset cache, counters and display when the Reset button selected.
reset() - Method in class mars.tools.DigitalLabSim
 
reset() - Method in class mars.tools.FloatRepresentation
Method to reset display values to 0 when the Reset button selected.
reset() - Method in class mars.tools.InstructionCounter
 
reset() - Method in class mars.tools.InstructionStatistics
resets the counter values of the tool and updates the display.
reset() - Method in class mars.tools.KeyboardAndDisplaySimulator
Method to reset counters and display when the Reset button selected.
reset() - Method in class mars.tools.MemoryReferenceVisualization
Method to reset counters and display when the Reset button selected.
reset() - Method in class mars.venus.AbstractFontSettingDialog
 
reset() - Static method in class mars.venus.FileStatus
Resets all the values in FileStatus
RESET_TOOL_TIP_TEXT - Static variable in class mars.venus.SettingsHighlightingAction
 
resetFiles() - Static method in class mars.util.SystemIO
Reset all files -- clears out the file descriptor table.
resetHexaKeyboard() - Method in class mars.tools.DigitalLabSim.HexaKeyboard
 
resetMaxSteps() - Static method in class mars.venus.RunGoAction
Reset max steps limit to default value at termination of a simulated execution.
resetMemoryRange() - Method in class mars.venus.DataSegmentWindow
Reset range of memory addresses to base address of currently selected segment and update display.
resetOneSecondCounter() - Method in class mars.tools.DigitalLabSim.OneSecondCounter
 
resetRegisters() - Static method in class mars.mips.hardware.Coprocessor0
Method to reinitialize the values of the registers.
resetRegisters() - Static method in class mars.mips.hardware.Coprocessor1
Method to reinitialize the values of the registers.
resetRegisters() - Static method in class mars.mips.hardware.RegisterFile
Method to reinitialize the values of the registers.
resetSevenSegment() - Method in class mars.tools.DigitalLabSim.SevenSegmentPanel
 
resetSimulator() - Method in class mars.tools.BHTSimulator
Resets the simulator by clearing the GUI elements and resetting the BHT.
resetValue() - Method in class mars.mips.hardware.Register
Resets the value of the register to the value it was constructed with.
resetValues() - Method in class mars.venus.DataSegmentWindow
Reset all data display values to 0
revalidate() - Method in interface mars.venus.editors.MARSTextEditingArea
 
RIGHT - Static variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
RIGHT_PAREN - Static variable in class mars.assembler.TokenTypes
 
rows - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
rows - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
RunAssembleAction - Class in mars.venus
Action class for the Run -> Assemble menu item (and toolbar icon)
RunAssembleAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunAssembleAction
 
RunBackstepAction - Class in mars.venus
Action for the Run -> Backstep menu item
RunBackstepAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunBackstepAction
 
RunClearBreakpointsAction - Class in mars.venus
Action class for the Run menu item to clear execution breakpoints that have been set.
RunClearBreakpointsAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunClearBreakpointsAction
Create the object and register with text segment window as a listener on its table model.
RunGoAction - Class in mars.venus
Action class for the Run -> Go menu item (and toolbar icon)
RunGoAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunGoAction
 
RUNNABLE - Static variable in class mars.venus.FileStatus
successful assembly
RUNNING - Static variable in class mars.venus.FileStatus
execution is under way
RunPauseAction - Class in mars.venus
Action class for the Run -> Pause menu item (and toolbar icon)
RunPauseAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunPauseAction
 
RunResetAction - Class in mars.venus
Action for the Run -> Reset menu item
RunResetAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunResetAction
 
RunSpeedPanel - Class in mars.venus
Class for the Run speed slider control.
runSpeedPanelExists - Static variable in class mars.Globals
 
RunStepAction - Class in mars.venus
Action for the Run -> Step menu item
RunStepAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunStepAction
 
RunStopAction - Class in mars.venus
Action class for the Run -> Stop menu item (and toolbar icon)
RunStopAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunStopAction
 
RunToggleBreakpointsAction - Class in mars.venus
Action class for the Run menu item to clear execution breakpoints that have been set.
RunToggleBreakpointsAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.RunToggleBreakpointsAction
Create the object and register with text segment window as a listener on its table model.

S

save() - Method in class mars.venus.Editor
Perform "save" operation on current tab's file.
saveAll() - Method in class mars.venus.Editor
Perform save operation on all open files (tabs).
saveAllFiles() - Method in class mars.venus.EditTabbedPane
Saves all files currently open in the editor.
saveAs() - Method in class mars.venus.Editor
Perform "save as" operation on current tab's file.
saveAsCurrentFile() - Method in class mars.venus.EditTabbedPane
Pops up a dialog box to do "Save As" operation.
saveCurrentFile() - Method in class mars.venus.EditTabbedPane
Saves file under existing name.
ScavengerHunt - Class in mars.tools
Demo of Mars tool capability.
ScavengerHunt() - Constructor for class mars.tools.ScavengerHunt
 
ScreenMagnifier - Class in mars.tools
Handy little tool to magnify a selected section of the screen by a given scale and display it.
ScreenMagnifier() - Constructor for class mars.tools.ScreenMagnifier
 
scrollBarsInitialized - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
scrollTo(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Ensures that the specified line and offset is visible by scrolling the text area if necessary.
scrollToCaret() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Ensures that the caret is visible by scrolling the text area if necessary.
SegmentWindowDumpFormat - Class in mars.mips.dump
Dump MIPS memory contents in Segment Window format.
SegmentWindowDumpFormat() - Constructor for class mars.mips.dump.SegmentWindowDumpFormat
Constructor.
select(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Selects from the start offset to the end offset.
select(int, int) - Method in interface mars.venus.editors.MARSTextEditingArea
 
SELECT_ALL - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_DOC_END - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_DOC_HOME - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_END - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_HOME - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_NEXT_CHAR - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_NEXT_LINE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_NEXT_PAGE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_NEXT_WORD - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_PREV_CHAR - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_PREV_LINE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_PREV_PAGE - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
SELECT_PREV_WORD - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
selectAll() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Selects all text in the document.
selectAll() - Method in interface mars.venus.editors.MARSTextEditingArea
 
selectAllText() - Method in class mars.venus.EditPane
select all text
selectEditorTextLine(String, int, int) - Method in class mars.venus.MessagesPane
Will select the specified line in an editor tab.
selectErrorMessage(String, int, int) - Method in class mars.venus.MessagesPane
Will select the Mars Messages tab error message that matches the given specifications, if it is found.
selectionColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
selectionColor - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
selectionEnd - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
selectionEndLine - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
selectionStart - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
selectionStartLine - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
selectLine(int) - Method in class mars.venus.EditPane
Select the specified editor text line.
selectLine(int, int) - Method in class mars.venus.EditPane
Select the specified editor text line.
selectMarsMessageTab() - Method in class mars.venus.MessagesPane
Make the assembler message tab current (up front)
selectNone() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Moves the mark to the caret position.
selectRunMessageTab() - Method in class mars.venus.MessagesPane
Make the runtime message tab current (up front)
SELF_MODIFYING_CODE_ENABLED - Static variable in class mars.Settings
Flag to determine whether a program can write binary code to the text or data segment and execute that code.
SET - Static variable in class mars.assembler.Directives
 
set(int, Token) - Method in class mars.assembler.TokenList
Replaces token at position with different one.
set(int, int, int) - Method in class mars.mips.hardware.Memory
Starting at the given address, write the given value over the given number of bytes.
set(int) - Static method in class mars.venus.FileStatus
Set file status.
setAddress(int) - Method in class mars.assembler.Symbol
Sets (replaces) the address of the the Symbol.
setArgs(ArrayList<String>) - Method in class mars.assembler.Macro
 
setAssembleAllEnabled(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.ASSEMBLE_ALL_ENABLED)
setAssembled(boolean) - Static method in class mars.venus.FileStatus
Changes the value of assenbked to the parameter given.
setAssembleOnOpenEnabled(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.ASSEMBLE_ON_OPEN_ENABLED)
setBackground(Color) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setBase(int) - Method in class mars.venus.NumberDisplayBaseChooser
Set the current number base.
setBasicAssemblyStatement(String) - Method in class mars.ProgramStatement
Assigns given String to be Basic Assembly statement equivalent to this source line.
setBinaryStatement(int) - Method in class mars.ProgramStatement
Assigns given int to be binary machine code equivalent to this source line.
setBit(int, int) - Static method in class mars.util.Binary
Sets the specified bit of the specified value to 1, and returns the result.
setBlockCaretEnabled(boolean) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets if the caret should be drawn as a block, false otherwise.
setBooleanSetting(int, boolean) - Method in class mars.Settings
Set value of a boolean setting given its id and the value.
setBooleanSettingNonPersistent(int, boolean) - Method in class mars.Settings
Temporarily establish boolean setting.
setBracketHighlightColor(Color) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets the bracket highlight color.
setBracketHighlightEnabled(boolean) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Enables or disables bracket highlighting.
setByte(int, int) - Method in class mars.mips.hardware.Memory
Writes low order 8 bits of given value into specified Memory byte.
setByte(int, int, int) - Static method in class mars.util.Binary
Sets the specified byte of the specified value to the low order 8 bits of specified replacement value, and returns the result.
setByteOrder(boolean) - Method in class mars.mips.hardware.Memory
Set byte order to either LITTLE_ENDIAN or BIG_ENDIAN.
setCaretBlinkEnabled(boolean) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Toggles caret blinking.
setCaretBlinkRate(int) - Method in class mars.Settings
Set the caret blinking rate in milliseconds.
setCaretBlinkRate(int) - Method in class mars.venus.editors.generic.GenericTextArea
Set the caret blinking rate in milliseconds.
setCaretBlinkRate(int) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Set the caret blinking rate in milliseconds.
setCaretBlinkRate(int) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setCaretColor(Color) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets the caret color.
setCaretPosition(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the caret position.
setCaretPosition(int) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setCaretVisible(boolean) - Method in class mars.venus.editors.generic.GenericTextArea
Control caret visibility
setCaretVisible(boolean) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets if the caret should be visible.
setCaretVisible(boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setCodeHighlighting(boolean) - Method in class mars.venus.TextSegmentWindow
Used to enable or disable source code highlighting.
setColorSettingByKey(String, Color) - Method in class mars.Settings
Set Color object for specified settings key.
setColorSettingByPosition(int, Color) - Method in class mars.Settings
Set Color object for specified settings name (a static constant).
setConditionFlag(int) - Static method in class mars.mips.hardware.Coprocessor1
Set condition flag to 1 (true).
setConditionFlags() - Static method in class mars.mips.hardware.Coprocessor1
Set all condition flags (0-7).
setConfiguration() - Static method in class mars.mips.hardware.Memory
Sets current memory configuration for simulated MIPS.
setCurrent(Macro) - Method in class mars.assembler.MacroPool
 
setCurrentConfiguration(MemoryConfiguration) - Static method in class mars.mips.hardware.MemoryConfigurations
 
setCurrentEditTab(EditPane) - Method in class mars.venus.EditTabbedPane
Select the specified EditPane to be the current tab.
setDataSegmentHighlighting(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.DATA_SEGMENT_HIGHLIGHTING)
setDelay(int) - Method in class mars.venus.RepeatButton
Set the delay for the timer of this button.
setDelayedBranchingEnabled(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.DELAYED_BRANCHING_ENABLED)
setDelayedBranchingEnabledNonPersistent(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSettingNonPersistent(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.DELAYED_BRANCHING_ENABLED)
setDescription(String) - Method in class mars.venus.editors.jeditsyntax.PopupHelpItem
 
setDisplayAddressesInHex(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.DISPLAY_ADDRESSES_IN_HEX)
setDisplayValuesInHex(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.DISPLAY_VALUES_IN_HEX)
setDocument(SyntaxDocument) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the document this text area is editing.
setDouble(int, double) - Method in class mars.mips.hardware.Memory
Writes 64 bit double value starting at specified Memory address.
setEditable(boolean) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets if this component is editable.
setEditable(boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setEdited(boolean) - Static method in class mars.venus.FileStatus
Changes the value of edited to the parameter given.
setEditorFont(Font) - Method in class mars.Settings
Set editor font to the specified Font object and write it to persistent storage.
setEditorLineNumbersDisplayed(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.EDITOR_LINE_NUMBERS_DISPLAYED)
setEditorPopupPrefixLength(int) - Method in class mars.Settings
Set number of letters to be matched by editor's instruction guide before popup generated (if popup enabled).
setEditorSyntaxStyleByPosition(int, SyntaxStyle) - Method in class mars.Settings
 
setEditorTabSize(int) - Method in class mars.Settings
Set the tab size in characters.
setEditTabbedPane(EditTabbedPane) - Method in class mars.venus.Editor
Set associated EditTabbedPane.
setElectricScroll(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the number of lines from the top and bottom of the text area that are always visible
setEnabled(boolean) - Method in class mars.simulator.BackStepper
Set enable status.
setEnabled(boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setEnabled(boolean) - Method in class mars.venus.RepeatButton
Sets the enabled state of this button.
setEOLMarkerColor(Color) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets the EOL marker color.
setEOLMarkersPainted(boolean) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets if EOL markers are to be drawn.
setExample(String) - Method in class mars.venus.editors.jeditsyntax.PopupHelpItem
 
setExceptionHandler(String) - Method in class mars.Settings
Set name of exception handler file and write it to persistent storage.
setExceptionHandlerEnabled(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.EXCEPTION_HANDLER_ENABLED)
setExtendedAssemblerEnabled(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.EXTENDED_ASSEMBLER_ENABLED)
setFile(File) - Static method in class mars.venus.FileStatus
Sets the file to the ASM file passed.
setFileStatus(int) - Method in class mars.venus.EditPane
Set the editing status for this EditPane's associated document.
setFileStatus(int) - Method in class mars.venus.FileStatus
Set editing status of this file.
setFirstLine(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the line displayed at the text area's origin and updates the scroll bars.
setFont(Font) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
 
setFont(Font) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets the font for this component.
setFont(Font) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setFontByPosition(int, Font) - Method in class mars.Settings
Store a Font setting
setFontStyle(int) - Method in class mars.venus.HardcopyWriter
Set the font style.
setFromLine(int) - Method in class mars.assembler.Macro
 
setGraphicsFlags(Graphics, Font) - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Sets the foreground color and font of the specified graphics context to that specified in this style.
setGui(VenusUI) - Static method in class mars.Globals
 
setHalf(int, int) - Method in class mars.mips.hardware.Memory
Starting at the given halfword address, write the lower 16 bits of given value into 2 bytes (a halfword).
setHorizontalOffset(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the horizontal offset of drawn lines.
setIgnoreCase(boolean) - Method in class mars.venus.editors.jeditsyntax.KeywordMap
Sets if the keyword map should be case insensitive.
setInitialDelay(int) - Method in class mars.venus.RepeatButton
Sets the initial delay for the timer of this button.
setInputHandler(InputHandler) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the input handler.
setInvalidLinesPainted(boolean) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets if invalid lines are to be painted as red tildes.
setLabelSortState(String) - Method in class mars.Settings
Store the current state of the Labels Window sorter.
setLabelWindowVisibility(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.LABEL_WINDOW_VISIBILITY)
setLabelWindowVisibility(boolean) - Method in class mars.venus.ExecutePane
Show or hide the label window (symbol table).
setLineHighlightColor(Color) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets the line highlight color.
setLineHighlightEnabled(boolean) - Method in class mars.venus.editors.generic.GenericTextArea
Does nothing, but required by the interface.
setLineHighlightEnabled(boolean) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Use for highlighting the line currently being edited.
setLineHighlightEnabled(boolean) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Enables or disables current line highlighting.
setLineHighlightEnabled(boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setLocalMacroPool(MacroPool) - Method in class mars.MIPSprogram
Sets local macro pool MacroPool for this program
setMachineStatement(String) - Method in class mars.ProgramStatement
Assigns given String to be binary machine code (32 characters, all of them 0 or 1) equivalent to this source line.
setMacroRecorder(InputHandler.MacroRecorder) - Method in class mars.venus.editors.jeditsyntax.InputHandler
Sets the macro recorder.
setMagicCaretPosition(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the `magic' caret position.
setMemoryConfiguration(String) - Method in class mars.Settings
Store the identifier of the memory configuration.
setName(String) - Method in class mars.assembler.Macro
 
setName(String) - Static method in class mars.venus.FileStatus
Changes the value of name to the parameter given.
setNumber(int) - Method in class mars.mips.instructions.syscalls.AbstractSyscall
Set the service number.
setNumber(int) - Method in interface mars.mips.instructions.syscalls.Syscall
Set the service number.
setOrigin(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
A fast way of changing both the first line and horizontal offset.
setOriginal(MIPSprogram, int) - Method in class mars.assembler.Token
Set original program and line number for this token.
setOriginalFromLine(int) - Method in class mars.assembler.Macro
 
setOriginalToLine(int) - Method in class mars.assembler.Macro
 
setOverwriteEnabled(boolean) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets if overwrite mode should be enabled.
setPathname(String) - Method in class mars.venus.EditPane
Delegates to corresponding FileStatus method
setPathname(String) - Method in class mars.venus.FileStatus
Set full file pathname.
setPathname(String, String) - Method in class mars.venus.FileStatus
Set full file pathname.
setProcessedLine(String) - Method in class mars.assembler.TokenList
Use this to record the source line String for this token list after possible modification (textual substitution) during assembly preprocessing.
setProgram(MIPSprogram) - Method in class mars.assembler.Macro
 
setProgramArguments(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.PROGRAM_ARGUMENTS)
setProgramCounter(int) - Static method in class mars.mips.hardware.RegisterFile
For setting the Program Counter.
setRawWord(int, int) - Method in class mars.mips.hardware.Memory
Starting at the given word address, write the given value over 4 bytes (a word).
setRegisterPairToDouble(int, double) - Static method in class mars.mips.hardware.Coprocessor1
Sets the value of the FPU register given to the double value given.
setRegisterPairToDouble(String, double) - Static method in class mars.mips.hardware.Coprocessor1
Sets the value of the FPU register given to the double value given.
setRegisterPairToLong(int, long) - Static method in class mars.mips.hardware.Coprocessor1
Sets the value of the FPU register pair given to the long value containing 64 bit pattern given.
setRegisterPairToLong(String, long) - Static method in class mars.mips.hardware.Coprocessor1
Sets the value of the FPU register pair given to the long value containing 64 bit pattern given.
setRegisters(int) - Static method in class mars.simulator.Exceptions
Given MIPS exception cause code, will place that code into coprocessor 0 CAUSE register ($13), set the EPC register to "current" program counter, and set Exception Level bit in STATUS register.
setRegisters(int, int) - Static method in class mars.simulator.Exceptions
Given MIPS exception cause code and bad address, place the bad address into VADDR register ($8) then call overloaded setRegisters with the cause code to do the rest.
setRegistersHighlighting(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.REGISTERS_HIGHLIGHTING)
setRegisterToFloat(String, float) - Static method in class mars.mips.hardware.Coprocessor1
Sets the value of the FPU register given to the value given.
setRegisterToFloat(int, float) - Static method in class mars.mips.hardware.Coprocessor1
Sets the value of the FPU register given to the value given.
setRegisterToInt(String, int) - Static method in class mars.mips.hardware.Coprocessor1
Sets the value of the FPU register given to the 32-bit pattern given by the int parameter.
setRegisterToInt(int, int) - Static method in class mars.mips.hardware.Coprocessor1
Sets the value of the FPU register given to the 32-bit pattern given by the int parameter.
setRepeatCount(int) - Method in class mars.venus.editors.jeditsyntax.InputHandler
Sets the number of times the next action will be repeated.
setRepeatEnabled(boolean) - Method in class mars.venus.editors.jeditsyntax.InputHandler
Enables repeating.
setRepeatEnabled(boolean) - Method in class mars.venus.RepeatButton
Sets if the button should fire events when held.
setReset(boolean) - Static method in class mars.venus.VenusUI
To set whether the register values are reset.
setRightClickPopup(JPopupMenu) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the right click popup menu.
setSaved(boolean) - Static method in class mars.venus.FileStatus
Changes the value of saved to the parameter given.
setSelectedText(String) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Replaces the selection with the specified text.
setSelectionColor(Color) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets the selection color.
setSelectionEnd(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the selection end.
setSelectionEnd(int) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setSelectionRectangular(boolean) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets if the selection should be rectangular.
setSelectionStart(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the selection start.
setSelectionStart(int) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setSelectionVisible(boolean) - Method in class mars.venus.editors.generic.GenericTextArea
Control selection visibility
setSelectionVisible(boolean) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
 
setSelectionVisible(boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setSettingsMenuItem(JCheckBoxMenuItem) - Method in class mars.venus.NumberDisplayBaseChooser
Set the menu item from Settings menu that corresponds to this chooser.
setShowLineNumbersEnabled(boolean) - Method in class mars.venus.EditPane
enable or disable checkbox that controls display of line numbers
setSource(String) - Method in class mars.ProgramStatement
associates MIPS source statement.
setSourceCode(String, boolean) - Method in class mars.venus.editors.generic.GenericTextArea
For initalizing the source code when opening an ASM file
setSourceCode(String, boolean) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
 
setSourceCode(String, boolean) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setSourceCode(String, boolean) - Method in class mars.venus.EditPane
For initalizing the source code when opening an ASM file
setSourceLineList(ArrayList<SourceLine>) - Method in class mars.MIPSprogram
Set list of source statements that comprise the program.
setStartAtMain(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.START_AT_MAIN)
setStarted(boolean) - Static method in class mars.venus.VenusUI
To set whether MIPS program execution has started.
setStatement(int, ProgramStatement) - Method in class mars.mips.hardware.Memory
Stores ProgramStatement in Text Segment.
setStyles(SyntaxStyle[]) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Sets the syntax styles used to paint colorized text.
setTabSize(int) - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Set the number of characters a tab will expand to.
setTabSize(int) - Method in class mars.venus.editors.jeditsyntax.TextAreaPainter
Set the tab size in characters.
setTabSize(int) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setText(String) - Method in class mars.venus.editors.generic.GenericTextArea
Override inherited setText to temporarily remove UndoableEditListener because this operation is not undoable.
setText(String) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the entire text of this text area.
setText(String) - Method in interface mars.venus.editors.MARSTextEditingArea
 
setTextColumnOrder(int[]) - Method in class mars.Settings
Store the current order of Text Segment window table columns, so the ordering can be preserved and restored.
Settings - Class in mars
Contains various IDE settings.
Settings() - Constructor for class mars.Settings
Create Settings object and set to saved values.
Settings(boolean) - Constructor for class mars.Settings
Create Settings object and set to saved values.
SettingsAddressDisplayBaseAction - Class in mars.venus
Action class for the Settings menu item to control number base (10 or 16) of memory addresses.
SettingsAddressDisplayBaseAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsAddressDisplayBaseAction
 
SettingsAssembleAllAction - Class in mars.venus
Action class for the Settings menu item to determine whether assemble operation applies only to current file or to all files in its directory.
SettingsAssembleAllAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsAssembleAllAction
 
SettingsAssembleOnOpenAction - Class in mars.venus
Action class for the Settings menu item to control automatic assemble of file upon opening.
SettingsAssembleOnOpenAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsAssembleOnOpenAction
 
SettingsDelayedBranchingAction - Class in mars.venus
Action class for the Settings menu item to control delayed branching.
SettingsDelayedBranchingAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsDelayedBranchingAction
 
SettingsEditorAction - Class in mars.venus
Action class for the Settings menu item for text editor settings.
SettingsEditorAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsEditorAction
Create a new SettingsEditorAction.
SettingsExceptionHandlerAction - Class in mars.venus
Action class for the Settings menu item for optionally loading a MIPS exception handler.
SettingsExceptionHandlerAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsExceptionHandlerAction
 
SettingsExtendedAction - Class in mars.venus
Action class for the Settings menu item to control use of extended (pseudo) instructions or formats.
SettingsExtendedAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsExtendedAction
 
SettingsHighlightingAction - Class in mars.venus
Action class for the Settings menu item for text editor settings.
SettingsHighlightingAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsHighlightingAction
Create a new SettingsEditorAction.
SettingsLabelAction - Class in mars.venus
Action class for the Settings menu item to control display of Labels window (symbol table).
SettingsLabelAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsLabelAction
 
SettingsMemoryConfigurationAction - Class in mars.venus
Action class for the Settings menu item for text editor settings.
SettingsMemoryConfigurationAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsMemoryConfigurationAction
Create a new SettingsEditorAction.
SettingsPopupInputAction - Class in mars.venus
Action class for the Settings menu item to control use of popup dialog for input syscalls.
SettingsPopupInputAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsPopupInputAction
 
SettingsProgramArgumentsAction - Class in mars.venus
Action class for the Settings menu item to control whether or not program arguments can be entered and used.
SettingsProgramArgumentsAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsProgramArgumentsAction
 
SettingsSelfModifyingCodeAction - Class in mars.venus
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.
SettingsSelfModifyingCodeAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsSelfModifyingCodeAction
 
SettingsStartAtMainAction - Class in mars.venus
Action class for the Settings menu item to control whether or not assembler warnings are considered errors.
SettingsStartAtMainAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsStartAtMainAction
 
SettingsValueDisplayBaseAction - Class in mars.venus
Action class for the Settings menu item to control number base (10 or 16) of memory/register contents.
SettingsValueDisplayBaseAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsValueDisplayBaseAction
 
SettingsWarningsAreErrorsAction - Class in mars.venus
Action class for the Settings menu item to control whether or not assembler warnings are considered errors.
SettingsWarningsAreErrorsAction(String, Icon, String, Integer, KeyStroke, VenusUI) - Constructor for class mars.venus.SettingsWarningsAreErrorsAction
 
setTitle(String, String, int) - Method in class mars.venus.Editor
Places name of file currently being edited into its edit tab and the application's title bar.
setTokenMarker(TokenMarker) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Sets the document's token marker.
setTokenMarker(TokenMarker) - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
Sets the token marker that is to be used to split lines of this document up into tokens.
setToLine(int) - Method in class mars.assembler.Macro
 
setType(TokenTypes) - Method in class mars.assembler.Token
Set or modify token type.
setupTable() - Method in class mars.venus.DataSegmentWindow
Generates and displays fresh table, typically done upon successful assembly.
setupTable() - Method in class mars.venus.LabelsWindow
Initialize table of labels (symbol table)
setupTable() - Method in class mars.venus.TextSegmentWindow
Method to be called once the user compiles the program.
setupWindow() - Method in class mars.venus.Coprocessor0Window
Sets up the data for the window.
setupWindow() - Method in class mars.venus.Coprocessor1Window
Sets up the data for the window.
setupWindow() - Method in class mars.venus.RegistersWindow
Sets up the data for the window.
setValue(int) - Method in class mars.mips.hardware.Register
Sets the value of the register to the val passed to it.
setWarningsAreErrors(boolean) - Method in class mars.Settings
Deprecated. Use setBooleanSetting(int id, boolean value) with the appropriate boolean setting ID (e.g. Settings.WARNINGS_ARE_ERRORS)
setWindowBounds() - Method in class mars.venus.ExecutePane
This method will set the bounds of this JDesktopPane's internal windows relative to the current size of this JDesktopPane.
setWord(int, int) - Method in class mars.mips.hardware.Memory
Starting at the given word address, write the given value over 4 bytes (a word).
showingLineNumbers() - Method in class mars.venus.EditPane
get editor's line number display status
showRegisters() - Static method in class mars.mips.hardware.Coprocessor0
Method for displaying the register values for debugging.
showRegisters() - Static method in class mars.mips.hardware.Coprocessor1
Method for displaying the register values for debugging.
showRegisters() - Static method in class mars.mips.hardware.RegisterFile
Method for displaying the register values for debugging.
showSplash() - Method in class mars.MarsSplashScreen
A simple little method to show a title screen in the center of the screen for the amount of time given in the constructor
simulate(ProgramStatement) - Method in interface mars.mips.instructions.SimulationCode
Method to simulate the execution of a specific MIPS basic instruction.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.AbstractSyscall
Performs syscall function.
simulate(ProgramStatement) - Method in interface mars.mips.instructions.syscalls.Syscall
Performs syscall function.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallClose
Performs syscall function to close file descriptor given in $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallConfirmDialog
System call to display a message to user.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallExit
Performs syscall function to exit the MIPS program.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallExit2
Performs syscall function to exit the MIPS program with return value given in $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallInputDialogDouble
System call to input data.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallInputDialogFloat
System call to input data.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallInputDialogInt
System call to input data.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallInputDialogString
System call to input data.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialog
System call to display a message to user.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialogDouble
System call to display a message to user.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialogFloat
System call to display a message to user.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialogInt
System call to display a message to user.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialogString
System call to display a message to user.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallMidiOut
Performs syscall function to send MIDI output to sound card.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallMidiOutSync
Performs syscall function to send MIDI output to sound card.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallOpen
Performs syscall function to open file name specified by $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintChar
Performs syscall function to print on the console the character stored in $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintDouble
Performs syscall function to print double whose bits are stored in $f12 & $f13.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintFloat
Performs syscall function to display float whose bits are stored in $f12
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintInt
Performs syscall function to print on the console the integer stored in $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintIntBinary
Performs syscall function to print on the console the integer stored in $a0, in hexadecimal format.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintIntHex
Performs syscall function to print on the console the integer stored in $a0, in hexadecimal format.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintIntUnsigned
Performs syscall function to print on the console the integer stored in $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintString
Performs syscall function to print string stored starting at address in $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandDouble
System call to the random number generator.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandFloat
System call to the random number generator.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandInt
System call to the random number generator.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandIntRange
System call to the random number generator, with an upper range specified.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandSeed
Set the seed of the underlying Java pseudorandom number generator.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallRead
Performs syscall function to read from file descriptor given in $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadChar
Performs syscall function to read a character from input console into $a0
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadDouble
Performs syscall function to read the bits of input double into $f0 and $f1.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadFloat
Performs syscall function to read the bits of input float into $f0
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadInt
Performs syscall function to read an integer from input console into $v0
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadString
Performs syscall function to read console input string into buffer starting at address in $a0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallSbrk
Performs syscall function to allocate amount of heap memory specified in $a0, putting address into $v0.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallSleep
System call to cause the MARS Java thread to sleep for (at least) the specified number of milliseconds.
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallTime
Performs syscall function to place current system time into $a0 (low order 32 bits) and $a1 (high order 32 bits).
simulate(ProgramStatement) - Method in class mars.mips.instructions.syscalls.SyscallWrite
Performs syscall function to write to file descriptor given in $a0.
simulate(int[]) - Method in class mars.MIPSprogram
Simulates execution of the MIPS program.
simulate(int) - Method in class mars.MIPSprogram
Simulates execution of the MIPS program.
simulate(MIPSprogram, int, int, int[], AbstractAction) - Method in class mars.simulator.Simulator
Simulate execution of given MIPS program.
simulateFromPC(int[], int, AbstractAction) - Method in class mars.MIPSprogram
Simulates execution of the MIPS program.
simulateStepAtPC(AbstractAction) - Method in class mars.MIPSprogram
Simulates execution of the MIPS program.
SimulationCode - Interface in mars.mips.instructions
Interface to represent the method for simulating the execution of a specific MIPS basic instruction.
Simulator - Class in mars.simulator
Used to simulate the execution of an assembled MIPS program.
Simulator.StopListener - Interface in mars.simulator
 
SIMULATOR_START - Static variable in class mars.simulator.SimulatorNotice
 
SIMULATOR_STOP - Static variable in class mars.simulator.SimulatorNotice
 
SimulatorNotice - Class in mars.simulator
Object provided to Observers of the Simulator.
SimulatorNotice(int, int, double, int) - Constructor for class mars.simulator.SimulatorNotice
Constructor will be called only within this package, so assume address and length are in valid ranges.
size() - Method in class mars.assembler.TokenList
Returns number of tokens in list.
sizeIntToSizeString(int) - Static method in class mars.util.EditorFont
Given an int representing font size, returns corresponding string.
sizeStringToSizeInt(String) - Static method in class mars.util.EditorFont
Given a String representing font size, returns corresponding int.
SMART_HOME_END_PROPERTY - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
If this client property is set to Boolean.TRUE on the text area, the home/end keys will support 'smart' BRIEF-like behaviour (one press = start/end of line, two presses = start/end of viewscreen, three presses = start/end of document).
SourceLine - Class in mars.assembler
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.
SourceLine(String, MIPSprogram, int) - Constructor for class mars.assembler.SourceLine
SourceLine constructor
SPACE - Static variable in class mars.assembler.Directives
 
STACK_POINTER_REGISTER - Static variable in class mars.mips.hardware.RegisterFile
 
stackBaseAddress - Static variable in class mars.mips.hardware.Memory
base address for stack: 0x7ffffffc (this is mine - start of highest word below kernel space)
stackLimitAddress - Static variable in class mars.mips.hardware.Memory
 
stackPointer - Static variable in class mars.mips.hardware.Memory
starting address for stack: 0x7fffeffc (this is from SPIM not MIPS)
start() - Method in class mars.simulator.SwingWorker
Start the worker thread.
START_AT_MAIN - Static variable in class mars.Settings
Flag to control whether or not assembler automatically initializes program counter to 'main's address
STATUS - Static variable in class mars.mips.hardware.Coprocessor0
 
stepped(boolean, int, ProcessingException) - Method in class mars.venus.RunStepAction
 
stopExecution(AbstractAction) - Method in class mars.simulator.Simulator
Set the volatile stop boolean variable checked by the execution thread at the end of each MIPS instruction execution.
stopped(Simulator) - Method in interface mars.simulator.Simulator.StopListener
 
stopped(ProcessingException, int) - Method in class mars.venus.RunGoAction
Method to be called when Stop is selected through menu/toolbar/shortcut.
storeProgramArguments() - Method in class mars.simulator.ProgramArgumentList
 
stringToInt(String) - Static method in class mars.util.Binary
Attempt to validate given string whose characters represent a 32 bit integer.
stringToLong(String) - Static method in class mars.util.Binary
Attempt to validate given string whose characters represent a 64 bit long.
styleIntToStyleString(int) - Static method in class mars.util.EditorFont
Given an int that represents a font style from the Font class, returns the corresponding String.
styles - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
styles - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
styleStringToStyleInt(String) - Static method in class mars.util.EditorFont
Given a string that represents a font style, returns the corresponding final int defined in Font: PLAIN, BOLD, ITALIC.
substituteSpacesForTabs(String) - Static method in class mars.util.EditorFont
 
substituteSpacesForTabs(String, int) - Static method in class mars.util.EditorFont
Handy utility to produce a string that substitutes spaces for all tab characters in the given string.
supportsMultilineTokens() - Method in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Returns if the token marker supports tokens that span multiple lines.
SwingWorker - Class in mars.simulator
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.
SwingWorker(boolean) - Constructor for class mars.simulator.SwingWorker
Start a thread that will call the construct method and then exit.
SwitchSegment(Graphics, char) - Method in class mars.tools.DigitalLabSim.SevenSegmentDisplay
 
Symbol - Class in mars.assembler
Represents a MIPS program identifier to be stored in the symbol table.
Symbol(String, int, boolean) - Constructor for class mars.assembler.Symbol
Basic constructor, creates a symbol object.
SymbolTable - Class in mars.assembler
Creats a table of Symbol objects.
SymbolTable(String) - Constructor for class mars.assembler.SymbolTable
Create a new empty symbol table for given file
symbolTable - Static variable in class mars.Globals
Symbol table for file currently being assembled.
SyntaxDocument - Class in mars.venus.editors.jeditsyntax
A document implementation that can be tokenized by the syntax highlighting system.
SyntaxDocument() - Constructor for class mars.venus.editors.jeditsyntax.SyntaxDocument
 
SyntaxStyle - Class in mars.venus.editors.jeditsyntax
A simple text style class.
SyntaxStyle(Color, boolean, boolean) - Constructor for class mars.venus.editors.jeditsyntax.SyntaxStyle
Creates a new SyntaxStyle.
SyntaxUtilities - Class in mars.venus.editors.jeditsyntax
Class with several utility functions used by jEdit's syntax colorizing subsystem.
Syscall - Interface in mars.mips.instructions.syscalls
Interface for any MIPS syscall system service.
SYSCALL_BUFSIZE - Static variable in class mars.util.SystemIO
Buffer size for syscalls for file I/O
SYSCALL_EXCEPTION - Static variable in class mars.simulator.Exceptions
 
SYSCALL_MAXFILES - Static variable in class mars.util.SystemIO
Maximum number of files that can be open
SyscallClose - Class in mars.mips.instructions.syscalls
Service to close file descriptor given in $a0.
SyscallClose() - Constructor for class mars.mips.instructions.syscalls.SyscallClose
Build an instance of the Close syscall.
SyscallConfirmDialog - Class in mars.mips.instructions.syscalls
Service to display a message to user.
SyscallConfirmDialog() - Constructor for class mars.mips.instructions.syscalls.SyscallConfirmDialog
Build an instance of the syscall with its default service number and name.
SyscallExit - Class in mars.mips.instructions.syscalls
Service to exit the MIPS program.
SyscallExit() - Constructor for class mars.mips.instructions.syscalls.SyscallExit
Build an instance of the Exit syscall.
SyscallExit2 - Class in mars.mips.instructions.syscalls
Service to exit the MIPS program with return value given in $a0.
SyscallExit2() - Constructor for class mars.mips.instructions.syscalls.SyscallExit2
Build an instance of the Exit2 syscall.
SyscallInputDialogDouble - Class in mars.mips.instructions.syscalls
Service to input data.
SyscallInputDialogDouble() - Constructor for class mars.mips.instructions.syscalls.SyscallInputDialogDouble
Build an instance of the syscall with its default service number and name.
SyscallInputDialogFloat - Class in mars.mips.instructions.syscalls
Service to input data.
SyscallInputDialogFloat() - Constructor for class mars.mips.instructions.syscalls.SyscallInputDialogFloat
Build an instance of the syscall with its default service number and name.
SyscallInputDialogInt - Class in mars.mips.instructions.syscalls
Service to input data.
SyscallInputDialogInt() - Constructor for class mars.mips.instructions.syscalls.SyscallInputDialogInt
Build an instance of the syscall with its default service number and name.
SyscallInputDialogString - Class in mars.mips.instructions.syscalls
Service to input data.
SyscallInputDialogString() - Constructor for class mars.mips.instructions.syscalls.SyscallInputDialogString
Build an instance of the syscall with its default service number and name.
SyscallMessageDialog - Class in mars.mips.instructions.syscalls
Service to display a message to user.
SyscallMessageDialog() - Constructor for class mars.mips.instructions.syscalls.SyscallMessageDialog
Build an instance of the syscall with its default service number and name.
SyscallMessageDialogDouble - Class in mars.mips.instructions.syscalls
Service to display a message to user.
SyscallMessageDialogDouble() - Constructor for class mars.mips.instructions.syscalls.SyscallMessageDialogDouble
Build an instance of the syscall with its default service number and name.
SyscallMessageDialogFloat - Class in mars.mips.instructions.syscalls
Service to display a message to user.
SyscallMessageDialogFloat() - Constructor for class mars.mips.instructions.syscalls.SyscallMessageDialogFloat
Build an instance of the syscall with its default service number and name.
SyscallMessageDialogInt - Class in mars.mips.instructions.syscalls
Service to display a message to user.
SyscallMessageDialogInt() - Constructor for class mars.mips.instructions.syscalls.SyscallMessageDialogInt
Build an instance of the syscall with its default service number and name.
SyscallMessageDialogString - Class in mars.mips.instructions.syscalls
Service to display a message to user.
SyscallMessageDialogString() - Constructor for class mars.mips.instructions.syscalls.SyscallMessageDialogString
Build an instance of the syscall with its default service number and name.
SyscallMidiOut - Class in mars.mips.instructions.syscalls
Service to output simulated MIDI tone to sound card.
SyscallMidiOut() - Constructor for class mars.mips.instructions.syscalls.SyscallMidiOut
Build an instance of the MIDI (simulated) out syscall.
SyscallMidiOutSync - Class in mars.mips.instructions.syscalls
Service to output simulated MIDI tone to sound card.
SyscallMidiOutSync() - Constructor for class mars.mips.instructions.syscalls.SyscallMidiOutSync
Build an instance of the MIDI (simulated) out syscall.
SyscallNumberOverride - Class in mars.mips.instructions.syscalls
Represents User override of default syscall number assignment.
SyscallNumberOverride(String, String) - Constructor for class mars.mips.instructions.syscalls.SyscallNumberOverride
Constructor is called with two strings: service name and desired number.
SyscallOpen - Class in mars.mips.instructions.syscalls
Service to open file name specified by $a0.
SyscallOpen() - Constructor for class mars.mips.instructions.syscalls.SyscallOpen
Build an instance of the Open file syscall.
SyscallPrintChar - Class in mars.mips.instructions.syscalls
Service to display character stored in $a0 on the console.
SyscallPrintChar() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintChar
Build an instance of the Print Char syscall.
SyscallPrintDouble - Class in mars.mips.instructions.syscalls
Service to display double whose bits are stored in $f12 & $f13 onto the console.
SyscallPrintDouble() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintDouble
Build an instance of the Print Double syscall.
SyscallPrintFloat - Class in mars.mips.instructions.syscalls
Service to display on the console float whose bits are stored in $f12
SyscallPrintFloat() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintFloat
Build an instance of the Print Float syscall.
SyscallPrintInt - Class in mars.mips.instructions.syscalls
Service to display integer stored in $a0 on the console.
SyscallPrintInt() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintInt
Build an instance of the Print Integer syscall.
SyscallPrintIntBinary - Class in mars.mips.instructions.syscalls
Service to display integer stored in $a0 on the console.
SyscallPrintIntBinary() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintIntBinary
Build an instance of the Print Integer syscall.
SyscallPrintIntHex - Class in mars.mips.instructions.syscalls
Service to display integer stored in $a0 on the console.
SyscallPrintIntHex() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintIntHex
Build an instance of the Print Integer syscall.
SyscallPrintIntUnsigned - Class in mars.mips.instructions.syscalls
Service to display integer stored in $a0 on the console as unsigned decimal.
SyscallPrintIntUnsigned() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintIntUnsigned
Build an instance of the Print Integer Unsigned syscall.
SyscallPrintString - Class in mars.mips.instructions.syscalls
Service to display string stored starting at address in $a0 onto the console.
SyscallPrintString() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintString
Build an instance of the Print String syscall.
SyscallRandDouble - Class in mars.mips.instructions.syscalls
Service to return a random floating point value.
SyscallRandDouble() - Constructor for class mars.mips.instructions.syscalls.SyscallRandDouble
Build an instance of the syscall with its default service number and name.
SyscallRandFloat - Class in mars.mips.instructions.syscalls
Service to return a random floating point value.
SyscallRandFloat() - Constructor for class mars.mips.instructions.syscalls.SyscallRandFloat
Build an instance of the syscall with its default service number and name.
SyscallRandInt - Class in mars.mips.instructions.syscalls
Service to return a random integer.
SyscallRandInt() - Constructor for class mars.mips.instructions.syscalls.SyscallRandInt
Build an instance of the syscall with its default service number and name.
SyscallRandIntRange - Class in mars.mips.instructions.syscalls
Service to return a random integer in a specified range.
SyscallRandIntRange() - Constructor for class mars.mips.instructions.syscalls.SyscallRandIntRange
Build an instance of the syscall with its default service number and name.
SyscallRandSeed - Class in mars.mips.instructions.syscalls
Service to set seed for the underlying Java pseudorandom number generator.
SyscallRandSeed() - Constructor for class mars.mips.instructions.syscalls.SyscallRandSeed
Build an instance of the syscall with its default service number and name.
SyscallRead - Class in mars.mips.instructions.syscalls
Service to read from file descriptor given in $a0.
SyscallRead() - Constructor for class mars.mips.instructions.syscalls.SyscallRead
Build an instance of the Read file syscall.
SyscallReadChar - Class in mars.mips.instructions.syscalls
Service to read a character from input console into $a0.
SyscallReadChar() - Constructor for class mars.mips.instructions.syscalls.SyscallReadChar
Build an instance of the Read Char syscall.
SyscallReadDouble - Class in mars.mips.instructions.syscalls
Service to read the bits of console input double into $f0 and $f1.
SyscallReadDouble() - Constructor for class mars.mips.instructions.syscalls.SyscallReadDouble
Build an instance of the Read Double syscall.
SyscallReadFloat - Class in mars.mips.instructions.syscalls
Service to read the bits of input float into $f0
SyscallReadFloat() - Constructor for class mars.mips.instructions.syscalls.SyscallReadFloat
Build an instance of the Read Float syscall.
SyscallReadInt - Class in mars.mips.instructions.syscalls
Service to read an integer from input console into $v0.
SyscallReadInt() - Constructor for class mars.mips.instructions.syscalls.SyscallReadInt
Build an instance of the Read Integer syscall.
SyscallReadString - Class in mars.mips.instructions.syscalls
Service to read console input string into buffer starting at address in $a0.
SyscallReadString() - Constructor for class mars.mips.instructions.syscalls.SyscallReadString
Build an instance of the Read String syscall.
SyscallSbrk - Class in mars.mips.instructions.syscalls
Service to allocate amount of heap memory specified in $a0, putting address into $v0.
SyscallSbrk() - Constructor for class mars.mips.instructions.syscalls.SyscallSbrk
Build an instance of the Sbrk syscall.
SyscallSleep - Class in mars.mips.instructions.syscalls
Service to cause the MARS Java thread to sleep for (at least) the specified number of milliseconds.
SyscallSleep() - Constructor for class mars.mips.instructions.syscalls.SyscallSleep
Build an instance of the syscall with its default service number and name.
SyscallTime - Class in mars.mips.instructions.syscalls
Service to read a character from input console into $a0.
SyscallTime() - Constructor for class mars.mips.instructions.syscalls.SyscallTime
Build an instance of the Read Char syscall.
SyscallWrite - Class in mars.mips.instructions.syscalls
Service to write to file descriptor given in $a0.
SyscallWrite() - Constructor for class mars.mips.instructions.syscalls.SyscallWrite
Build an instance of the Write file syscall.
SystemIO - Class in mars.util
Provides standard i/o services needed to simulate the MIPS syscall routines.
SystemIO() - Constructor for class mars.util.SystemIO
 

T

tableChanged(TableModelEvent) - Method in class mars.venus.RunClearBreakpointsAction
Required TableModelListener method.
tabSize - Variable in class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
tabSize - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
tabSizeChars - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
tellEditingComponentToRequestFocusInWindow() - Method in class mars.venus.EditPane
Delegates to text area's requestFocusInWindow method.
TERMINATED - Static variable in class mars.venus.FileStatus
execution terminated
TEXT - Static variable in class mars.assembler.Directives
 
TEXT_COLUMN_ORDER - Static variable in class mars.Settings
Order of text segment table columns
TEXT_FOUND - Static variable in interface mars.venus.editors.MARSTextEditingArea
 
TEXT_NOT_FOUND - Static variable in interface mars.venus.editors.MARSTextEditingArea
 
TEXT_REPLACED_FOUND_NEXT - Static variable in interface mars.venus.editors.MARSTextEditingArea
 
TEXT_REPLACED_NOT_FOUND_NEXT - Static variable in interface mars.venus.editors.MARSTextEditingArea
 
TEXT_SYMBOL - Static variable in class mars.assembler.Symbol
 
textArea - Variable in class mars.venus.editors.jeditsyntax.TextAreaPainter
 
TextAreaDefaults - Class in mars.venus.editors.jeditsyntax
Encapsulates default settings for a text area.
TextAreaDefaults() - Constructor for class mars.venus.editors.jeditsyntax.TextAreaDefaults
 
TextAreaPainter - Class in mars.venus.editors.jeditsyntax
The text area repaint manager.
TextAreaPainter(JEditTextArea, TextAreaDefaults) - Constructor for class mars.venus.editors.jeditsyntax.TextAreaPainter
Creates a new repaint manager.
TextAreaPainter.Highlight - Interface in mars.venus.editors.jeditsyntax
Highlight interface.
textBaseAddress - Static variable in class mars.mips.hardware.Memory
base address for (user) text segment: 0x00400000
textLimitAddress - Static variable in class mars.mips.hardware.Memory
 
TEXTSEGMENT_DELAYSLOT_HIGHLIGHT_BACKGROUND - Static variable in class mars.Settings
RGB color for text segment delay slot highlighted background
TEXTSEGMENT_DELAYSLOT_HIGHLIGHT_FONT - Static variable in class mars.Settings
Font for text segment delay slot highlighted background
TEXTSEGMENT_DELAYSLOT_HIGHLIGHT_FOREGROUND - Static variable in class mars.Settings
RGB color for text segment delay slot highlighted foreground
TEXTSEGMENT_HIGHLIGHT_BACKGROUND - Static variable in class mars.Settings
RGB color for text segment highlighted background
TEXTSEGMENT_HIGHLIGHT_FONT - Static variable in class mars.Settings
Font for table odd row foreground (text, data, register displays)
TEXTSEGMENT_HIGHLIGHT_FOREGROUND - Static variable in class mars.Settings
RGB color for text segment highlighted foreground
TextSegmentWindow - Class in mars.venus
Creates the Text Segment window in the Execute tab of the UI
TextSegmentWindow() - Constructor for class mars.venus.TextSegmentWindow
Constructor, sets up a new JInternalFrame.
TextUtilities - Class in mars.venus.editors.jeditsyntax
Class with several utility functions used by the text area component.
TextUtilities() - Constructor for class mars.venus.editors.jeditsyntax.TextUtilities
 
theWindow - Variable in class mars.tools.AbstractMarsToolAndApplication
 
thisMarsApp - Variable in class mars.tools.AbstractMarsToolAndApplication
 
time - Variable in class mars.venus.HardcopyWriter
 
TOGGLE_RECT - Static variable in class mars.venus.editors.jeditsyntax.InputHandler
 
toggleBreakpoints() - Method in class mars.venus.TextSegmentWindow
Enable or disable all items in the Breakpoints column.
Token - Class in mars.assembler
Represents one token in the input MIPS program.
Token(TokenTypes, String, MIPSprogram, int, int) - Constructor for class mars.assembler.Token
Constructor for Token class.
Token - Class in mars.venus.editors.jeditsyntax.tokenmarker
A linked list of tokens.
Token(int, byte) - Constructor for class mars.venus.editors.jeditsyntax.tokenmarker.Token
Creates a new token.
token - Variable in class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker.LineInfo
The id of the last token of the line.
TOKEN_DELIMITERS - Static variable in class mars.assembler.TokenTypes
 
tokenIsMacroParameter(String, boolean) - Static method in class mars.assembler.Macro
returns whether tokenValue is macro parameter or not
tokenize(MIPSprogram) - Method in class mars.assembler.Tokenizer
Will tokenize a complete MIPS program.
tokenize() - Method in class mars.MIPSprogram
Tokenizes the MIPS source program.
tokenizeExampleInstruction(String) - Method in class mars.assembler.Tokenizer
Used only to create a token list for the example provided with each instruction specification.
tokenizeLine(int, String) - Method in class mars.assembler.Tokenizer
Will tokenize one line of source code.
tokenizeLine(int, String, ErrorList) - Method in class mars.assembler.Tokenizer
Will tokenize one line of source code.
tokenizeLine(int, String, ErrorList, boolean) - Method in class mars.assembler.Tokenizer
Will tokenize one line of source code.
tokenizeLine(MIPSprogram, int, String, boolean) - Method in class mars.assembler.Tokenizer
Will tokenize one line of source code.
tokenizeLines() - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
Reparses the document, by passing all lines to the token marker.
tokenizeLines(int, int) - Method in class mars.venus.editors.jeditsyntax.SyntaxDocument
Reparses the document, by passing the specified lines to the token marker.
Tokenizer - Class in mars.assembler
A tokenizer is capable of tokenizing a complete MIPS program, or a given line from a MIPS program.
Tokenizer() - Constructor for class mars.assembler.Tokenizer
Simple constructor.
Tokenizer(MIPSprogram) - Constructor for class mars.assembler.Tokenizer
Constructor for use with existing MIPSprogram.
TokenList - Class in mars.assembler
Represents the list of tokens in a single line of MIPS code.
TokenList() - Constructor for class mars.assembler.TokenList
Constructor for objects of class TokenList
tokenList - Variable in class mars.mips.instructions.Instruction
List of tokens generated by tokenizing example usage (see exampleFormat).
tokenMarker - Variable in class mars.venus.editors.jeditsyntax.SyntaxDocument
 
TokenMarker - Class in mars.venus.editors.jeditsyntax.tokenmarker
A token marker that splits lines of text into tokens.
TokenMarker() - Constructor for class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker
Creates a new TokenMarker.
TokenMarker.LineInfo - Class in mars.venus.editors.jeditsyntax.tokenmarker
Inner class for storing information about tokenized lines.
TokenMarker.LineInfo() - Constructor for class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker.LineInfo
Creates a new LineInfo object with token = Token.NULL and obj = null.
TokenMarker.LineInfo(byte, Object) - Constructor for class mars.venus.editors.jeditsyntax.tokenmarker.TokenMarker.LineInfo
Creates a new LineInfo object with the specified parameters.
TokenTypes - Class in mars.assembler
Constants to identify the types of tokens found in MIPS programs.
ToolAction - Class in mars.venus
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.
ToolAction(Class, String) - Constructor for class mars.venus.ToolAction
Simple constructor.
ToolLoader - Class in mars.venus
This class provides functionality to bring external Mars tools into the Mars system by adding them to its Tools menu.
ToolLoader() - Constructor for class mars.venus.ToolLoader
 
toString() - Method in class mars.assembler.Directives
Produces String-ified version of Directive object
toString() - Method in class mars.assembler.Token
Get a String representing the token.
toString() - Method in class mars.assembler.TokenList
Get a String representing the token list.
toString() - Method in class mars.assembler.TokenTypes
Produces String equivalent of this token type, which is its name.
toString() - Method in class mars.mips.dump.AbstractDumpFormat
String representing this object.
toString() - Method in interface mars.mips.dump.DumpFormat
Descriptive name for the format.
toString() - Method in class mars.mips.hardware.MemoryAccessNotice
String representation indicates access type, address and length in bytes
toString() - Method in class mars.mips.hardware.RegisterAccessNotice
String representation indicates access type and which register
toString() - Method in class mars.ProgramStatement
Crude attempt at building String representation of this complex structure.
toString() - Method in class mars.simulator.SimulatorNotice
String representation indicates access type, address and length in bytes
toString() - Method in class mars.venus.editors.jeditsyntax.SyntaxStyle
Returns a string representation of this object.
toString() - Method in class mars.venus.editors.jeditsyntax.tokenmarker.Token
Returns a string representation of this token.
toTypeString() - Method in class mars.assembler.TokenList
Get a String representing the sequence of token types for this list.
translate() - Method in interface mars.assembler.TranslationCode
This is a callback method defined in anonymous class specified as argument to ExtendedInstruction constructor.
TranslationCode - Interface in mars.assembler
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.
TRANSMITTER_CONTROL - Static variable in class mars.tools.KeyboardAndDisplaySimulator
 
TRANSMITTER_DATA - Static variable in class mars.tools.KeyboardAndDisplaySimulator
 
TRAP_EXCEPTION - Static variable in class mars.simulator.Exceptions
 
twoIntsToLong(int, int) - Static method in class mars.util.Binary
Returns long (64 bit integer) combining the bit values of two given 32 bit integer values.

U

undo() - Method in class mars.venus.editors.generic.GenericTextArea
Undo previous edit
undo() - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Undo previous edit
undo() - Method in interface mars.venus.editors.MARSTextEditingArea
 
undo() - Method in class mars.venus.EditPane
Undo previous edit
unhighlightAllSteps() - Method in class mars.venus.TextSegmentWindow
If any steps are highlighted, this erases the highlighting.
UNLIMITED_SPEED - Static variable in class mars.venus.RunSpeedPanel
Constant that represents unlimited run speed.
unredoing - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
unsignedIntToIntString(int) - Static method in class mars.util.Binary
Produce String equivalent of integer value interpreting it as an unsigned integer.
update(Observable, Object) - Method in class mars.tools.AbstractMarsToolAndApplication
Called when receiving notice of access to MIPS memory or registers.
update(Observable, Object) - Method in class mars.tools.DigitalLabSim
 
update(Observable, Object) - Method in class mars.tools.FloatRepresentation
Override inherited update() to update display when "attached" register is modified either by MIPS program or by user editing it on the MARS user interface.
update(Observable, Object) - Method in class mars.tools.MarsBot
 
update(Observable, Object) - Method in class mars.tools.ScavengerHunt
 
update(Observable, Object) - Method in class mars.venus.Coprocessor0Window
Required by Observer interface.
update(Observable, Object) - Method in class mars.venus.Coprocessor1Window
Required by Observer interface.
update(Observable, Object) - Method in class mars.venus.DataSegmentWindow
Required by Observer interface.
update(Observable, Object) - Method in class mars.venus.EditPane
Update, if source code is visible, when Font setting changes.
update(Observable, Object) - Method in class mars.venus.RegistersWindow
Required by Observer interface.
update(Observable, Object) - Method in class mars.venus.TextSegmentWindow
Required by Observer interface.
updateBaseAddressComboBox() - Method in class mars.venus.DataSegmentWindow
 
updateBasicStatements() - Method in class mars.venus.TextSegmentWindow
Redisplay the basic statements.
updateBracketHighlight(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
 
updateCell(int, int) - Method in class mars.venus.DataSegmentWindow
Update data display to show this value (I'm not sure it is being called).
updateCodeAddresses() - Method in class mars.venus.TextSegmentWindow
Redisplay the addresses.
updateDataAddresses() - Method in class mars.venus.DataSegmentWindow
Redisplay the addresses.
updateDisplay() - Method in class mars.tools.AbstractMarsToolAndApplication
Override this method to implement updating of GUI after each MIPS instruction is executed, while running in "timed" mode (user specifies execution speed on the slider control).
updateDisplay() - Method in class mars.tools.BitmapDisplay
Updates display immediately after each update (AccessNotice) is processed, after display configuration changes as needed, and after each execution step when Mars is running in timed mode.
updateDisplay() - Method in class mars.tools.CacheSimulator
Updates display immediately after each update (AccessNotice) is processed, after cache configuration changes as needed, and after each execution step when Mars is running in timed mode.
updateDisplay() - Method in class mars.tools.InstructionCounter
 
updateDisplay() - Method in class mars.tools.InstructionStatistics
updates the text fields and progress bars according to the current counter values.
updateDisplay() - Method in class mars.tools.MemoryReferenceVisualization
Updates display immediately after each update (AccessNotice) is processed, after display configuration changes as needed, and after each execution step when Mars is running in timed mode.
updateDoubleRegisterValue(int, int) - Method in class mars.venus.Coprocessor1Window
This method handles the updating of the GUI.
updateFloatRegisterValue(int, int, int) - Method in class mars.venus.Coprocessor1Window
This method handles the updating of the GUI.
updateHexaKeyboard(char) - Method in class mars.tools.DigitalLabSim
 
updateLabelAddresses() - Method in class mars.venus.LabelsWindow
Method to update display of label addresses.
updateModelForMemoryRange(int) - Method in class mars.venus.DataSegmentWindow
Update table model with contents of new memory "chunk".
updateOneSecondCounter(char) - Method in class mars.tools.DigitalLabSim
 
updatePrediction(boolean) - Method in class mars.tools.BHTEntry
Updates the entry's history and prediction.
updatePredictionAtIdx(int, boolean) - Method in class mars.tools.BHTableModel
Updates the BHT entry with the outcome of the branch instruction.
updateRedoState() - Method in class mars.venus.EditPane
Update state of Edit menu's Redo menu item.
updateRegister(String, int) - Static method in class mars.mips.hardware.Coprocessor0
Sets the value of the register given to the value given.
updateRegister(int, int) - Static method in class mars.mips.hardware.Coprocessor0
This method updates the register value who's number is num.
updateRegister(int, int) - Static method in class mars.mips.hardware.Coprocessor1
This method updates the FPU register value who's number is num.
updateRegister(int, int) - Static method in class mars.mips.hardware.RegisterFile
This method updates the register value who's number is num.
updateRegister(String, int) - Static method in class mars.mips.hardware.RegisterFile
Sets the value of the register given to the value given.
updateRegisters() - Method in class mars.venus.Coprocessor0Window
Update register display using current display base (10 or 16)
updateRegisters(int) - Method in class mars.venus.Coprocessor0Window
Update register display using specified display base
updateRegisters() - Method in class mars.venus.Coprocessor1Window
Redisplay registers using current display number base (10 or 16)
updateRegisters(int) - Method in class mars.venus.Coprocessor1Window
Redisplay registers using specified display number base (10 or 16)
updateRegisters() - Method in class mars.venus.RegistersWindow
update register display using current number base (10 or 16)
updateRegisters(int) - Method in class mars.venus.RegistersWindow
update register display using specified number base (10 or 16)
updateRegisterValue(int, int, int) - Method in class mars.venus.Coprocessor0Window
This method handles the updating of the GUI.
updateRegisterValue(int, int, int) - Method in class mars.venus.RegistersWindow
This method handles the updating of the GUI.
updateScrollBars() - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Updates the state of the scroll bars.
updateSevenSegment(int, char) - Method in class mars.tools.DigitalLabSim
 
updateStaticFileStatus() - Method in class mars.venus.EditPane
Delegates to corresponding FileStatus method
updateStaticFileStatus() - Method in class mars.venus.FileStatus
Update static FileStatus fields with values from this FileStatus object To support legacy code that depends on the static.
updateSyntaxStyles() - Method in class mars.venus.editors.generic.GenericTextArea
Does nothing, but required by the interface.
updateSyntaxStyles() - Method in class mars.venus.editors.jeditsyntax.JEditBasedTextArea
Update the syntax style table, which is obtained from SyntaxUtilities.
updateSyntaxStyles() - Method in interface mars.venus.editors.MARSTextEditingArea
 
updateUndoState() - Method in class mars.venus.EditPane
Update state of Edit menu's Undo menu item.
updateValues() - Method in class mars.venus.DataSegmentWindow
Update data display to show all values
userHighAddress - Static variable in class mars.mips.hardware.Memory
highest address accessible in user (not kernel) mode.
userInputAlert - Static variable in class mars.Globals
String to GUI's RunI/O text area when echoing user input from pop-up dialog.
usingCompactMemoryConfiguration() - Method in class mars.mips.hardware.Memory
Determine whether the current memory configuration has a maximum address that can be stored in 16 bits.

V

VADDR - Static variable in class mars.mips.hardware.Coprocessor0
Coprocessor register names
VenusUI - Class in mars.venus
Top level container for Venus GUI.
VenusUI(String) - Constructor for class mars.venus.VenusUI
Constructor for the Class.
version - Static variable in class mars.Globals
The current MARS version number.
vertical - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 
visibleLines - Variable in class mars.venus.editors.jeditsyntax.JEditTextArea
 

W

WARNING - Static variable in class mars.ErrorMessage
Constant to indicate this message is warning not error
WARNING_MESSAGE_PREFIX - Static variable in class mars.ErrorList
 
warningCount() - Method in class mars.ErrorList
Count of number of warning messages in list.
WARNINGS_ARE_ERRORS - Static variable in class mars.Settings
Flag to determine whether or not assembler warnings are considered errors.
warningsOccurred() - Method in class mars.ErrorList
Determine whether warning has occured or not.
width - Variable in class mars.venus.HardcopyWriter
 
willBranch(ProgramStatement) - Static method in class mars.tools.BHTSimulator
Checks if the branch instruction delivered as parameter will branch or not.
WORD - Static variable in class mars.assembler.Directives
 
WORD_LENGTH_BYTES - Static variable in class mars.mips.hardware.Memory
MIPS word length in bytes.
WORD_SIZE - Static variable in class mars.assembler.DataTypes
Number of bytes occupied by MIPS word is 4.
wordAligned(int) - Static method in class mars.mips.hardware.Memory
Utility to determine if given address is word-aligned.
WRITE - Static variable in class mars.mips.hardware.AccessNotice
Indicates the purpose of access was to write.
write(char[], int, int) - Method in class mars.venus.HardcopyWriter
This is the write( ) method of the stream.
writeToFile(int, byte[], int) - Static method in class mars.util.SystemIO
Write bytes to file.

X

x0 - Variable in class mars.venus.HardcopyWriter
 
xToOffset(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Converts an x co-ordinate to an offset within a line.
xyToOffset(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Converts a point to an offset, from the start of the text.

Y

y0 - Variable in class mars.venus.HardcopyWriter
 
yToLine(int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Converts a y co-ordinate to a line index.

_

_offsetToX(int, int) - Method in class mars.venus.editors.jeditsyntax.JEditTextArea
Converts an offset in a line into an x co-ordinate.

A B C D E F G H I J K L M N O P Q R S T U V W X Y _