Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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(VenusUI, String, boolean, Font) - Constructor for class mars.venus.AbstractFontSettingDialog
-
Create a new font chooser.
- AbstractMarsTool - Class in mars.tools
-
An abstract class that provides generic components to facilitate implementation of a MarsTool and/or stand-alone Mars-based application.
- AbstractMarsTool(String) - Constructor for class mars.tools.AbstractMarsTool
-
Simple constructor
- 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.
- accepts(OperandType) - Method in enum class mars.assembler.OperandType
-
Determine whether this type "accepts" another type; that is, whether an operand with the given type can be interpreted as having this type.
- acceptsLoosely(OperandType) - Method in enum class mars.assembler.OperandType
-
Determine whether this type "accepts" another type; that is, whether an operand with the given type can be interpreted as having this type.
- acceptsOperands(List<OperandType>) - Method in class mars.mips.instructions.Instruction
- acceptsOperandsLoosely(List<OperandType>) - Method in class mars.mips.instructions.Instruction
- action() - Method in class mars.tools.AbstractMarsTool
-
This is invoked when the user selects this tool from the Tools menu.
- action() - Method in interface mars.tools.MarsTool
-
Performs tool functions.
- ACTION_ICONS_PATH - Static variable in class mars.Application
-
Path to the resources folder that contains action icons.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.edit.EditCommentAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.edit.EditCopyAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.edit.EditCutAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.edit.EditFindReplaceAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.edit.EditPasteAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.edit.EditRedoAction
-
Adapted from TextComponentDemo.java in the Java Tutorial "Text Component Features".
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.edit.EditSelectAllAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.edit.EditUndoAction
-
Adapted from TextComponentDemo.java in the Java Tutorial "Text Component Features".
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileCloseAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileCloseAllAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileDumpMemoryAction
-
Save the memory segment in a supported format.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileExitAction
-
Exit MARS Red, unless one or more files have unsaved edits and the user cancels.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileNewAction
-
Code to create a new document.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileOpenAction
-
Launch a file chooser for the user to select one or more files, attempting to open them in new editor tabs afterward.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FilePrintAction
-
Uses the
HardcopyWriter
class developed by David Flanagan for the book "Java Examples in a Nutshell". - actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileSaveAction
-
Saves the file.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileSaveAllAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.file.FileSaveAsAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.help.HelpAboutAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.help.HelpHelpAction
-
Displays tabs with categories of information.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.help.HelpUpdateAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunAssembleAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunAssembleFolderAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunClearBreakpointsAction
-
When this option is selected, tell text segment window to clear breakpoints in its table model.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunPauseAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunResetAction
-
Reset GUI components and MIPS resources.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunStartAction
-
Run the program.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunStepBackwardAction
-
Undo the previous simulation step.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunStepForwardAction
-
Perform next simulated instruction step.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunStopAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.run.RunToggleBreakpointsAction
-
When this option is selected, tell text segment window to toggle breakpoints in its table model.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsAddressDisplayBaseAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsAssembleOnOpenAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsEditorAction
-
When this action is triggered, launch a dialog to view and modify editor settings.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsExceptionHandlerAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsHighlightingAction
-
When this action is triggered, launch a dialog to view and modify editor settings.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsLabelAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsPreferencesAction
-
When this action is triggered, launch the dialog.
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsProgramArgumentsAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.settings.SettingsValueDisplayBaseAction
- actionPerformed(ActionEvent) - Method in class mars.venus.actions.ToolAction
-
Opens this action's corresponding tool by invoking its
MarsTool.action()
method. - actionPerformed(ActionEvent) - Method in class mars.venus.actions.VenusAction
-
Should be overridden by subclasses to carry out the action they represent.
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.BackspaceAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.BackspaceWordAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.ClipboardCopyAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.ClipboardCutAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.ClipboardPasteAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.DeleteAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.DeleteWordAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.DocumentEndAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.DocumentHomeAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.EndAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.HomeAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.IndentLeft
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.IndentRight
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.InsertCharAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.InsertNewlineAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.InsertTabAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.MoveLineDown
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.MoveLineUp
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.NewLineAfterAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.NewLineBeforeAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.NextCharAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.NextLineAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.NextPageAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.NextWordAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.PrevCharAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.PrevLineAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.PrevPageAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.PrevWordAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.RepeatAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.SelectAllAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.ToggleOverwriteAction
- actionPerformed(ActionEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler.ToggleRectangularAction
- actionPerformed(ActionEvent) - Method in class mars.venus.RepeatButton
-
Handle action events.
- actionPerformed(ActionListener, String) - Method in interface mars.venus.editor.jeditsyntax.InputHandler.MacroRecorder
- add(String, byte) - Method in class mars.venus.editor.jeditsyntax.KeywordMap
-
Adds a key-value mapping.
- addBasicInstruction(BasicInstruction) - Method in class mars.mips.instructions.InstructionSet
- addCaretListener(CaretListener) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Adds a caret change listener to this text area.
- addChangeListener(ChangeListener) - Method in class mars.venus.FontChooserPane
- addCustomHighlight(TextAreaPainter.Highlight) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Adds a custom highlight painter.
- addDefaultKeyBindings() - Method in class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Set up the default key bindings.
- addDefaultKeyBindings() - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Adds the default key bindings to this input handler.
- addEdit(UndoableEdit) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.CaretUndo
- addExtendedInstruction(ExtendedInstruction) - Method in class mars.mips.instructions.InstructionSet
- addGUIListener(SimulatorListener) - Method in class mars.simulator.Simulator
-
Add a
SimulatorListener
whose callbacks will be executed on the GUI thread. - addInstruction(BasicInstruction) - Method in class mars.mips.instructions.InstructionDecoder
- ADDITIVE_INVERSE - Static variable in interface mars.assembler.extended.OperandModifier
- addKeyBinding(String, ActionListener) - Method in class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Adds a key binding to this input handler.
- addKeyBinding(String, ActionListener) - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Adds a key binding to this input handler.
- addLabel(String) - Method in class mars.assembler.token.Macro
-
Register a label which has been defined within the macro body.
- addLayoutComponent(String, Component) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.ScrollLayout
- addListener(Memory.Listener) - Method in class mars.mips.hardware.Memory
-
Register the given listener to all memory addresses (
0x00000000
through0xFFFFFFFF
). - addListener(Memory.Listener, int) - Method in class mars.mips.hardware.Memory
-
Register the given listener to a single address.
- addListener(Memory.Listener, int, int) - Method in class mars.mips.hardware.Memory
-
Register the given listener to a range of memory addresses.
- addListener(Register.Listener) - Method in class mars.mips.hardware.Register
- addListener(Settings.Listener) - Method in class mars.settings.Settings
- addParsedStatement(StatementSyntax) - Method in class mars.assembler.Assembler
- addProgramArgumentsPanel() - Method in class mars.venus.execute.TextSegmentWindow
-
Allow the user to enter program arguments in a panel at the bottom of the text segment window.
- addRecentFile(File) - Method in class mars.venus.VenusUI
-
Add a file to the "Recent Files" menu, or bring it to the top if it is already present.
- ADDRESS_COLUMN - Static variable in class mars.venus.execute.DataSegmentWindow
- ADDRESS_FETCH - Static variable in class mars.simulator.ExceptionCause
- ADDRESS_STORE - Static variable in class mars.simulator.ExceptionCause
- 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
- addresses() - Method in record class mars.mips.hardware.MemoryConfiguration
-
Returns the value of the
addresses
record component. - addressNames() - Method in record class mars.mips.hardware.MemoryConfiguration
-
Returns the value of the
addressNames
record component. - addRow(String, String, JComponent) - Method in class mars.venus.preferences.PreferencesTab
- addRow(JComponent) - Method in class mars.venus.preferences.PreferencesTab
- addThreadListener(SimulatorListener) - Method in class mars.simulator.Simulator
-
Add a
SimulatorListener
whose callbacks will be executed on the simulator thread. - addToken(int, byte) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Adds a token to the token list.
- addUndoableEdit(UndoableEdit) - Method in class mars.venus.editor.jeditsyntax.SyntaxDocument
-
Adds an undoable edit to this document's undo list.
- AdjustHandler() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.AdjustHandler
- adjustmentValueChanged(AdjustmentEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.AdjustHandler
- ALIGN - Enum constant in enum class mars.assembler.Directive
- alignSegmentAddress(int) - Method in class mars.assembler.Assembler
- alignToNext(int, int) - Static method in class mars.mips.hardware.Memory
-
Align the given address to the next alignment boundary.
- alignToPrevious(int, int) - Static method in class mars.mips.hardware.Memory
-
Align the given address to the previous alignment boundary.
- ALL_DIRECTIVES - Static variable in enum class mars.assembler.Directive
- ALL_DIRECTIVES_TRIE - Static variable in enum class mars.assembler.Directive
- allocateHeapSpace(int) - Method in class mars.mips.hardware.Memory
-
Returns the next available word-aligned heap address.
- allowsContinuation() - Method in enum class mars.assembler.Directive
-
Determine whether this directive accepts a list of values which can continue onto the next line(s).
- ALU - Enum constant in enum class mars.tools.MipsXray.DatapathUnit
- ALU_CONTROL - Enum constant in enum class mars.tools.MipsXray.DatapathUnit
- AppearancePreferencesTab - Class in mars.venus.preferences
- AppearancePreferencesTab(Settings) - Constructor for class mars.venus.preferences.AppearancePreferencesTab
- AppearancePreferencesTab.Theme - Enum Class in mars.venus.preferences
- APPEND_FLAG - Static variable in class mars.simulator.SystemIO
-
Start writing data at the end of the file.
- Application - Class in mars
-
Collection of globally-available data structures.
- Application() - Constructor for class mars.Application
- apply() - Method in class mars.venus.preferences.components.CheckBoxPreference
- apply(Font) - Method in class mars.venus.AbstractFontSettingDialog
-
Apply the given font.
- apply(Operand, int) - Method in interface mars.assembler.extended.OperandModifier
- APPLY_TOOL_TIP_TEXT - Static variable in class mars.venus.actions.settings.SettingsHighlightingAction
- applyChanges() - Method in class mars.venus.preferences.AppearancePreferencesTab
- applyChanges() - Method in class mars.venus.preferences.AssemblerPreferencesTab
- applyChanges() - Method in class mars.venus.preferences.EditorPreferencesTab
- applyChanges() - Method in class mars.venus.preferences.ExceptionPreferencesTab
- applyChanges() - Method in class mars.venus.preferences.GeneralPreferencesTab
- applyChanges() - Method in class mars.venus.preferences.MemoryPreferencesTab
- applyChanges() - Method in class mars.venus.preferences.PreferencesDialog
- applyChanges() - Method in class mars.venus.preferences.PreferencesTab
- applyChanges() - Method in class mars.venus.preferences.SimulatorPreferencesTab
- applyModifiers(Operand, int) - Method in class mars.assembler.extended.OperandSubstitution
- ARGUMENT_0 - Static variable in class mars.mips.hardware.Processor
- ARGUMENT_1 - Static variable in class mars.mips.hardware.Processor
- ARGUMENT_2 - Static variable in class mars.mips.hardware.Processor
- ARGUMENT_3 - Static variable in class mars.mips.hardware.Processor
- ARITHMETIC_HIGH_ORDER - Static variable in interface mars.assembler.extended.OperandModifier
- ARITHMETIC_LOW_ORDER - Static variable in interface mars.assembler.extended.OperandModifier
- ARITHMETIC_OVERFLOW - Static variable in class mars.simulator.ExceptionCause
- ASCII - Enum constant in enum class mars.assembler.Directive
- ASCII - Static variable in class mars.venus.NumberDisplayBaseChooser
- 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 - Enum constant in enum class mars.assembler.Directive
- assembleFilenames(List<String>) - Method in class mars.assembler.Assembler
- assembleFiles(List<SourceFile>) - Method in class mars.assembler.Assembler
-
Parse and generate machine code for the given MIPS program.
- assembleOnOpenEnabled - Variable in class mars.settings.Settings
-
Flag to control whether a file is immediately and automatically assembled upon opening.
- assembler - Static variable in class mars.Application
- Assembler - Class in mars.assembler
-
An Assembler is capable of assembling a MIPS program.
- Assembler() - Constructor for class mars.assembler.Assembler
- ASSEMBLER_TEMPORARY - Static variable in class mars.mips.hardware.Processor
- Assembler.Segment - Class in mars.assembler
-
Private class to simultaneously track addresses in both user and kernel address spaces.
- AssemblerFlag - Enum Class in mars.assembler
- AssemblerLog - Class in mars.assembler.log
-
A log for keeping track of errors occurring during the assembly process, whether during tokenizing, parsing, or assembling.
- AssemblerLog() - Constructor for class mars.assembler.log.AssemblerLog
-
Create a new, empty
AssemblerLog
. - assemblerMaxErrors - Variable in class mars.settings.Settings
-
Maximum number of errors that a single assembler run can produce.
- AssemblerPreferencesTab - Class in mars.venus.preferences
- AssemblerPreferencesTab(Settings) - Constructor for class mars.venus.preferences.AssemblerPreferencesTab
- AssemblyError - Exception in mars.assembler.log
- AssemblyError(AssemblerLog) - Constructor for exception mars.assembler.log.AssemblyError
- autoIndentEnabled - Variable in class mars.settings.Settings
-
Flag to control whether the editor will use the auto-indent feature.
- awaitUserInput(int) - Method in class mars.venus.ConsoleTextArea
-
Allow the user to input text into the console, waiting until the input is submitted.
B
- backgroundColor - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- BACKSPACE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- BACKSPACE_WORD - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- BackspaceAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.BackspaceAction
- BackspaceWordAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.BackspaceWordAction
- 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.
- BAD_V_ADDR - Static variable in class mars.mips.hardware.Coprocessor0
- BasicInstruction - Class in mars.mips.instructions
-
Class to represent a basic instruction in the MIPS instruction set.
- BasicInstruction(String, List<OperandType>, InstructionFormat, boolean, String, String, String, SimulationFunction) - Constructor for class mars.mips.instructions.BasicInstruction
-
Create a new
BasicInstruction
. - BasicStatement - Class in mars.assembler
- BasicStatement(StatementSyntax, BasicInstruction, List<Operand>) - Constructor for class mars.assembler.BasicStatement
- BasicStatement(StatementSyntax, BasicInstruction, List<Operand>, int) - Constructor for class mars.assembler.BasicStatement
- beginCompoundEdit() - Method in class mars.venus.editor.jeditsyntax.SyntaxDocument
-
Starts a compound edit that can be undone in one operation.
- beginNewLine() - Method in class mars.util.HardcopyWriter
-
This internal method begins a new line
- beginNewPage() - Method in class mars.util.HardcopyWriter
-
This internal method begins a new page and prints the header.
- BHTableModel - Class in mars.tools.bhtsim
-
Simulates the actual functionality of a Branch History Table (BHT).
- BHTableModel(int, int, boolean) - Constructor for class mars.tools.bhtsim.BHTableModel
-
Constructs a new BHT with given number of entries and history size.
- BHTEntry - Class in mars.tools.bhtsim
-
Represents a single entry of the Branch History Table.
- BHTEntry(int, boolean) - Constructor for class mars.tools.bhtsim.BHTEntry
-
Constructs a BHT entry with a given history size.
- BHTSimGUI - Class in mars.tools.bhtsim
-
Represents the GUI of the BHT Simulator Tool.
- BHTSimGUI() - Constructor for class mars.tools.bhtsim.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
-
Construct an instance of this tool.
- biasLeft - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- BIG_ENDIAN - Enum constant in enum class mars.assembler.AssemblerFlag
- BIG_ENDIAN - Enum constant in enum class mars.mips.hardware.Endianness
-
The bytes of a multibyte value are ordered from most significant to least significant.
- 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.
- 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
-
Bitmap display simulator.
- BitmapDisplay() - Constructor for class mars.tools.BitmapDisplay
-
Construct an instance of this tool.
- bitmapDisplayBaseAddress - Variable in class mars.settings.Settings
- bitmapDisplayHeight - Variable in class mars.settings.Settings
- bitmapDisplayUnitHeight - Variable in class mars.settings.Settings
- bitmapDisplayUnitWidth - Variable in class mars.settings.Settings
- bitmapDisplayWidth - Variable in class mars.settings.Settings
- 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.editor.jeditsyntax.JEditTextArea
- blinkCaret() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Blinks the caret.
- blockCaret - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- blockCaret - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- bodyMetrics - Variable in class mars.util.HardcopyWriter
- BOLD - Enum constant in enum class mars.venus.EditorFont.Style
- BOLD_ITALIC - Enum constant in enum class mars.venus.EditorFont.Style
- BooleanSetting - Class in mars.settings
-
Class representing a persistent boolean setting and its current value.
- booleanSettings - Variable in class mars.settings.Settings
- BOTTOM - Static variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- bracketHighlight - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- bracketHighlightColor - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- bracketHighlightColor - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- bracketHighlightVisible - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- bracketLine - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- bracketPosition - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- BRANCH_OFFSET - Enum constant in enum class mars.assembler.OperandType
- BRANCH_OFFSET - Static variable in interface mars.assembler.extended.OperandModifier
- BREAKPOINT - Enum constant in enum class mars.simulator.SimulatorPauseEvent.Reason
-
A breakpoint was reached, causing execution to pause.
- BREAKPOINT - Static variable in class mars.simulator.ExceptionCause
- buildButtonArea() - Method in class mars.tools.AbstractMarsTool
-
The MarsTool default set of controls has one row of 3 buttons.
- buildContentPane(JComponent, JComponent) - Method in class mars.tools.AbstractMarsTool
- buildContentPane(JComponent, JComponent) - Method in class mars.tools.BitmapDisplay
- buildControlPanel() - Method in class mars.venus.AbstractFontSettingDialog
-
Build component containing the buttons for dialog control such as OK, Cancel, Reset, Apply, etc.
- buildDialogPanel() - Method in class mars.venus.AbstractFontSettingDialog
-
Build the dialog area, not including control buttons at bottom.
- buildDisplayArea() - Method in class mars.tools.FloatRepresentation
- buildMainDisplayArea() - Method in class mars.tools.AbstractMarsTool
-
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.DigitalLabSimulator
- 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.
- buildMainDisplayArea() - Method in class mars.tools.MipsXray
-
Insert image in the panel and configure the parameters to run animation.
- buildMainDisplayArea() - Method in class mars.tools.VisualStack
- buildMainDisplayArea(String) - Method in class mars.tools.MipsXray
- buttons - Variable in class mars.tools.DigitalLabSimulator.HexadecimalKeyboard
- BYTE - Enum constant in enum class mars.assembler.Directive
- BYTES_PER_DOUBLEWORD - Static variable in class mars.mips.hardware.Memory
-
MIPS doubleword length in bytes.
- BYTES_PER_HALFWORD - Static variable in class mars.mips.hardware.Memory
-
MIPS halfword length in bytes.
- BYTES_PER_INSTRUCTION - Static variable in class mars.mips.instructions.Instruction
-
Length in bytes of a machine instruction.
- BYTES_PER_ROW - Static variable in class mars.venus.execute.DataSegmentWindow
- BYTES_PER_VALUE - Static variable in class mars.venus.execute.DataSegmentWindow
- BYTES_PER_WORD - Static variable in class mars.mips.hardware.Memory
-
MIPS word length in bytes.
C
- CacheSimulator - Class in mars.tools
-
A data cache simulator for simulating and illustrating data cache performance.
- CacheSimulator() - Constructor for class mars.tools.CacheSimulator
-
Construct an instance of this tool.
- CacheSimulator.PlacementPolicy - Enum Class in mars.tools
- CacheSimulator.ReplacementPolicy - Enum Class in mars.tools
- CANCEL_TOOL_TIP_TEXT - Static variable in class mars.venus.actions.settings.SettingsHighlightingAction
- canStart() - Method in enum class mars.venus.execute.ProgramStatus
-
Determine whether the program is able to start, but is not currently running.
- caretBlinkRate - Variable in class mars.settings.Settings
-
Caret blink rate in milliseconds. 0 means don't blink.
- caretBlinkRate - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- caretBlinkRate - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- caretBlinks - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- caretBlinks - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- caretEvent - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- caretForeground - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- caretForeground - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- caretTimer - Static variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- caretVisible - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- caretVisible - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- CAUSE - Static variable in class mars.mips.hardware.Coprocessor0
- CENTER - Static variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- changedUpdate(DocumentEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.DocumentHandler
- changeState(Runnable) - Method in class mars.simulator.Simulator
-
Modify program state used by the simulator (e.g. memory and registers) whenever is allowed by the simulator.
- CHAR_LITERAL - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Literal 2 token id.
- CHARACTER - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a character literal.
- charNum - Variable in class mars.util.HardcopyWriter
- charsPerLine - Variable in class mars.util.HardcopyWriter
- charsPerTab - Variable in class mars.util.HardcopyWriter
- charWidth - Variable in class mars.util.HardcopyWriter
- CheckBoxPreference - Class in mars.venus.preferences.components
- CheckBoxPreference(BooleanSetting, String, String) - Constructor for class mars.venus.preferences.components.CheckBoxPreference
- checkExternalInterruptDevice() - Method in class mars.simulator.Simulator
-
Get the identifier of the memory-mapped I/O device which flagged an external interrupt, if any.
- checkForParameter(Token, AssemblerLog) - Method in class mars.assembler.token.Macro
-
Check a token and determine whether it matches one of the parameters for this macro.
- clear() - Method in class mars.assembler.log.AssemblerLog
-
Clear all messages from the log.
- clear() - Method in class mars.assembler.SymbolTable
-
Clear all symbols from the table.
- clear() - Method in class mars.util.StringTrie
-
Removes all of the mappings from this map (optional operation).
- clear() - Method in class mars.venus.ConsoleTextArea
-
Clear all text from the text area, and clear any buffered output.
- clear() - Method in class mars.venus.execute.ExecuteTab
-
Clears out all components of the Execute tab: text segment display, data segment display, label display and register display.
- clearAllBreakpoints() - Method in class mars.venus.execute.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).
- clearHighlighting() - Method in class mars.venus.execute.DataSegmentWindow
-
Clear highlight background color from any cell currently highlighted.
- clearHighlighting() - Method in class mars.venus.RegistersDisplayTab
-
Clear highlight background color from any row currently highlighted.
- clearHighlighting() - Method in class mars.venus.RegistersTable
-
Clear highlight background color from any cell currently highlighted.
- clearWindow() - Method in class mars.venus.execute.DataSegmentWindow
-
Removes the table from its frame, typically done when a file is closed.
- clearWindow() - Method in class mars.venus.execute.SymbolTableWindow
-
Clear the window.
- clearWindow() - Method in class mars.venus.execute.TextSegmentWindow
-
Remove all components.
- ClickListener(int) - Constructor for class mars.tools.DigitalLabSimulator.HexadecimalKeyboard.ClickListener
- clickMessage(LogMessage) - Method in class mars.venus.ConsoleTextArea
- CLIP_COPY - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- CLIP_CUT - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- CLIP_PASTE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- ClipboardCopyAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.ClipboardCopyAction
- ClipboardCutAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.ClipboardCutAction
- ClipboardPasteAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.ClipboardPasteAction
- close() - Method in class mars.util.HardcopyWriter
-
This is the close( ) method that all Writer subclasses must implement.
- close() - Method in class mars.venus.editor.Editor
-
Perform "close" operation on current tab's file.
- close(int) - Method in class mars.simulator.SystemIO.FileHandle
-
Close this handle with the previous head of the closed handle list.
- closeAll() - Method in class mars.venus.editor.Editor
-
Close all currently open files.
- closeAllFiles() - Method in class mars.venus.editor.EditTab
-
Carries out all necessary operations to implement the Close All operation from the File menu.
- closeCurrentFile() - Method in class mars.venus.editor.EditTab
-
Carries out all necessary operations to implement the Close operation from the File menu.
- closeDialog() - Method in class mars.venus.AbstractFontSettingDialog
-
We're finished with this modal dialog.
- closeDialog() - Method in class mars.venus.preferences.PreferencesDialog
- closeFile(int) - Method in class mars.simulator.SystemIO
-
Close the file with specified file descriptor.
- closeFile(FileEditorTab) - Method in class mars.venus.editor.EditTab
-
Carries out all necessary operations to implement the Close operation from the File menu.
- closeTool() - Method in class mars.tools.AbstractMarsTool
-
Disconnect the tool from registers/memory and close the tool's dialog.
- COLON - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a colon (i.e.
- color - Variable in class mars.tools.MipsXray.Vertex
- COLOR_PREDICTION_CORRECT - Static variable in class mars.tools.bhtsim.BHTSimGUI
-
Constant for the color to signal a correct prediction.
- COLOR_PREDICTION_INCORRECT - Static variable in class mars.tools.bhtsim.BHTSimGUI
-
Constant for the color to signal a misprediction.
- COLOR_PREPREDICTION - Static variable in class mars.tools.bhtsim.BHTSimGUI
-
Constant for the color that highlights the current BHT entry.
- ColorSelectButton - Class in mars.venus
-
Dinky little custom button class to modify border based on whether enabled or not.
- ColorSelectButton() - Constructor for class mars.venus.ColorSelectButton
- ColorSetting - Class in mars.settings
-
Class representing a persistent color setting and its current value.
- colorSettings - Variable in class mars.settings.Settings
- cols - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- cols - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- COLUMN_COUNT - Static variable in class mars.venus.execute.DataSegmentWindow
- COMMENT - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing an end-of-line comment starting with
#
. - COMMENT - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Comment 1 token id.
- COMMENT2 - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Comment 2 token id.
- commentLines() - Method in class mars.venus.editor.FileEditorTab
-
Comment or uncomment the selection, or line at cursor if nothing is selected.
- commentLines() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Comment or uncomment highlighted lines or line at cursor.
- commentLines() - Method in interface mars.venus.editor.MARSTextEditingArea
- compareTo(SourceLocation) - Method in class mars.assembler.log.SourceLocation
-
Compare two locations.
- compatibilityWarningsEnabled - Variable in class mars.settings.Settings
-
Flag to control whether the assembler outputs a warning whenever it assembles a program which uses features exclusive to MARS Red, and would not assemble properly in MARS 4.5.
- ComponentHandler() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.ComponentHandler
- componentResized(ComponentEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.ComponentHandler
- consoleFont - Variable in class mars.settings.Settings
-
Font for the console displays in the Messages and Console tabs.
- consoleMaxLines - Variable in class mars.settings.Settings
-
Maximum number of lines that can be kept in a console at once.
- ConsoleTextArea - Class in mars.venus
-
Special text area used by
MessagesPane
to imitate console input/output. - ConsoleTextArea() - Constructor for class mars.venus.ConsoleTextArea
-
Create a new
ConsoleTextArea
. - consoleTrimLines - Variable in class mars.settings.Settings
-
Number of extra lines to be trimmed when the number of lines in a console exceeds the maximum.
- containsKey(Object) - Method in class mars.util.StringTrie
-
Returns
true
if this map contains a mapping for the specified key. - containsValue(Object) - Method in class mars.util.StringTrie
-
Returns
true
if this map maps one or more keys to the specified value. - content - Variable in class mars.venus.preferences.PreferencesTab
- CONTROL - Enum constant in enum class mars.tools.MipsXray.DatapathUnit
- convertLineColumnToStreamPosition(int, int) - Method in class mars.venus.editor.FileEditorTab
-
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.editor.FileEditorTab
-
Given character stream offset in text being edited, calculate its column and line number coordinates.
- convertToType(OperandType, StatementSyntax, Assembler, int) - Method in class mars.assembler.Operand
- Coprocessor0 - Class in mars.mips.hardware
-
Represents Coprocessor 0.
- Coprocessor0() - Constructor for class mars.mips.hardware.Coprocessor0
- Coprocessor0Tab - Class in mars.venus
-
Sets up a window to display registers in the UI.
- Coprocessor0Tab(VenusUI) - Constructor for class mars.venus.Coprocessor0Tab
-
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
- Coprocessor1Tab - Class in mars.venus
-
Sets up a window to display Coprocessor 1 registers in the Registers pane of the UI.
- Coprocessor1Tab(VenusUI) - Constructor for class mars.venus.Coprocessor1Tab
-
Constructor which sets up a fresh window with a table that contains the register values.
- copy() - Method in class mars.assembler.token.Token
-
Create a copy of this token.
- copy() - Method in class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Returns a copy of this input handler that shares the same key bindings.
- copy() - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Returns a copy of this input handler that shares the same key bindings.
- copy() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Places the selected text into the clipboard.
- copy() - Method in interface mars.venus.editor.MARSTextEditingArea
- COPYRIGHT_HOLDERS - Static variable in class mars.Application
-
MARS copyright holders.
- COPYRIGHT_YEARS - Static variable in class mars.Application
-
MARS copyright years.
- copyText() - Method in class mars.venus.editor.FileEditorTab
-
Copy the currently selected text to the 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.
- CREATE_NEW_FLAG - Static variable in class mars.simulator.SystemIO
-
Fail to open if the file already exists; in other words, prevent overwriting of an existing file.
- createDefaultTableHeader() - Method in class mars.venus.RegistersTable
- createFontFromStringValues(String, String, String) - Static method in class mars.venus.EditorFont
-
Creates a new Font object based on the given String specifications.
- createForwardReferencePatch(int, int, Token) - Method in class mars.assembler.Assembler
- current - Variable in class mars.tools.MipsXray.Vertex
- currentFont - Variable in class mars.venus.AbstractFontSettingDialog
- customizeScrollPane(JScrollPane) - Method in class mars.venus.VenusUI
- cut() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Deletes the selected text from the text area and places it into the clipboard.
- cut() - Method in interface mars.venus.editor.MARSTextEditingArea
- cutText() - Method in class mars.venus.editor.FileEditorTab
-
Cut the currently selected text to the clipboard.
D
- DARCULA - Enum constant in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- DATA - Enum constant in enum class mars.assembler.Directive
- DATA_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest data segment address.
- DATA_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest data segment address.
- DataRegion(int, int) - Constructor for class mars.mips.hardware.Memory.DataRegion
-
Allocate a new region of memory containing data.
- dataSegment - Variable in class mars.assembler.Assembler
- dataSegmentHighlightBackground - Variable in class mars.settings.Settings
-
RGB color for data segment highlighted background
- dataSegmentHighlightForeground - Variable in class mars.settings.Settings
-
RGB color for data segment highlighted foreground
- DataSegmentWindow - Class in mars.venus.execute
-
Represents the Data Segment window, which is a type of JInternalFrame.
- DataSegmentWindow(VenusUI, NumberDisplayBaseChooser[]) - Constructor for class mars.venus.execute.DataSegmentWindow
-
Constructor for the Data Segment window.
- debug - Static variable in class mars.Application
-
Flag to determine whether or not to produce internal debugging information.
- debug - Variable in class mars.tools.CacheSimulator
-
Controls display of debugging info.
- DECIMAL - Static variable in class mars.venus.NumberDisplayBaseChooser
- decode(String) - Static method in class mars.settings.ColorSetting
-
Decode a
Color
object from a string containing an integer in some format. - decode(String) - Static method in class mars.settings.FontSetting
-
Decode a
Font
object from a string with the formName
orName;Attributes
, whereAttributes
is a comma-separated list of optional attributes:Bold
: If present, sets the bold style flag. - decode(String) - Static method in class mars.settings.SyntaxStyleSetting
-
Decode a
SyntaxStyle
object from a string of attributes separated by commas:Color=RGB
: Sets the color to integerRGB
. - decodeFileList(String) - Static method in class mars.settings.Settings
- decodeInstruction(int) - Method in class mars.mips.instructions.InstructionDecoder
- decodeInteger(String) - Static method in class mars.util.Binary
-
Convert the given string to a 32 bit integer, accounting for radix prefixes.
- decodeLong(String) - Static method in class mars.util.Binary
-
Convert the given string to a 64 bit integer, accounting for radix prefixes.
- decodeOperands(int) - Method in class mars.mips.instructions.BasicInstruction
- decodeStatement(int) - Method in class mars.mips.instructions.InstructionDecoder
- DEFAULT - Static variable in enum class mars.tools.CacheSimulator.PlacementPolicy
- DEFAULT - Static variable in enum class mars.tools.CacheSimulator.ReplacementPolicy
- DEFAULT - Static variable in enum class mars.venus.EditorFont.Style
- DEFAULT_CHANNEL - Static variable in class mars.mips.instructions.syscalls.MidiNotePlayer
-
The default MIDI channel of the tone: 0 (channel 1).
- DEFAULT_DARK - Enum constant in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- DEFAULT_DURATION - Static variable in class mars.mips.instructions.syscalls.MidiNotePlayer
-
The default duration of the tone: 1000 milliseconds.
- DEFAULT_ENTRY_COUNT - Static variable in class mars.tools.BHTSimulator
-
Constant for the default size of the BHT.
- DEFAULT_HISTORY_SIZE - Static variable in class mars.tools.BHTSimulator
-
Constant for the default history size.
- DEFAULT_INITIAL_VALUE - Static variable in class mars.tools.BHTSimulator
-
Constant for the default inital value.
- DEFAULT_INSTRUMENT - Static variable in class mars.mips.instructions.syscalls.MidiNotePlayer
-
The default instrument of the tone: 0 / piano.
- DEFAULT_LIGHT - Enum constant in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- DEFAULT_PITCH - Static variable in class mars.mips.instructions.syscalls.MidiNotePlayer
-
The default pitch value for the tone: 60 / middle C.
- DEFAULT_SIZE - Static variable in class mars.venus.EditorFont
- DEFAULT_STATUS_VALUE - Static variable in class mars.mips.hardware.Coprocessor0
- DEFAULT_VOLUME - Static variable in class mars.mips.instructions.syscalls.MidiNotePlayer
-
The default volume of the tone: 100 (of 127).
- defaultButton - Variable in class mars.venus.AbstractFontSettingDialog
- DefaultInputHandler - Class in mars.venus.editor.jeditsyntax
-
The default input handler.
- DefaultInputHandler() - Constructor for class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Create a new input handler with no key bindings defined.
- defineExtern(Token, int) - Method in class mars.assembler.Assembler
- defineMacro(Macro) - Method in class mars.assembler.token.MacroHandler
-
Define a macro, allowing it to be called later.
- defineSymbol(String, int, boolean) - Method in class mars.assembler.SymbolTable
-
Adds a Symbol object into the array of Symbols.
- defineSymbol(Symbol) - Method in class mars.assembler.SymbolTable
-
Adds a Symbol object into the array of Symbols.
- DELAYED_BRANCHING - Enum constant in enum class mars.assembler.AssemblerFlag
- delayedBranchingEnabled - Variable in class mars.settings.Settings
-
Flag to control whether delayed branching is simulated.
- DELETE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- DELETE_WORD - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- DeleteAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.DeleteAction
- deleteLines(int, int) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Informs the token marker that line have been deleted from the document.
- DeleteWordAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.DeleteWordAction
- DELIMITER - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a visible operand delimiter (i.e. comma).
- DESCRIPTION_DETAIL_SEPARATOR - Static variable in class mars.venus.actions.help.HelpHelpAction
-
Separates Instruction name descriptor from detailed (operation) description in help string.
- dialog - Variable in class mars.tools.AbstractMarsTool
- DigitalLabSimulator - Class in mars.tools
-
Didier Teifreto LIFC Université de franche-Comté www.lifc.univ-fcomte.fr/~teifreto didier.teifreto@univ-fcomte.fr
- DigitalLabSimulator() - Constructor for class mars.tools.DigitalLabSimulator
-
Construct an instance of this tool.
- DigitalLabSimulator.HexadecimalKeyboard - Class in mars.tools
- DigitalLabSimulator.HexadecimalKeyboard.ClickListener - Class in mars.tools
- DigitalLabSimulator.OneSecondCounter - Class in mars.tools
- DigitalLabSimulator.SevenSegmentDisplay - Class in mars.tools
- DigitalLabSimulator.SevenSegmentPanel - Class in mars.tools
- DIRECT - Enum constant in enum class mars.tools.CacheSimulator.PlacementPolicy
- direction - Variable in class mars.tools.MipsXray.Vertex
- Directive - Enum Class in mars.assembler
-
Class representing MIPS assembler directives.
- DIRECTIVE - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing either a preprocessor directive (e.g.
- DIRECTIVE - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Keyword 2 token id.
- DirectiveSyntax - Class in mars.assembler.syntax
- DirectiveSyntax(SourceLine, Token, Directive, List<Token>) - Constructor for class mars.assembler.syntax.DirectiveSyntax
- discardAllUndoableEdits() - Method in class mars.venus.editor.FileEditorTab
-
Get rid of any accumulated undoable edits.
- discardAllUndoableEdits() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Get rid of any accumulated undoable edits.
- discardAllUndoableEdits() - Method in interface mars.venus.editor.MARSTextEditingArea
- dispatchChangedEvent() - Method in class mars.settings.Settings
- dispatchChangeEvent() - Method in class mars.venus.FontChooserPane
- dispatchFinishEvent(SimulatorFinishEvent.Reason, SimulatorException) - Method in class mars.simulator.Simulator
-
Called when the simulator has finished execution of the current program.
- dispatchPauseEvent(int, SimulatorPauseEvent.Reason) - Method in class mars.simulator.Simulator
-
Called when the simulator has paused execution of the current program.
- dispatchStartEvent(int) - Method in class mars.simulator.Simulator
-
Called when the simulator has started execution of the current program.
- dispatchStepEvent() - Method in class mars.simulator.Simulator
-
Called when the simulator has finished executing an instruction, but only if the run speed is not unlimited.
- displayAddressesInHex - Variable in class mars.settings.Settings
-
Flag to control whether memory addresses are displayed in hexadecimal.
- displayCaretPosition(int) - Method in class mars.venus.editor.FileEditorTab
-
Update the caret position label on the editor's border to display the current line and column.
- displayCaretPosition(Point) - Method in class mars.venus.editor.FileEditorTab
-
Update the status bar display for the caret position.
- displayCellForAddress(int) - Method in class mars.venus.execute.DataSegmentWindow
-
Given address, will compute table cell location, adjusting table if necessary to contain this cell, make sure that cell is visible, then return a Point containing row and column position of cell in the table.
- displayEditorLineNumbers - Variable in class mars.settings.Settings
-
Flag to control whether the editor will display line numbers on the side.
- displays - Variable in class mars.tools.DigitalLabSimulator.SevenSegmentPanel
- displayValuesInHex - Variable in class mars.settings.Settings
-
Flag to control whether operand, memory, and register values are displayed in hexadecimal.
- document - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- document - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- DOCUMENT_END - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- DOCUMENT_HOME - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- documentChanged(DocumentEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- DocumentEndAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.DocumentEndAction
- documentHandler - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- DocumentHandler() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.DocumentHandler
- DocumentHomeAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.DocumentHomeAction
- doFindText(String, boolean) - Method in class mars.venus.editor.FileEditorTab
-
Finds next occurrence of text in a forward search of a string.
- doFindText(String, boolean) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Finds next occurrence of text in a forward search of a string.
- doFindText(String, boolean) - Method in interface mars.venus.editor.MARSTextEditingArea
- doReplace(String, String, boolean) - Method in class mars.venus.editor.FileEditorTab
-
Finds and replaces next occurrence of text in a string in a forward search.
- doReplace(String, String, boolean) - Method in class mars.venus.editor.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.editor.MARSTextEditingArea
- doReplaceAll(String, String, boolean) - Method in class mars.venus.editor.FileEditorTab
-
Finds and replaces ALL occurrences of text in a string in a forward search.
- doReplaceAll(String, String, boolean) - Method in class mars.venus.editor.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.editor.MARSTextEditingArea
- DOUBLE - Enum constant in enum class mars.assembler.Directive
- dragEnter(DropTargetDragEvent) - Method in class mars.venus.FileDrop
-
Called while a drag operation is ongoing, when the mouse pointer enters the operable part of the drop site for the
DropTarget
registered with this listener. - dragExit(DropTargetEvent) - Method in class mars.venus.FileDrop
-
Called while a drag operation is ongoing, when the mouse pointer has exited the operable part of the drop site for the
DropTarget
registered with this listener. - DragHandler() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.DragHandler
- dragOver(DropTargetDragEvent) - Method in class mars.venus.FileDrop
-
Called when a drag operation is ongoing, while the mouse pointer is still over the operable part of the drop site for the
DropTarget
registered with this listener. - drawSegment(Graphics, char) - Method in class mars.tools.DigitalLabSimulator.SevenSegmentDisplay
- drop(DropTargetDropEvent) - Method in class mars.venus.FileDrop
-
Called when the drag operation has terminated with a drop on the operable part of the drop site for the
DropTarget
registered with this listener. - dropActionChanged(DropTargetDragEvent) - Method in class mars.venus.FileDrop
-
Called if the user has modified the current drop gesture.
- DumpFormat - Interface in mars.mips.dump
-
Interface for memory dump file formats.
- DumpFormatManager - Class in mars.mips.dump
-
This class provides functionality to bring external memory dump format definitions into MARS.
- 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.
- DYNAMIC_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest heap/stack data address.
- DYNAMIC_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest heap/stack data address.
- DynamicTabbedPane - Class in mars.venus
-
An extension of
JTabbedPane
which makes tabs closable and able to be rearranged by the user. - DynamicTabbedPane() - Constructor for class mars.venus.DynamicTabbedPane
-
Creates an empty
DynamicTabbedPane
with a default tab placement ofSwingConstants.TOP
and a default tab layout policy ofJTabbedPane.SCROLL_TAB_LAYOUT
. - DynamicTabbedPane(int) - Constructor for class mars.venus.DynamicTabbedPane
-
Creates an empty
DynamicTabbedPane
with the specified tab placement and a default tab layout policy ofJTabbedPane.SCROLL_TAB_LAYOUT
. - DynamicTabbedPane(int, int) - Constructor for class mars.venus.DynamicTabbedPane
-
Creates an empty
DynamicTabbedPane
with the specified tab placement and tab layout policy.
E
- editable - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- editable - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- EditCommentAction - Class in mars.venus.actions.edit
-
Action for the Edit -> Comment Selected Lines menu item.
- EditCommentAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.edit.EditCommentAction
- EditCopyAction - Class in mars.venus.actions.edit
-
Action for the Edit -> Copy menu item.
- EditCopyAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.edit.EditCopyAction
- EditCutAction - Class in mars.venus.actions.edit
-
Action for the Edit -> Cut menu item.
- EditCutAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.edit.EditCutAction
- EDITED - Enum constant in enum class mars.venus.editor.FileStatus
-
File from disk with unsaved edits.
- EditFindReplaceAction - Class in mars.venus.actions.edit
-
Action for the Edit -> Find/Replace menu item.
- EditFindReplaceAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.edit.EditFindReplaceAction
- Editor - Class in mars.venus.editor
-
Manage the file being edited.
- Editor(VenusUI) - Constructor for class mars.venus.editor.Editor
-
Create editor.
- editorFont - Variable in class mars.settings.Settings
-
Font for the text editor.
- EditorFont - Class in mars.venus
-
Specialized Font class designed to be used by both the settings menu methods and the Settings class.
- EditorFont() - Constructor for class mars.venus.EditorFont
- EditorFont.Style - Enum Class in mars.venus
-
Enumeration of the available font styles in the editor.
- editorPopupPrefixLength - Variable in class mars.settings.Settings
-
Number of letters to be matched by editor's instruction guide before popup generated (if popup enabled).
- EditorPreferencesTab - Class in mars.venus.preferences
- EditorPreferencesTab(Settings) - Constructor for class mars.venus.preferences.EditorPreferencesTab
- editorTabSize - Variable in class mars.settings.Settings
-
Editor tab size in characters.
- EditPasteAction - Class in mars.venus.actions.edit
-
Action for the Edit -> Paste menu item.
- EditPasteAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.edit.EditPasteAction
- EditRedoAction - Class in mars.venus.actions.edit
-
Action for the Edit -> Redo menu item.
- EditRedoAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.edit.EditRedoAction
- EditSelectAllAction - Class in mars.venus.actions.edit
-
Action for the Edit -> Select All menu item.
- EditSelectAllAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.edit.EditSelectAllAction
- EditTab - Class in mars.venus.editor
-
The "Edit" tab in the main tabbed pane, which is itself a tabbed pane.
- EditTab(VenusUI, Editor) - Constructor for class mars.venus.editor.EditTab
-
Create and initialize the Edit tab with no open files.
- EditUndoAction - Class in mars.venus.actions.edit
-
Action for the Edit -> Undo menu item.
- EditUndoAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.edit.EditUndoAction
- electricScroll - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- electricScroll - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- encode(Color) - Static method in class mars.settings.ColorSetting
-
Encode a
Color
object as a string containing a hexadecimal integer with a leading0x
. - encode(Font) - Static method in class mars.settings.FontSetting
-
Encode a
Font
object as a string with the formName
orName;Attributes
, whereAttributes
is a comma-separated list of optional attributes:Bold
: Will be present if the bold style flag is set. - encode(SyntaxStyle) - Static method in class mars.settings.SyntaxStyleSetting
-
Encode a
SyntaxStyle
object as a string of attributes separated by commas:Color=RGB
: Specifies the color as an integerRGB
. - encodeFileList(List<File>) - Static method in class mars.settings.Settings
- encodeOperands(List<Operand>) - Method in class mars.mips.instructions.BasicInstruction
- end - Variable in class mars.tools.MipsXray.Vertex
- END - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- END - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
The token type, that along with a length of 0 marks the end of the token list.
- END_MACRO - Enum constant in enum class mars.assembler.Directive
-
Added by Mohammad Sekhavat in Oct 2012.
- EndAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.EndAction
- endCompoundEdit() - Method in class mars.venus.editor.jeditsyntax.SyntaxDocument
-
Ends a compound edit that can be undone in one operation.
- Endianness - Enum Class in mars.mips.hardware
-
An enumeration of the different "endianness" states.
- enforceDoublewordAlignment(int, int) - Static method in class mars.mips.hardware.Memory
-
Ensure that a given address is aligned on a doubleword boundary, throwing an exception otherwise.
- enforceHalfwordAlignment(int, int) - Static method in class mars.mips.hardware.Memory
-
Ensure that a given address is aligned on a halfword boundary, throwing an exception otherwise.
- enforceWordAlignment(int, int) - Static method in class mars.mips.hardware.Memory
-
Ensure that a given address is aligned on a word boundary, throwing an exception otherwise.
- ensureCapacity(int) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Ensures that the
TokenMarker.lineInfo
array can contain the specified index. - entryPointLabel - Variable in class mars.settings.Settings
-
The special label treated as the entry point for a program.
- entrySet() - Method in class mars.util.StringTrie
-
Returns a
Set
view of the mappings contained in this map. - eolMarkerColor - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- eolMarkerColor - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- eolMarkers - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- eolMarkerVisible - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- EPC - Static variable in class mars.mips.hardware.Coprocessor0
- equals(Object) - Method in class mars.assembler.log.SourceLocation
- equals(Object) - Method in record class mars.mips.hardware.MemoryConfiguration
-
Indicates whether some other object is "equal to" this one.
- EQV - Enum constant in enum class mars.assembler.Directive
-
Added by DPS on 11 July 2012.
- error(SourceLocation, String) - Static method in class mars.assembler.log.LogMessage
-
Create a new
LogMessage
with levelLogLevel.ERROR
. - ERROR - Enum constant in enum class mars.assembler.log.LogLevel
- ERROR - Enum constant in enum class mars.assembler.token.TokenType
-
A token that is malformed and could not be tokenized properly.
- EXCEPTION - Enum constant in enum class mars.simulator.SimulatorFinishEvent.Reason
-
An exception occurred, causing the program to terminate.
- EXCEPTION_HANDLER - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Exception handler address.
- ExceptionCause - Class in mars.simulator
-
Represents the cause of an exception or interrupt that occurs during execution.
- ExceptionCause() - Constructor for class mars.simulator.ExceptionCause
- exceptionHandlerEnabled - Variable in class mars.settings.Settings
-
Flag to control whether the currently selected exception handler source file will be included in each assembly operation.
- exceptionHandlerPath - Variable in class mars.settings.Settings
-
Current specified exception handler file (a MIPS assembly source file).
- ExceptionPreferencesTab - Class in mars.venus.preferences
- ExceptionPreferencesTab(Settings) - Constructor for class mars.venus.preferences.ExceptionPreferencesTab
- executeAction(ActionListener, Object, String) - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Executes the specified action, repeating and recording it as necessary.
- ExecuteTab - Class in mars.venus.execute
-
The "Execute" tab in the main tabbed pane, which contains execution-related windows.
- ExecuteTab(VenusUI) - Constructor for class mars.venus.execute.ExecuteTab
-
Initialize the Execute pane.
- EXIT_SYSCALL - Enum constant in enum class mars.simulator.SimulatorFinishEvent.Reason
-
One of the exit syscalls was invoked, causing the program to terminate.
- exitCode - Static variable in class mars.Application
-
MARS exit code -- useful with syscall 17 when running from command line (not GUI).
- EXL_BIT - Static variable in class mars.mips.hardware.Coprocessor0
- ExpansionTemplate - Class in mars.assembler.extended
- ExpansionTemplate(ExtendedInstruction, List<ExpansionTemplate.Statement>) - Constructor for class mars.assembler.extended.ExpansionTemplate
- ExpansionTemplate.Statement - Interface in mars.assembler.extended
- EXTENDED_INSTRUCTIONS_PATH - Static variable in class mars.mips.instructions.InstructionSet
- EXTENDED_MODE - Enum constant in enum class mars.assembler.AssemblerFlag
- extendedAssemblerEnabled - Variable in class mars.settings.Settings
-
Flag to control whether the assembler will be limited to basic MIPS instructions and formats.
- ExtendedInstruction - Class in mars.mips.instructions
-
Representation of an extended instruction, also known as a pseudo-instruction.
- ExtendedInstruction(String, List<OperandType>, String, String) - Constructor for class mars.mips.instructions.ExtendedInstruction
-
Create a new
ExtendedInstruction
. - ExtendedStatement - Class in mars.assembler.extended
- ExtendedStatement(StatementSyntax, ExtendedInstruction, List<Operand>, List<BasicStatement>) - Constructor for class mars.assembler.extended.ExtendedStatement
- EXTERN - Enum constant in enum class mars.assembler.Directive
- EXTERN_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest extern data address.
- EXTERN_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest extern data address.
- EXTERNAL - Enum constant in enum class mars.simulator.SimulatorFinishEvent.Reason
-
The program was terminated by something outside of the simulator.
- EXTERNAL - Enum constant in enum class mars.simulator.SimulatorPauseEvent.Reason
-
Execution was paused by something outside of the simulator.
- EXTERNAL_INTERRUPT_DISPLAY - Static variable in class mars.simulator.ExceptionCause
- EXTERNAL_INTERRUPT_HEXADECIMAL_KEYBOARD - Static variable in class mars.tools.DigitalLabSimulator
- EXTERNAL_INTERRUPT_KEYBOARD - Static variable in class mars.simulator.ExceptionCause
- EXTERNAL_INTERRUPT_TIMER - Static variable in class mars.tools.DigitalLabSimulator
- externSegment - Variable in class mars.assembler.Assembler
- extractBranchAddress(int, BasicStatement) - Static method in class mars.tools.BHTSimulator
-
Extracts the target address of the branch.
F
- fetch(int, int, boolean) - Method in class mars.mips.hardware.Memory
-
Fetch a byte, halfword, or word from memory at a given address, which must be aligned properly.
- fetchByte(int, boolean) - Method in class mars.mips.hardware.Memory
-
Fetch a byte from memory at a given address.
- fetchDoubleword(int, boolean) - Method in class mars.mips.hardware.Memory
-
Fetch a doubleword from memory at a given address, which must be aligned to a word boundary.
- fetchHalfword(int, boolean) - Method in class mars.mips.hardware.Memory
-
Fetch a halfword from memory at a given address, which must be aligned to a halfword boundary.
- fetchNullTerminatedString(int) - Method in class mars.mips.hardware.Memory
-
Reads a null-terminated string from memory starting at the given address.
- fetchReleases() - Static method in class mars.venus.actions.help.HelpUpdateAction
-
Asynchronously fetch the list of released versions using the GitHub API.
- fetchStatement(int) - Method in class mars.mips.hardware.Memory.TextRegion
-
Fetch a statement from the region at a given address.
- fetchStatement(int, boolean) - Method in class mars.mips.hardware.Memory
-
Fetch a statement from memory at a given address, which must be aligned to a word boundary.
- fetchWord(int) - Method in class mars.mips.hardware.Memory.DataRegion
-
Fetch a word from the region at a given address.
- fetchWord(int, boolean) - Method in class mars.mips.hardware.Memory
-
Fetch a word from memory at a given address, which must be aligned to a word boundary.
- fetchWordOrNull(int) - Method in class mars.mips.hardware.Memory.DataRegion
-
Fetch a word from the region at a given address, or null if the word lies in a block which has not been allocated before.
- fetchWordOrNull(int) - Method in class mars.mips.hardware.Memory
-
Fetch a word from memory at a given address, which must be aligned to a word boundary.
- FI_TYPE_BRANCH - Enum constant in enum class mars.mips.instructions.InstructionFormat
- FILE_EXTENSIONS - Static variable in class mars.Application
-
List of accepted file extensions for MIPS assembly source files.
- FileCloseAction - Class in mars.venus.actions.file
-
Action for the File -> Close menu item.
- FileCloseAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileCloseAction
- FileCloseAllAction - Class in mars.venus.actions.file
-
Action for the File -> Close All menu item.
- FileCloseAllAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileCloseAllAction
- FileDrop - Class in mars.venus
-
File drop handler that registers drop listeners onto a component and changes the component's borders when dragging files over it.
- FileDrop(Component, boolean, FileDrop.Listener) - Constructor for class mars.venus.FileDrop
- FileDrop(Component, Border, boolean, FileDrop.Listener) - Constructor for class mars.venus.FileDrop
- FileDrop(Component, Border, FileDrop.Listener) - Constructor for class mars.venus.FileDrop
- FileDrop(Component, FileDrop.Listener) - Constructor for class mars.venus.FileDrop
- FileDrop(PrintStream, Component, boolean, FileDrop.Listener) - Constructor for class mars.venus.FileDrop
- FileDrop(PrintStream, Component, Border, boolean, FileDrop.Listener) - Constructor for class mars.venus.FileDrop
-
Create a new file drop handler for a particular Swing Component.
- FileDrop(PrintStream, Component, Border, FileDrop.Listener) - Constructor for class mars.venus.FileDrop
- FileDrop(PrintStream, Component, FileDrop.Listener) - Constructor for class mars.venus.FileDrop
- FileDrop.Listener - Interface in mars.venus
-
Listener for files dropped.
- FileDumpMemoryAction - Class in mars.venus.actions.file
-
Action for the File -> Dump Memory menu item.
- FileDumpMemoryAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileDumpMemoryAction
- FileEditorTab - Class in mars.venus.editor
-
Represents one file opened for editing.
- FileEditorTab(VenusUI) - Constructor for class mars.venus.editor.FileEditorTab
-
Create a new tab within the "Edit" tab for editing a file.
- FileExitAction - Class in mars.venus.actions.file
-
Action for the File -> Exit menu item.
- FileExitAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileExitAction
- fileExtensionMatch(String, String) - Static method in class mars.util.FilenameFinder
-
Determine if given filename ends with given extension.
- FileHandle(int) - Constructor for class mars.simulator.SystemIO.FileHandle
-
Create a new closed handle with the previous head of the closed handle list.
- FileHandle(String, Channel, int) - Constructor for class mars.simulator.SystemIO.FileHandle
-
Create a new open handle with the given byte channel information.
- 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.actions.file
-
Action for the File -> New menu item.
- FileNewAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileNewAction
- FileOpenAction - Class in mars.venus.actions.file
-
Action for the File -> Open menu item.
- FileOpenAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileOpenAction
- FilePrintAction - Class in mars.venus.actions.file
-
Action for the File -> Print menu item.
- FilePrintAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FilePrintAction
- FileSaveAction - Class in mars.venus.actions.file
-
Action for the File -> Save menu item.
- FileSaveAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileSaveAction
- FileSaveAllAction - Class in mars.venus.actions.file
-
Action for the File -> Save All menu item.
- FileSaveAllAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileSaveAllAction
- FileSaveAsAction - Class in mars.venus.actions.file
-
Action for the File -> Save As menu item.
- FileSaveAsAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.file.FileSaveAsAction
- filesDropped(List<File>) - Method in interface mars.venus.FileDrop.Listener
-
Called when files are dropped into the component by the user.
- FileStatus - Enum Class in mars.venus.editor
-
Used to store and return information on the status of the current ASM file that is being edited in the program.
- findFilenames(ClassLoader, String, String) - Static method in class mars.util.FilenameFinder
-
Locate files and return list of file names.
- findFilenames(ClassLoader, String, List<String>) - Static method in class mars.util.FilenameFinder
-
Locate files and return list of file names.
- findFilenames(String, String) - Static method in class mars.util.FilenameFinder
-
Locate files and return list of file names.
- findFilenames(String, List<String>) - Static method in class mars.util.FilenameFinder
-
Locate files and return list of file names.
- findFilenames(List<String>, String) - Static method in class mars.util.FilenameFinder
-
Return list of file names.
- findFilenames(List<String>, List<String>) - Static method in class mars.util.FilenameFinder
-
Return list of file names.
- findMatchingBracket(Document, int) - Static method in class mars.venus.editor.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).
- findMatchingMacro(String, List<Token>) - Method in class mars.assembler.token.MacroHandler
-
Find the macro defined with the given name whose signature matches the given list of call arguments.
- findMatchingMacros(String) - Method in class mars.assembler.token.MacroHandler
-
Find all macros defined with the given name, regardless of parameter count.
- findRowForAddress(int) - Method in class mars.venus.execute.TextSegmentWindow
-
Helper method to find the table row corresponding to the given text segment address.
- findWordEnd(String, int, String) - Static method in class mars.venus.editor.jeditsyntax.TextUtilities
-
Locates the end of the word at the specified position.
- findWordStart(String, int, String) - Static method in class mars.venus.editor.jeditsyntax.TextUtilities
-
Locates the start of the word at the specified position.
- finishStep() - Method in class mars.simulator.BackStepper
- fireCaretEvent() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- fireInsertUpdate(DocumentEvent) - Method in class mars.venus.editor.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.editor.jeditsyntax.SyntaxDocument
-
We overwrite this method to update the token marker state immediately so that any event listeners get a consistent token marker.
- FIRST_USER_DESCRIPTOR - Static variable in class mars.simulator.SystemIO
-
The first file descriptor that will be allocated to the user.
- firstLine - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- firstToken - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
The first token in the list.
- FlagSubstitutionOperand - Class in mars.assembler.extended
- FlagSubstitutionOperand(AssemblerFlag, TemplateOperand, TemplateOperand) - Constructor for class mars.assembler.extended.FlagSubstitutionOperand
- FlagSubstitutionOperand(AssemblerFlag, TemplateOperand, TemplateOperand, OperandType) - Constructor for class mars.assembler.extended.FlagSubstitutionOperand
- FlagSubstitutionStatement - Class in mars.assembler.extended
- FlagSubstitutionStatement(AssemblerFlag, ExpansionTemplate.Statement, ExpansionTemplate.Statement) - Constructor for class mars.assembler.extended.FlagSubstitutionStatement
- FLOAT - Enum constant in enum class mars.assembler.Directive
- FLOATING_POINT_OVERFLOW - Static variable in class mars.simulator.ExceptionCause
- FLOATING_POINT_UNDERFLOW - Static variable in class mars.simulator.ExceptionCause
- FloatRepresentation - Class in mars.tools
-
Tool to help students learn about the IEEE-754 representation of 32-bit floating point values.
- FloatRepresentation() - Constructor for class mars.tools.FloatRepresentation
-
Construct an instance of this tool.
- flush() - Method in class mars.util.HardcopyWriter
-
This is the flush( ) method that all Writer subclasses must implement.
- flushOutput() - Method in class mars.venus.ConsoleTextArea
-
Flush the output buffer to the GUI text area, trimming the content to have at most
ConsoleTextArea.MAXIMUM_LINE_COUNT
lines if necessary. - flushStateChanges() - Method in class mars.simulator.Simulator
-
Perform any changes to program state from calls to
Simulator.changeState(Runnable)
which are waiting to execute. - focusedComponent - Static variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- focusGained(FocusEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.FocusHandler
- FocusHandler() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.FocusHandler
- focusLost(FocusEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.FocusHandler
- font - Variable in class mars.util.HardcopyWriter
- FontChooserPane - Class in mars.venus
-
Abstract class for a font selection dialog.
- FontChooserPane(Font) - Constructor for class mars.venus.FontChooserPane
- fontMetrics - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- FontSetting - Class in mars.settings
-
Class representing a persistent font setting and its current value.
- fontSettings - Variable in class mars.settings.Settings
- fontSize - Variable in class mars.util.HardcopyWriter
- foregroundColor - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- 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(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(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(int) - Method in class mars.venus.NumberDisplayBaseChooser
-
Produces a string form of a number given the value.
- 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.
- formatOperands(List<OperandType>, List<String>) - Static method in class mars.mips.instructions.Instruction
- formatSyntax(String, List<OperandType>, List<String>, boolean) - Static method in class mars.mips.instructions.Instruction
- formatUnsignedInteger(int) - Method in class mars.venus.NumberDisplayBaseChooser
-
Produces a string form of an unsigned integer 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.
- FP_REGISTER - Enum constant in enum class mars.assembler.OperandType
- FP_REGISTER_NAME - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a Coprocessor 1 (FPU) register referenced by name (e.g.
- FR_TYPE - Enum constant in enum class mars.mips.instructions.InstructionFormat
- FRAME_POINTER - Static variable in class mars.mips.hardware.Processor
- FROM_CURRENT - Enum constant in enum class mars.simulator.SystemIO.SeekWhence
-
The file offset is set to its current position plus
offset
bytes. - FROM_END - Enum constant in enum class mars.simulator.SystemIO.SeekWhence
-
The file offset is set to the size of the file plus
offset
bytes. - FROM_START - Enum constant in enum class mars.simulator.SystemIO.SeekWhence
-
The file offset is set to
offset
bytes. - fromIntegerValue(int) - Static method in enum class mars.assembler.token.TokenType
-
Determine the smallest integer
TokenType
which fits the given value, taking signedness into account. - fromKey(String) - Static method in enum class mars.assembler.AssemblerFlag
- fromLookAndFeelName(String) - Static method in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- fromName(String) - Static method in enum class mars.assembler.Directive
-
Find the directive which corresponds to the given name, if one exists.
- fromName(String) - Static method in enum class mars.assembler.OperandType
- FULL - Enum constant in enum class mars.tools.CacheSimulator.PlacementPolicy
- FunctionUnitVisualization(String, MipsXray.DatapathUnit) - Constructor for class mars.tools.MipsXray.FunctionUnitVisualization
-
Create the frame.
G
- GeneralPreferencesTab - Class in mars.venus.preferences
- GeneralPreferencesTab(Settings) - Constructor for class mars.venus.preferences.GeneralPreferencesTab
- generateExampleOperands(String, List<OperandType>) - Static method in class mars.mips.instructions.Instruction
- get() - Method in class mars.settings.BooleanSetting
-
Get the value currently stored in this setting.
- get() - Method in class mars.settings.ColorSetting
-
Get the value currently stored in this setting.
- get() - Method in class mars.settings.FontSetting
-
Get the value currently stored in this setting.
- get() - Method in class mars.settings.IntegerSetting
-
Get the value currently stored in this setting.
- get() - Method in class mars.settings.StringSetting
-
Get the value currently stored in this setting.
- get() - Method in class mars.settings.SyntaxStyleSetting
-
Get the value currently stored in this setting.
- get(int, int) - Method in class mars.venus.TableCache
- get(Object) - Method in class mars.util.StringTrie
-
Returns the value to which the specified key is mapped, or
null
if this map contains no mapping for the key. - getAction(String) - Static method in class mars.venus.editor.jeditsyntax.InputHandler
-
Returns a named text area action.
- getActionName(ActionListener) - Static method in class mars.venus.editor.jeditsyntax.InputHandler
-
Returns the name of the specified text area action.
- getAddress() - Method in class mars.assembler.Assembler.Segment
- getAddress() - Method in class mars.assembler.Symbol
-
Returns the address of the the Symbol.
- getAddress() - Method in exception mars.mips.hardware.AddressErrorException
-
Get the erroneous memory address.
- getAddress(int) - Method in class mars.mips.hardware.Memory
- getAddress(int) - Method in record class mars.mips.hardware.MemoryConfiguration
- getAddress(String) - Method in class mars.assembler.SymbolTable
-
Get the address associated with the given identifier.
- getAddressDisplayBase() - Method in class mars.venus.execute.ExecuteTab
-
Retrieve the number system base for displaying memory addresses
- getAddressDisplayBaseChooser() - Method in class mars.venus.execute.ExecuteTab
-
Retrieve component used to set numerical base (10 or 16) of address display.
- getAddressOfFirstNullWord(int, int) - Method in class mars.mips.hardware.Memory
-
Search for first "null" memory value in an address range, as indicated by the return value of
Memory.fetchWordOrNull(int)
. - getAlignedExampleSyntax() - Method in class mars.mips.instructions.Instruction
- getAllFamilies() - Static method in class mars.venus.EditorFont
-
Obtain an array of all available font family names.
- getAllInstructions() - Method in class mars.mips.instructions.InstructionSet
-
Retrieve the current instruction set.
- getAllMnemonics() - Method in class mars.mips.instructions.InstructionSet
- getAllSymbols() - Method in class mars.assembler.SymbolTable
-
Get all symbols in the table.
- getAsciiNonPrint() - Static method in class mars.Application
-
Read ASCII default display character for non-printing characters, from properties file.
- getAsciiTable() - Static method in class mars.Application
-
Read ASCII strings for codes 0-255, from
/config/values.properties
underAsciiTable
. - getAssembledStatements() - Method in class mars.assembler.Assembler
- getAutoIndent() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Constructs string for auto-indent feature.
- getBackStepper() - Method in class mars.simulator.Simulator
- 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() - Static method in class mars.util.MemoryDump
-
Get the MIPS memory base address(es) of the specified segment name(s).
- getBasicInstructions() - Method in class mars.mips.instructions.InstructionSet
- getBinaryEncoding() - Method in class mars.assembler.BasicStatement
- getBitWidth() - Method in enum class mars.assembler.OperandType
- getBracketHighlightColor() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the bracket highlight color.
- getBracketLine() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getBracketPosition() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getBreakpointCount() - Method in class mars.venus.execute.TextSegmentWindow
-
Returns number of breakpoints currently set.
- getByte(int, int) - Static method in class mars.util.Binary
-
Gets the specified byte of the specified value.
- getByteOrder() - Method in enum class mars.mips.hardware.Endianness
-
Get the Java standard library representation of this endianness value.
- getCallArguments(List<Token>) - Method in class mars.assembler.token.MacroHandler
-
Filter the tokens after a possible macro name to obtain the relevant tokens for a macro call.
- getCaretForeground() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the caret color.
- getCaretLine() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the caret line.
- getCaretPosition() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the caret position.
- getCaretPosition() - Method in interface mars.venus.editor.MARSTextEditingArea
- getChangeListeners() - Method in class mars.venus.FontChooserPane
- getChannel() - Method in class mars.simulator.SystemIO.FileHandle
- getChannel(int) - Method in class mars.simulator.SystemIO
-
Retrieve the byte channel corresponding to the given file descriptor.
- getCharactersPerLine() - Method in class mars.util.HardcopyWriter
-
Return the number of columns of characters that fit on the page
- getColorValue() - Method in class mars.venus.ColorSelectButton
- getColumnClass(int) - Method in class mars.tools.bhtsim.BHTableModel
-
Returns the class/type of the given column of the table.
- getColumnCount() - Method in class mars.tools.bhtsim.BHTableModel
-
Returns the number of columns.
- getColumnCount() - Method in class mars.venus.StaticTableModel
- getColumnIndex() - Method in class mars.assembler.log.SourceLocation
-
Get the column number referenced by this location, where the beginning of the line is column 0.
- getColumnName(int) - Method in class mars.tools.bhtsim.BHTableModel
-
Returns the name of the given column of the table.
- getColumnName(int) - Method in class mars.venus.StaticTableModel
- 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.venus.EditorFont
-
Obtain an array of common font family names.
- getCompactExpansionTemplate() - 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.
- 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.
- getConfigString(String) - Static method in class mars.Application
-
Obtain a configuration string from
/config/values.properties
. - getConfigString(String, String) - Static method in class mars.Application
-
Obtain a configuration string from
/config/values.properties
. - getConfiguration(String) - Static method in class mars.mips.hardware.MemoryConfigurations
- getConfigurations() - Static method in class mars.mips.hardware.MemoryConfigurations
- getConsole() - Method in class mars.venus.MessagesPane
-
Get the text area used to display runtime output to the user.
- getContent() - Method in class mars.assembler.log.LogMessage
-
Get the textual content of this message.
- getContent() - Method in class mars.assembler.syntax.DirectiveSyntax
- getContent() - Method in class mars.assembler.token.SourceLine
-
Get the raw source code of the line.
- getCoprocessor0Tab() - Method in class mars.venus.RegistersPane
-
Return component containing Coprocessor 0 (exceptions) register set.
- getCoprocessor1Tab() - Method in class mars.venus.RegistersPane
-
Return component containing Coprocessor 1 (floating point) register set.
- getCorrectCount() - Method in class mars.tools.bhtsim.BHTEntry
-
Get the absolute number of correct predictions.
- getCurrentConfiguration() - Static method in class mars.mips.hardware.MemoryConfigurations
- getCurrentEditorTab() - Method in class mars.venus.editor.EditTab
-
Get the currently selected editor tab.
- getCurrentEditorTab() - Method in class mars.venus.MainPane
-
Returns the current editor tab selected in the "Edit" tab.
- getCurrentEditorTab(File) - Method in class mars.venus.editor.EditTab
-
If the given file is open, make it the current tab.
- getCurrentLocation() - Method in class mars.assembler.syntax.SyntaxParser
- getCurrentPrediction() - Method in class mars.tools.bhtsim.BHTEntry
-
Returns the branch prediction based on the history.
- getCurrentSaveDirectory() - Method in class mars.venus.editor.Editor
-
Get name of current directory for Save or Save As operation.
- getCurrentSyntaxStyles(Settings) - Static method in class mars.venus.editor.jeditsyntax.SyntaxUtilities
-
Returns the CURRENT style table.
- getDataRegionForAddress(int) - Method in class mars.mips.hardware.Memory
-
Get the data memory region a given address is mapped to, if applicable.
- getDataSegmentWindow() - Method in class mars.venus.execute.ExecuteTab
-
Access the data segment window.
- getDataSymbols() - Method in class mars.assembler.SymbolTable
-
Get all symbols in the table which represent data.
- getDecoder() - Method in class mars.mips.instructions.InstructionSet
- getDefault() - Method in class mars.settings.BooleanSetting
-
Get the default value for this setting.
- getDefault() - Method in class mars.settings.ColorSetting
-
Get the theme default value for this setting.
- getDefault() - Method in class mars.settings.FontSetting
-
Get the default value for this setting.
- getDefault() - Method in class mars.settings.IntegerSetting
-
Get the default value for this setting.
- getDefault() - Method in class mars.settings.StringSetting
-
Get the default value for this setting.
- getDefault() - Method in class mars.settings.SyntaxStyleSetting
-
Get the theme default value for this setting.
- getDefaultConfiguration() - Static method in class mars.mips.hardware.MemoryConfigurations
- getDefaultSyntaxStyle() - Static method in class mars.venus.editor.jeditsyntax.SyntaxUtilities
-
Returns the default style table.
- getDefaultSyntaxStyle(int) - Method in class mars.settings.Settings
-
Obtain the default
SyntaxStyle
corresponding to a given token type. - getDefaultValue() - Method in class mars.mips.hardware.Register
-
Returns the default (initial) value of the register.
- getDescription() - Method in enum class mars.assembler.Directive
-
Get description of this directive (for help purposes).
- 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.editor.jeditsyntax.PopupHelpItem
- getDirective() - Method in class mars.assembler.syntax.DirectiveSyntax
- getDisabledValue() - Method in class mars.assembler.extended.FlagSubstitutionOperand
- getDisabledValue() - Method in class mars.assembler.extended.FlagSubstitutionStatement
- getDisplayName() - Method in enum class mars.assembler.log.LogLevel
- getDisplayName() - Method in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- getDocument() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the document this text area is editing.
- getDocument() - Method in interface mars.venus.editor.MARSTextEditingArea
- getDocumentLength() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getDot() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.MutableCaretEvent
- getDoubleFloat(int) - Static method in class mars.mips.hardware.Coprocessor1
-
Gets the double value stored in the given FPU register.
- getDumpFormat(String) - Static method in class mars.mips.dump.DumpFormatManager
-
Find the dump format corresponding a given command descriptor, if one exists.
- getDumpFormats() - Static method in class mars.mips.dump.DumpFormatManager
-
Get the list of dump formats to use, loading them if necessary.
- getEditor() - Method in class mars.venus.VenusUI
-
Get a reference to the text editor associated with this GUI.
- getEditorTab(File) - Method in class mars.venus.editor.EditTab
-
Get the editor tab corresponding to the given file, if the file is open.
- getEditorTabs() - Method in class mars.venus.editor.EditTab
-
Get the list of currently open editor tabs by iterating through the component list.
- getEditTab() - Method in class mars.venus.MainPane
-
Returns component containing editor display.
- getElectricScroll() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getEnabledValue() - Method in class mars.assembler.extended.FlagSubstitutionOperand
- getEnabledValue() - Method in class mars.assembler.extended.FlagSubstitutionStatement
- getEncodingDescriptor() - Method in class mars.mips.instructions.BasicInstruction
-
Get the 32-character operation mask.
- getEndianness() - Method in class mars.mips.hardware.Memory
-
Get the current endianness (i.e. byte ordering) in use.
- getEntryCountComboBox() - Method in class mars.tools.bhtsim.BHTSimGUI
-
Returns the combo box for selecting the number of BHT entries.
- getEOLMarkerColor() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the EOL marker color.
- getEOLMarkersPainted() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns true if EOL markers are drawn, false otherwise.
- getExact() - Method in class mars.venus.editor.jeditsyntax.PopupHelpItem
-
Determines whether match occurred in an exact-match or prefix-match search.
- getExample() - Method in class mars.venus.editor.jeditsyntax.PopupHelpItem
- getExampleLength() - Method in class mars.venus.editor.jeditsyntax.PopupHelpItem
- getExampleOperands() - Method in class mars.mips.instructions.Instruction
- getExamplePaddedToLength(int) - Method in class mars.venus.editor.jeditsyntax.PopupHelpItem
- getExampleSyntax() - Method in class mars.mips.instructions.Instruction
- getException() - Method in class mars.simulator.SimulatorFinishEvent
-
The exception causing the program to terminate (only applies to
SimulatorFinishEvent.Reason.EXCEPTION
). - getExecutePCRegister() - Static method in class mars.mips.hardware.Processor
-
Get the Register object for program counter.
- getExecuteProgramCounter() - Static method in class mars.mips.hardware.Processor
- getExecuteTab() - Method in class mars.venus.MainPane
-
Returns component containing execution-time display.
- getExitCode() - Method in exception mars.simulator.SimulatorException
-
Produce the error code passed by the program.
- getExpansion() - Method in class mars.assembler.extended.ExtendedStatement
- getExpansionTemplate() - Method in class mars.mips.instructions.ExtendedInstruction
- getExtendedInstructions() - Method in class mars.mips.instructions.InstructionSet
- getExtension(File) - Static method in class mars.util.FilenameFinder
-
Get the filename extension of the specified File.
- getFetchPCRegister() - Static method in class mars.mips.hardware.Processor
-
Get the Register object for program counter.
- getFile() - Method in class mars.venus.editor.FileEditorTab
-
Get the file represented by this tab.
- 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(String, String) - Static method in class mars.util.FilenameFinder
-
Get a FileFilter that will filter files based on the given filename extension.
- 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(List<String>, String) - Static method in class mars.util.FilenameFinder
-
Get a FileFilter that will filter files based on the given list of filename extensions.
- getFileFilter(List<String>, String, boolean) - Static method in class mars.util.FilenameFinder
-
Get a FileFilter that will filter files based on the given list of filename extensions.
- getFilename() - Method in class mars.assembler.log.SourceLocation
-
Get the name of the source file referenced by this location.
- getFilename() - Method in class mars.assembler.SymbolTable
- getFilename() - Method in class mars.assembler.token.SourceFile
- getFileOperationMessage() - Method in class mars.simulator.SystemIO
-
Get the string message indicating the result of the previous file operation.
- getFileStatus() - Method in class mars.venus.editor.FileEditorTab
-
Get the file status of this tab.
- getFileStatus() - Method in class mars.venus.VenusUI
-
Get the current status of the file being edited in the Edit tab (or
FileStatus.NO_FILE
if no files are being edited). - getFirstAddress() - Method in class mars.assembler.Assembler.Segment
- getFirstLine() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getFirstToken() - Method in class mars.assembler.syntax.DirectiveSyntax
- getFirstToken() - Method in class mars.assembler.syntax.LabelSyntax
- getFirstToken() - Method in class mars.assembler.syntax.StatementSyntax
- getFirstToken() - Method in interface mars.assembler.syntax.Syntax
- getFlag() - Method in class mars.assembler.extended.FlagSubstitutionOperand
- getFlag() - Method in class mars.assembler.extended.FlagSubstitutionStatement
- getFlags() - Method in class mars.simulator.SystemIO.FileHandle
-
Get the flags the byte channel was opened with.
- getFlags() - Method in enum class mars.venus.EditorFont.Style
- getFont() - Method in class mars.venus.AbstractFontSettingDialog
- getFont() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
- getFont() - Method in interface mars.venus.editor.MARSTextEditingArea
- getFontMetrics() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the font metrics used by this component.
- getFontMetrics(Font) - Method in class mars.venus.editor.jeditsyntax.SyntaxStyle
-
Returns the font metrics for the styled font.
- getFontMetrics(Font) - Method in interface mars.venus.editor.MARSTextEditingArea
- getForeground() - Method in class mars.venus.editor.jeditsyntax.SyntaxStyle
-
Returns the color specified in this style.
- getFormat() - Method in class mars.mips.instructions.BasicInstruction
-
Get the operand format of the instruction.
- getFunction() - Method in class mars.mips.instructions.BasicInstruction
- getGlobalSymbolTable() - Method in class mars.assembler.Assembler
- getGUI() - Static method in class mars.Application
- getGUI() - Method in class mars.venus.actions.VenusAction
- getHelpComponent() - Method in class mars.tools.AbstractMarsTool
-
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
-
Provide a Help button for this tool.
- getHelpComponent() - Method in class mars.tools.DigitalLabSimulator
- 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.
- getHelpComponent() - Method in class mars.tools.MipsXray
-
Overrides default method, to provide a Help button for this tool/app.
- getHelpComponent() - Method in class mars.tools.VisualStack
- getHighOrder() - Static method in class mars.mips.hardware.Processor
- getHighOrderRegister() - Static method in class mars.mips.hardware.Processor
- getHistoryAsString() - Method in class mars.tools.bhtsim.BHTEntry
-
Builds a string representation of the BHT entry's history.
- getHistorySizeComboBox() - Method in class mars.tools.bhtsim.BHTSimGUI
-
Returns the combo box for selecting the size of the BHT history.
- getHorizontalOffset() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the horizontal offset of drawn lines.
- getIcon() - Method in interface mars.tools.MarsTool
-
Return the icon you have chosen for this tool, which will be used for the menu item.
- getIconHeight() - Method in class mars.venus.SVGIcon
-
Get the icon's height.
- getIconWidth() - Method in class mars.venus.SVGIcon
-
Get the icon's width.
- getIdentifier() - Method in class mars.assembler.Symbol
-
Returns the label of the the Symbol.
- getIgnoreCase() - Method in class mars.venus.editor.jeditsyntax.KeywordMap
-
Returns true if the keyword map is set to be case insensitive, false otherwise.
- getIncorrectCount() - Method in class mars.tools.bhtsim.BHTEntry
-
Get the absolute number of mispredictions.
- getIndexForAddress(int) - Method in class mars.tools.bhtsim.BHTableModel
-
Returns the index into the BHT for a given branch instruction address.
- getInitialDelay() - Method in class mars.venus.RepeatButton
-
Gets the initial delay time before repetitions begin.
- getInitialValue() - Method in class mars.venus.FontChooserPane
- getInitialValueComboBox() - Method in class mars.tools.bhtsim.BHTSimGUI
-
Returns the combo box for selecting the initial value of the BHT
- getInputHandler() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- 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. syscall #5 to read an integer). - getInstance() - Static method in class mars.mips.hardware.Memory
-
Get the singleton memory instance.
- getInstance() - Static method in class mars.simulator.Simulator
-
Returns the singleton instance of the MIPS simulator.
- getInstruction() - Method in class mars.assembler.BasicStatement
- getInstruction() - Method in class mars.assembler.extended.ExpansionTemplate
- getInstruction() - Method in interface mars.assembler.extended.ExpansionTemplate.Statement
- getInstruction() - Method in class mars.assembler.extended.ExtendedStatement
- getInstruction() - Method in class mars.assembler.extended.FlagSubstitutionStatement
- getInstruction() - Method in class mars.assembler.extended.TemplateStatement
- getInstruction() - Method in class mars.assembler.syntax.StatementSyntax
- getInstructionAddressTextField() - Method in class mars.tools.bhtsim.BHTSimGUI
-
Returns the text field for displaying the address of the most recent branch instruction.
- getInstructionCategory(BasicStatement) - Method in class mars.tools.InstructionStatistics
-
decodes the instruction and determines the category of the instruction.
- getInstructionIndexTextField() - Method in class mars.tools.bhtsim.BHTSimGUI
-
Returns the text field for displaying the corresponding index into the BHT.
- getInstructionTextField() - Method in class mars.tools.bhtsim.BHTSimGUI
-
Returns the text field for displaying the most recent branch instruction.
- getInterval() - Method in class mars.venus.RepeatButton
-
Gets the interval time between repetitions after the initial delay.
- getInvalidLinesPainted() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns true if invalid lines are painted as red tildes (~), false otherwise.
- getKey() - Method in enum class mars.assembler.AssemblerFlag
- getKey() - Method in class mars.settings.BooleanSetting
-
Get the key used to identify this setting in
Preferences
. - getKey() - Method in class mars.settings.ColorSetting
-
Get the key used to identify this setting in
Preferences
. - getKey() - Method in class mars.settings.FontSetting
-
Get the key used to identify this setting in
Preferences
. - getKey() - Method in class mars.settings.IntegerSetting
-
Get the key used to identify this setting in
Preferences
. - getKey() - Method in class mars.settings.StringSetting
-
Get the key used to identify this setting in
Preferences
. - getKey() - Method in class mars.settings.SyntaxStyleSetting
-
Get the key used to identify this setting in
Preferences
. - getKey() - Method in class mars.util.StringTrie
- getKeywords() - Static method in class mars.venus.editor.jeditsyntax.tokenmarker.MIPSTokenMarker
-
Get KeywordMap containing all MIPS key words.
- getLabelName() - Method in class mars.assembler.syntax.LabelSyntax
- getLabelsWindow() - Method in class mars.venus.execute.ExecuteTab
-
Access the label values window.
- getLabelToken() - Method in class mars.assembler.syntax.LabelOperand
- getLastAddress() - Method in class mars.assembler.Assembler.Segment
- getLeadingWhiteSpace() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Makes a copy of leading white space (tab or space) from the current line and returns it.
- getLevel() - Method in class mars.assembler.log.LogMessage
-
Get the level of this message.
- getLimitAddresses() - Static method in class mars.util.MemoryDump
-
Get the MIPS memory limit address(es) of the specified segment name(s).
- getLineCount() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getLineCount() - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Returns the number of lines in this token marker.
- getLineEndOffset(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the end offset of the specified line.
- getLineHeight() - Method in class mars.venus.WrappingCellRenderer
- getLineHighlightColor() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the line highlight color.
- getLineIndex() - Method in class mars.assembler.log.SourceLocation
-
Get the line number referenced by this location, where the first line in the file is line 0.
- getLineLength(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the length of the specified line.
- getLineNumbersList(Document) - Static method in class mars.venus.editor.FileEditorTab
-
Form string with source code line numbers.
- getLineOfOffset(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the line containing the specified offset.
- getLines() - Method in class mars.assembler.token.Macro
-
Get the list of lines in the macro definition body.
- getLines() - Method in class mars.assembler.token.SourceFile
- getLinesPerPage() - Method in class mars.util.HardcopyWriter
-
Return the number of lines that fit on a page
- getLineStartOffset(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the start offset of the specified line.
- getLineText(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the text on the specified line.
- getLineText(int, Segment) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Copies the text on the specified line into a segment.
- getListeners() - Method in class mars.mips.hardware.Register
- getLiteral() - Method in class mars.assembler.token.Token
-
Get the underlying fragment of source code this token was created from.
- getLocalSymbolTable() - Method in class mars.assembler.Assembler
- getLocalSymbolTable(String) - Method in class mars.assembler.Assembler
- getLocation() - Method in class mars.assembler.log.LogMessage
-
Get the location in the source code this message refers to.
- getLocation() - Method in class mars.assembler.token.Macro
-
Get the location of the
.macro
directive which started this macro's definition. - getLocation() - Method in class mars.assembler.token.SourceLine
-
Get the location of this line in the source code.
- getLocation() - Method in class mars.assembler.token.Token
-
Get the location of this token in the source code.
- getLog() - Method in class mars.assembler.Assembler
- getLog() - Method in exception mars.assembler.log.AssemblyError
- getLogTextField() - Method in class mars.tools.bhtsim.BHTSimGUI
-
Returns the text area for logging purposes.
- getLookAndFeelName() - Method in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- getLowOrder() - Static method in class mars.mips.hardware.Processor
- getLowOrderRegister() - Static method in class mars.mips.hardware.Processor
- getMacroRecorder() - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Returns the macro recorder.
- getMagicCaretPosition() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the `magic' caret position.
- getMainPane() - Method in class mars.venus.VenusUI
-
Get a reference to the main pane associated with this GUI.
- getMark() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.MutableCaretEvent
- getMarkLine() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the mark line.
- getMarkPosition() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the mark position.
- getMask() - Method in enum class mars.assembler.OperandType
- getMaxErrorCount() - Method in class mars.assembler.log.AssemblerLog
-
Get the maximum number of errors which can be produced by a single assembler run.
- getMessageCount() - Method in class mars.assembler.log.AssemblerLog
-
Count the total number of logged messages, regardless of level.
- getMessageCount(LogLevel) - Method in class mars.assembler.log.AssemblerLog
-
Count the number of logged messages with a given level.
- getMessages() - Method in class mars.assembler.log.AssemblerLog
-
Get the list of all logged messages, regardless of level, in chronological order.
- getMessages() - Method in class mars.venus.MessagesPane
-
Get the text area used to display application messages to the user.
- getMessagesPane() - Method in class mars.venus.VenusUI
-
Get a reference to the messages pane associated with this GUI.
- getMinimumSize() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the painter's minimum size.
- getMnemonic() - Method in class mars.mips.instructions.Instruction
-
Get operation mnemonic
- getModifiers() - Method in class mars.assembler.extended.OperandSubstitution
- getName() - Method in enum class mars.assembler.Directive
-
Get the literal name of this directive, including the leading period.
- getName() - Method in enum class mars.assembler.OperandType
- getName() - Method in class mars.assembler.token.Macro
-
Get the name of this macro.
- getName() - Method in class mars.mips.hardware.Register
-
Returns the name of the register.
- 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.simulator.SystemIO.FileHandle
-
Get the name of the byte channel used by this handle.
- getName() - Method in class mars.tools.AbstractMarsTool
-
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.DigitalLabSimulator
- 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 interface mars.tools.MarsTool
-
Return the name you have chosen for this tool, which will be used for the menu item.
- getName() - Method in class mars.tools.MemoryReferenceVisualization
-
Required MarsTool method to return Tool name.
- getName() - Method in class mars.tools.MipsXray
-
Required method to return Tool name.
- getName() - Method in class mars.tools.VisualStack
- getName() - Method in class mars.venus.actions.VenusAction
- getName() - Method in enum class mars.venus.EditorFont.Style
- getName() - Method in class mars.venus.themes.SolarizedDarkLaf
- getName() - Method in class mars.venus.themes.SolarizedLightLaf
- getNextDefaultFilename() - Method in class mars.venus.editor.Editor
-
Generates the next default file name.
- getNextDescriptor() - Method in class mars.simulator.SystemIO.FileHandle
-
Get the descriptor of the next closed handle following this one.
- getNextHeapAddress() - Method in class mars.mips.hardware.Memory
-
Get the next address on the heap which will be used for dynamic memory allocation.
- getNumber() - Method in class mars.mips.hardware.Register
-
Returns the number 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.
- getOffset() - Method in class mars.assembler.syntax.LabelOperand
- getOpenHandle(int) - Method in class mars.simulator.SystemIO
-
Retrieve the file handle corresponding to the given file descriptor.
- getOperand(int) - Method in class mars.assembler.BasicStatement
- getOperandIndex() - Method in class mars.assembler.extended.OperandSubstitution
- getOperands() - Method in class mars.assembler.BasicStatement
- getOperands() - Method in class mars.assembler.extended.ExtendedStatement
- getOperands() - Method in class mars.assembler.extended.TemplateStatement
- getOperands() - Method in class mars.assembler.syntax.StatementSyntax
- getOperandTypes() - Method in class mars.mips.instructions.Instruction
- getOperationKey() - Method in class mars.mips.instructions.BasicInstruction
- getOperationMask() - Method in class mars.mips.instructions.BasicInstruction
- getOrDefault() - Method in class mars.settings.ColorSetting
-
Get the value currently stored in this setting if it is not
null
, or the theme default returned byColorSetting.getDefault()
otherwise. - getOrDefault() - Method in class mars.settings.SyntaxStyleSetting
-
Get the value currently stored in this setting if it is not
null
, or the theme default returned bySyntaxStyleSetting.getDefault()
otherwise. - getOrdinal() - Method in enum class mars.simulator.SystemIO.SeekWhence
-
Get the internal integer value associated with this "whence" value.
- getOriginalLine() - Method in class mars.assembler.token.SourceLine
-
Get the line in the macro definition or included file that this line was created from, if applicable.
- getOuterComponent() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
- getOuterComponent() - Method in interface mars.venus.editor.MARSTextEditingArea
- getPainter() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getPairValue(int) - Static method in class mars.mips.hardware.Coprocessor1
-
Gets a long representing the double value stored in the given double precision FPU register.
- getPairValue(int) - Static method in class mars.mips.hardware.Processor
-
Gets a long representing the value stored in the given register as well as the next register.
- getParameters() - Method in class mars.assembler.token.Macro
-
Get the list of parameters for this macro, each of which is a token whose type is
TokenType.MACRO_PARAMETER
. - getParsedStatements() - Method in class mars.assembler.Assembler
- getPrecision() - Method in class mars.tools.bhtsim.BHTEntry
-
Get the percentage of correct predictions.
- getPrediction(int) - Method in class mars.tools.bhtsim.BHTableModel
-
Retrieve the prediction for the i-th BHT entry.
- getPredictionAsStr() - Method in class mars.tools.bhtsim.BHTEntry
-
Returns a string representation of the BHT entry's current prediction.
- getPreferredSize() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the painter's preferred size.
- getPresentationName() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.CaretUndo
- getProcessorTab() - Method in class mars.venus.RegistersPane
-
Return component containing integer register set.
- getProgramArguments() - Method in class mars.venus.execute.TextSegmentWindow
-
Get program arguments from text field at the bottom of the text segment window.
- getProgramCounter() - Static method in class mars.mips.hardware.Processor
-
Get the current program counter value.
- getProgramStatus() - Method in class mars.venus.VenusUI
-
Get the current status of the overall program as it relates to the Execute tab.
- getReadableChannel(int) - Method in class mars.simulator.SystemIO
-
Retrieve the readable byte channel corresponding to the given file descriptor.
- getReason() - Method in class mars.simulator.SimulatorFinishEvent
-
The reason why the program finished or terminated.
- getReason() - Method in class mars.simulator.SimulatorPauseEvent
-
The reason why execution paused.
- getRegister(String) - Static method in class mars.mips.hardware.Coprocessor1
-
Get the register corresponding to a given register name.
- getRegister(String) - Static method in class mars.mips.hardware.Processor
-
Get the register object corresponding to a given name.
- getRegisterNumber(String) - Static method in class mars.mips.hardware.Coprocessor1
-
Get the register number corresponding to a given register name.
- 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.Processor
-
Get the set of accessible registers, including pc, hi, and lo.
- getRegistersPane() - Method in class mars.venus.VenusUI
-
Get reference to registers pane associated with this GUI.
- getRepeatCount() - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Returns the number of times the next action will be repeated.
- getResolvedStatements() - Method in class mars.assembler.Assembler
- getRightClickPopup() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the right click popup menu.
- getRowCount() - Method in class mars.tools.bhtsim.BHTableModel
-
Returns the number of entries of the BHT.
- getRowCount() - Method in class mars.venus.StaticTableModel
- getRunAssembleAction() - Method in class mars.venus.VenusUI
-
Get a reference to the Run->Assemble action.
- getRunSpeed() - Method in class mars.simulator.Simulator
-
Get the current run speed of the simulator in instructions per second.
- getSegment() - Method in class mars.assembler.Assembler
- 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.editor.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.editor.jeditsyntax.JEditTextArea
-
Returns the selected text, or null if no selection is active.
- getSelectedText() - Method in interface mars.venus.editor.MARSTextEditingArea
- getSelectionBackground() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the selection color.
- getSelectionEnd() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the selection end offset.
- getSelectionEnd() - Method in interface mars.venus.editor.MARSTextEditingArea
- getSelectionEnd(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the offset where the selection ends on the specified line.
- getSelectionEndLine() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the selection end line.
- getSelectionStart() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the selection start offset.
- getSelectionStart() - Method in interface mars.venus.editor.MARSTextEditingArea
- getSelectionStart(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the offset where the selection starts on the specified line.
- getSelectionStartLine() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the selection start line.
- getSettings() - Static method in class mars.Application
- getSettings() - Method in class mars.venus.VenusUI
- getShortcut() - Method in class mars.venus.actions.VenusAction
- getSingleFloat(int) - Static method in class mars.mips.hardware.Coprocessor1
-
Gets the float value stored in the given FPU register.
- getSize() - Method in class mars.assembler.SymbolTable
-
Get the count of entries currently in the table.
- getSizeBytes() - Method in class mars.assembler.extended.ExpansionTemplate
- getSizeBytes() - Method in class mars.mips.instructions.BasicInstruction
-
Get length in bytes that this instruction requires in its binary form.
- getSizeBytes() - Method in class mars.mips.instructions.ExtendedInstruction
-
Get length in bytes that this extended instruction requires in its binary form.
- getSizeBytes() - Method in class mars.mips.instructions.Instruction
-
Get length in bytes that this instruction requires in its binary form.
- getSortedBreakPointsArray() - Method in class mars.venus.execute.TextSegmentWindow
-
Returns array of current breakpoints, each represented by a MIPS program counter address.
- getSource() - Method in class mars.venus.editor.FileEditorTab
-
Get the source code text.
- getSourceFilenames() - Method in class mars.assembler.Assembler
- getSourceLine() - Method in class mars.assembler.syntax.DirectiveSyntax
- getSourceLine() - Method in class mars.assembler.syntax.LabelSyntax
- getSourceLine() - Method in class mars.assembler.syntax.StatementSyntax
- getSourceLine() - Method in interface mars.assembler.syntax.Syntax
- getSourceLineCount() - Method in class mars.venus.editor.FileEditorTab
-
Calculate and return number of lines in source code text.
- getStandardExpansionTemplate() - Method in class mars.mips.instructions.ExtendedInstruction
-
Get ArrayList of Strings that represent list of templates for basic instructions generated by this extended instruction.
- getStatements() - Method in class mars.assembler.extended.ExpansionTemplate
- getStepCount() - Method in class mars.simulator.SimulatorPauseEvent
-
The number of steps the simulator took (-1 if not applicable).
- getStepCount() - Method in class mars.simulator.SimulatorStartEvent
-
The maximum number of steps the simulator will take (-1 if not applicable).
- getStream(int) - Static method in class mars.mips.instructions.syscalls.RandomStreams
-
Get the pseudorandom number stream corresponding to the given index.
- getStringMapKey(String) - Method in class mars.venus.editor.jeditsyntax.KeywordMap
- getStyle(int) - Static method in class mars.venus.EditorFont
-
Given an int field of flags that represents a font style from the
Font
class, returns the correspondingEditorFont.Style
. - getStyle(String) - Static method in class mars.venus.EditorFont
-
Given the name of a font style, returns the corresponding
EditorFont.Style
. - getStyledFont(Font) - Method in class mars.venus.editor.jeditsyntax.SyntaxStyle
-
Returns the specified font, but with the style's bold and italic flags applied.
- getStyles() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the syntax styles used to paint colorized text.
- getSubTrie(String) - Method in class mars.util.StringTrie
- getSubTrieIfPresent(String) - Method in class mars.util.StringTrie
- getSVGActionIcon(String) - Static method in class mars.venus.VenusUI
-
Load an SVG action icon from the action icons folder (
Application.ACTION_ICONS_PATH
). - getSymbol(String) - Method in class mars.assembler.Assembler
- getSymbol(String) - Method in class mars.assembler.SymbolTable
-
Produce Symbol object from symbol table that corresponds to given String.
- getSymbolTable(String) - Method in class mars.assembler.Assembler
- getSyntax() - Method in class mars.assembler.BasicStatement
- getSyntax() - Method in class mars.assembler.extended.ExtendedStatement
- getSyntax() - Method in interface mars.assembler.Statement
- getSyntaxSensitiveToolTipText(int, int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Return any relevant tool tip text for token at specified position.
- getSyntaxStyle(int) - Method in class mars.settings.Settings
-
Obtain the user-defined
SyntaxStyle
corresponding to a given token type. - getSyntaxStyleOrDefault(int) - Method in class mars.settings.Settings
-
Obtain the current
SyntaxStyle
corresponding to a given token type. - getSyntaxStyles() - Method in class mars.settings.Settings
-
Obtain the user-defined
SyntaxStyle
s in the form of an array. - getSyntaxStylesOrDefault() - Method in class mars.settings.Settings
-
Obtain the current
SyntaxStyle
s in the form of an array. - getSyscall(int) - Static method in class mars.mips.instructions.SyscallManager
-
Find the syscall corresponding a given service number, if one exists.
- getSyscalls() - Static method in class mars.mips.instructions.SyscallManager
-
Get the list of syscalls to use, loading them if necessary.
- getSystemIO() - Method in class mars.simulator.Simulator
-
Obtain the associated
SystemIO
instance, which handles I/O-related syscall functionality. - getTable() - Method in class mars.tools.bhtsim.BHTSimGUI
-
Returns the table representing the BHT.
- getTable() - Method in class mars.venus.Coprocessor0Tab
- getTable() - Method in class mars.venus.Coprocessor1Tab
- getTable() - Method in class mars.venus.ProcessorTab
- getTable() - Method in class mars.venus.RegistersDisplayTab
- getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class mars.venus.SimpleCellRenderer
- getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class mars.venus.WrappingCellRenderer
- getTabSize() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Fetch the tab size in characters.
- getTerminalValue() - Method in class mars.util.StringTrie
- getText() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getText() - Method in interface mars.venus.editor.MARSTextEditingArea
- getText() - Method in class mars.venus.WrappingCellRenderer
- getText(int, int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the specified substring of the document.
- getText(int, int, Segment) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Copies the specified substring of the document into a segment.
- getTextArea(EventObject) - Static method in class mars.venus.editor.jeditsyntax.InputHandler
-
Returns the text area that fired the specified event.
- getTextRegionForAddress(int) - Method in class mars.mips.hardware.Memory
-
Get the text memory region a given address is mapped to, if applicable.
- getTextSegmentWindow() - Method in class mars.venus.execute.ExecuteTab
-
Access the text segment window.
- getTextSymbols() - Method in class mars.assembler.SymbolTable
-
Get all symbols in the table which represent text.
- getTitle() - Method in class mars.mips.instructions.Instruction
- getTokenDescriptions() - Static method in class mars.venus.editor.jeditsyntax.tokenmarker.MIPSTokenMarker
- getTokenExactMatchHelp(Token, String) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.MIPSTokenMarker
-
Construct and return any appropriate help information for the given token.
- getTokenExactMatchHelp(Token, String) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Construct and return any appropriate help information for the given token.
- getTokenExamples() - Static method in class mars.venus.editor.jeditsyntax.tokenmarker.MIPSTokenMarker
- getTokenizedFiles() - Method in class mars.assembler.Assembler
- getTokenMarker() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- getTokenMarker() - Method in class mars.venus.editor.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.editor.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.editor.jeditsyntax.tokenmarker.TokenMarker
-
Construct and return any appropriate help information for the given token or "token prefix".
- getTokens() - Method in class mars.assembler.token.SourceLine
-
Get the list of tokens that the line contains.
- getTokenText() - Method in class mars.venus.editor.jeditsyntax.PopupHelpItem
-
The document text that matched this item
- getTool() - Method in class mars.venus.actions.ToolAction
-
Get the
MarsTool
this action corresponds to. - getToolActions() - Static method in class mars.venus.ToolManager
-
Get the list of actions to fill the Tools menu, which may be empty.
- getToolMenuOrder() - Method in class mars.tools.IntroToTools
-
When making a custom tool, it is recommended that you remove this method.
- getToolMenuOrder() - Method in interface mars.tools.MarsTool
-
Return the tool menu order number.
- getToolTipText(MouseEvent) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns the tool tip to display at the specified location.
- getToolTipText(MouseEvent) - Method in interface mars.venus.editor.jeditsyntax.TextAreaPainter.Highlight
-
Returns the tool tip to display at the specified location.
- getToolTipText(MouseEvent) - Method in class mars.venus.RegistersTable
- getType() - Method in class mars.assembler.extended.FlagSubstitutionOperand
- getType() - Method in class mars.assembler.extended.OperandSubstitution
- getType() - Method in interface mars.assembler.extended.TemplateOperand
- getType() - Method in class mars.assembler.Operand
- getType() - Method in class mars.assembler.syntax.LabelOperand
- getType() - Method in interface mars.assembler.syntax.SyntaxOperand
- getType() - Method in class mars.assembler.token.Token
-
Get the type of this token.
- getType() - Method in exception mars.mips.hardware.AddressErrorException
-
Get the exception type (load or store).
- getType(OperandType) - Method in interface mars.assembler.extended.OperandModifier
- getUndoManager() - Method in class mars.venus.editor.FileEditorTab
-
Get the manager in charge of Undo and Redo operations
- getUndoManager() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Returns the undo manager for this editing area.
- getUndoManager() - Method in interface mars.venus.editor.MARSTextEditingArea
- getValue() - Method in class mars.assembler.extended.FlagSubstitutionOperand
- getValue() - Method in class mars.assembler.extended.FlagSubstitutionStatement
- getValue() - Method in class mars.assembler.Operand
- getValue() - Method in class mars.assembler.token.Token
-
Get the "value" this token represents, if any.
- getValue() - Method in class mars.mips.hardware.Register
-
Gets the value of the register, notifying listeners.
- getValue() - Method in class mars.venus.FontChooserPane
- getValue(int) - Static method in class mars.mips.hardware.Coprocessor0
-
Returns the value of the register whose number is given.
- getValue(int) - Static method in class mars.mips.hardware.Coprocessor1
-
Returns the value of the FPU register whose number is given.
- getValue(int) - Static method in class mars.mips.hardware.Processor
-
Returns the value of the register whose number is given.
- getValue(Operand, int) - Method in interface mars.assembler.extended.OperandModifier
- getValueAt(int, int) - Method in class mars.tools.bhtsim.BHTableModel
-
Returns the value of the cell at the given row and column.
- getValueAt(int, int) - Method in class mars.venus.StaticTableModel
- getValueDisplayBase() - Method in class mars.venus.execute.ExecuteTab
-
Retrieve the number system base for displaying values (mem/register contents)
- getValueDisplayBaseChooser() - Method in class mars.venus.execute.ExecuteTab
-
Retrieve component used to set numerical base (10 or 16) of data value display.
- getValueNoNotify() - Method in class mars.mips.hardware.Register
-
Gets the value of the register without notifying listeners.
- getVisibleLines() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns the number of lines visible in this text area.
- getWorkingDirectory() - Method in class mars.simulator.SystemIO
-
Get the working directory which is used to calculate relative paths when using
SystemIO.openFile(Path, int)
. - getWritableChannel(int) - Method in class mars.simulator.SystemIO
-
Retrieve the writable byte channel corresponding to the given file descriptor.
- GLOBAL_POINTER - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Initial global pointer ($gp).
- GLOBAL_POINTER - Static variable in class mars.mips.hardware.Processor
- GLOBL - Enum constant in enum class mars.assembler.Directive
- grabAction - Variable in class mars.venus.editor.jeditsyntax.InputHandler
- grabFocus() - Method in interface mars.venus.editor.MARSTextEditingArea
- grabNextKeyStroke(ActionListener) - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Grabs the next key typed event and invokes the specified action with the key as a the action command.
- graphics - Variable in class mars.tools.MipsXray
- gui - Variable in class mars.venus.AbstractFontSettingDialog
- gui - Variable in class mars.venus.actions.VenusAction
- gui - Variable in class mars.venus.RegistersDisplayTab
H
- HALF - Enum constant in enum class mars.assembler.Directive
- handleCharEscape(StringBuilder, SourceLocation, int, String, AssemblerLog) - Static method in class mars.assembler.token.Tokenizer
-
Handle an escape for a character or string literal.
- handleClose() - Method in class mars.tools.AbstractMarsTool
-
This method is called when tool/app is exited either through the "Close" button or the window's X button.
- handleExecuteBranchInstruction(int, boolean) - Method in class mars.tools.BHTSimulator
-
Handles the execution of the branch instruction.
- handleGrabAction(KeyEvent) - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
If a key is being grabbed, this method should be called with the appropriate key event.
- handlePlacement(Assembler, int) - Method in class mars.assembler.BasicStatement
- handlePlacement(Assembler, int) - Method in class mars.assembler.extended.ExtendedStatement
- handlePlacement(Assembler, int) - Method in interface mars.assembler.Statement
- handlePreBranchInst(int, BasicStatement) - Method in class mars.tools.BHTSimulator
-
Handles the execution branch instruction.
- HardcopyWriter - Class in mars.util
-
HardcopyWriter
class from the book "Java Examples in a Nutshell, 3rd Edition" by David Flanagan. - HardcopyWriter(Frame, String, int, double, double, double, double) - Constructor for class mars.util.HardcopyWriter
-
Construct a new HardcopyWriter.
- HardcopyWriter.PrintCanceledException - Exception in mars.util
-
This is the exception class that the HardcopyWriter constructor throws when the user clicks "Cancel" in the print dialog box.
- hasCompactVariant() - 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.
- hasExceededMaxErrorCount() - Method in class mars.assembler.log.AssemblerLog
-
Determine whether the current number of errors logged exceeds the maximum error count, indicating that the assembler should exit as soon as possible.
- hashCode() - Method in class mars.assembler.log.SourceLocation
- hashCode() - Method in record class mars.mips.hardware.MemoryConfiguration
-
Returns a hash code value for this object.
- hasHorizontalTabPlacement() - Method in class mars.venus.DynamicTabbedPane
-
Determine which axis is relevant for tab positioning based on tab placement.
- hasLabel(String) - Method in class mars.assembler.token.Macro
-
Determine whether a given label matches one defined in the macro definition.
- hasMacroName(String) - Method in class mars.assembler.token.MacroHandler
-
Determine whether the given name matches any defined macros.
- hasMessages(LogLevel) - Method in class mars.assembler.log.AssemblerLog
-
Determine whether at least one message has been logged with a given level.
- hasStarted() - Method in enum class mars.venus.execute.ProgramStatus
-
Determine whether the program has been previously started, but is not currently running.
- hasUnsavedEdits() - Method in class mars.venus.editor.FileEditorTab
- hasUnsavedEdits() - Method in enum class mars.venus.editor.FileStatus
-
Determine whether file has been modified since last save or, if not yet saved, since being created using New or Open.
- headerFont - Variable in class mars.util.HardcopyWriter
- headerMetrics - Variable in class mars.util.HardcopyWriter
- headerY - Variable in class mars.util.HardcopyWriter
- height - Variable in class mars.util.HardcopyWriter
- HELP_PATH - Static variable in class mars.Application
-
Path to the resources folder that contains help documentation.
- HelpAboutAction - Class in mars.venus.actions.help
-
Action for the Help -> About menu item.
- HelpAboutAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.help.HelpAboutAction
- HelpHelpAction - Class in mars.venus.actions.help
-
Action for the Help -> Help menu item.
- HelpHelpAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.help.HelpHelpAction
- HelpUpdateAction - Class in mars.venus.actions.help
-
Action for the Help -> Check for Updates menu item.
- HelpUpdateAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.help.HelpUpdateAction
- HEXADECIMAL - Static variable in class mars.venus.NumberDisplayBaseChooser
- hexadecimalDigitValue(int) - Static method in class mars.assembler.token.Tokenizer
-
Interpret the given character as a hexadecimal digit, if possible.
- HexadecimalKeyboard() - Constructor for class mars.tools.DigitalLabSimulator.HexadecimalKeyboard
- 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.
- HIGH_ORDER - Static variable in class mars.mips.hardware.Processor
- highlightCellForAddress(int) - Method in class mars.venus.execute.DataSegmentWindow
-
Scroll the viewport so the cell at the given data segment address is visible, vertically centered if possible, and highlighted (but not selected).
- highlightCurrentEditorLine - Variable in class mars.settings.Settings
-
Flag to control whether the editor will highlight the line currently being edited.
- highlightMessageSource(LogMessage) - Method in class mars.venus.MessagesPane
-
Will select the specified line in an editor tab.
- highlightRegister(Register) - Method in class mars.venus.Coprocessor0Tab
-
Highlight the row corresponding to the given register.
- highlightRegister(Register) - Method in class mars.venus.Coprocessor1Tab
-
Highlight the row corresponding to the given register.
- highlightRegister(Register) - Method in class mars.venus.ProcessorTab
-
Highlight the row corresponding to the given register.
- highlightRegister(Register) - Method in class mars.venus.RegistersDisplayTab
-
Highlight the row corresponding to the given register.
- highlightRow(int) - Method in class mars.venus.RegistersTable
-
Highlight the given row, removing highlighting from all other rows.
- highlights - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- highOrderIntToShort(int) - Static method in class mars.util.Binary
-
Returns a 16-bit integer representing the high-order 16 bits of a given 32-bit integer.
- highOrderLongToInt(long) - Static method in class mars.util.Binary
-
Returns a 32-bit integer representing the high-order 32 bits of a given 64-bit integer.
- HOME - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- HomeAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.HomeAction
- horizontal - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- horizontalOffset - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
I
- I_TYPE - Enum constant in enum class mars.mips.instructions.InstructionFormat
- I_TYPE_BRANCH - Enum constant in enum class mars.mips.instructions.InstructionFormat
- ICON_SIZE - Static variable in class mars.venus.VenusUI
-
Width and height in user pixels of icons in the tool bar and menus.
- id - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
The id of this token.
- ID_COUNT - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
The total number of defined token ids.
- identifier() - Method in record class mars.mips.hardware.MemoryConfiguration
-
Returns the value of the
identifier
record component. - IDENTIFIER - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing an identifier (e.g.
- IMAGES_PATH - Static variable in class mars.Application
-
Path to the resources folder that contains images.
- INCLUDE - Enum constant in enum class mars.assembler.Directive
-
Added by DPS on 11 Jan 2013.
- incrementAddress(int) - Method in class mars.assembler.Assembler.Segment
- incrementProgramCounter(int) - Static method in class mars.mips.hardware.Processor
- INDENT_LEFT - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- INDENT_RIGHT - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- IndentLeft() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.IndentLeft
- IndentRight() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.IndentRight
- index - Variable in class mars.tools.MipsXray.Vertex
- info(SourceLocation, String) - Static method in class mars.assembler.log.LogMessage
-
Create a new
LogMessage
with levelLogLevel.INFO
. - INFO - Enum constant in enum class mars.assembler.log.LogLevel
- init - Variable in class mars.tools.MipsXray.Vertex
- init(JEditTextArea, TextAreaPainter.Highlight) - Method in interface mars.venus.editor.jeditsyntax.TextAreaPainter.Highlight
-
Called after the highlight painter has been added.
- initialize() - Static method in class mars.Application
-
Method called once upon system initialization to create the global data structures.
- initialize(int, int, boolean) - Method in class mars.tools.bhtsim.BHTableModel
-
Initializes the BHT with the given size and history.
- initializePostGUI() - Method in class mars.tools.AbstractMarsTool
-
Method that will be called once just after the GUI is constructed in the go() and action() methods.
- 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.
- initializePostGUI() - Method in class mars.tools.VisualStack
- initializePreGUI() - Method in class mars.tools.AbstractMarsTool
-
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
-
Set the MMIO addresses.
- initializePreGUI() - Method in class mars.tools.MemoryReferenceVisualization
-
Initialize all JComboBox choice structures not already initialized at declaration.
- initializePreGUI() - Method in class mars.tools.VisualStack
- initializeProgramCounter(boolean) - Static method in class mars.mips.hardware.Processor
-
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.
- initializeProgramCounter(int) - Static method in class mars.mips.hardware.Processor
-
Initialize the Program Counter.
- inputHandler - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- inputHandler - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- InputHandler - Class in mars.venus.editor.jeditsyntax
-
An input handler converts the user's key strokes into concrete actions.
- InputHandler() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler
- InputHandler.BackspaceAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.BackspaceWordAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.ClipboardCopyAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.ClipboardCutAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.ClipboardPasteAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.DeleteAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.DeleteWordAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.DocumentEndAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.DocumentHomeAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.EndAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.HomeAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.IndentLeft - Class in mars.venus.editor.jeditsyntax
- InputHandler.IndentRight - Class in mars.venus.editor.jeditsyntax
- InputHandler.InsertCharAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.InsertNewlineAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.InsertTabAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.MacroRecorder - Interface in mars.venus.editor.jeditsyntax
-
Macro recorder.
- InputHandler.MoveLineDown - Class in mars.venus.editor.jeditsyntax
- InputHandler.MoveLineUp - Class in mars.venus.editor.jeditsyntax
- InputHandler.NewLineAfterAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.NewLineBeforeAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.NextCharAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.NextLineAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.NextPageAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.NextWordAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.NonRecordable - Interface in mars.venus.editor.jeditsyntax
-
If an action implements this interface, it should not be recorded by the macro recorder.
- InputHandler.NonRepeatable - Interface in mars.venus.editor.jeditsyntax
-
If an action implements this interface, it should not be repeated.
- InputHandler.PrevCharAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.PrevLineAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.PrevPageAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.PrevWordAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.RepeatAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.SelectAllAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.ToggleOverwriteAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.ToggleRectangularAction - Class in mars.venus.editor.jeditsyntax
- InputHandler.Wrapper - Interface in mars.venus.editor.jeditsyntax
-
For use by EditAction.Wrapper only.
- INSERT_BREAK - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- INSERT_CHAR - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- INSERT_TAB - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- InsertCharAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.InsertCharAction
- insertLines(int, int) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Informs the token marker that lines have been inserted into the document.
- InsertNewlineAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.InsertNewlineAction
- insertTab(String, Icon, Component, String, int) - Method in class mars.venus.DynamicTabbedPane
-
Insert a new tab for the given component, at the given index, represented by the given title and/or icon, either of which may be
null
. - InsertTabAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.InsertTabAction
- insertUpdate(DocumentEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.DocumentHandler
- instantiate(Macro, List<Token>, SourceLine, AssemblerLog) - Method in class mars.assembler.token.MacroHandler
-
Generate a macro call expansion using the given arguments.
- Instruction - Class in mars.mips.instructions
-
Base class to represent member of MIPS instruction set.
- Instruction(String, List<OperandType>, String, String) - Constructor for class mars.mips.instructions.Instruction
- INSTRUCTION - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Keyword 1 token id.
- INSTRUCTION_LENGTH_BITS - Static variable in class mars.mips.instructions.Instruction
- InstructionCounter - Class in mars.tools
-
Instruction counter tool.
- InstructionCounter() - Constructor for class mars.tools.InstructionCounter
-
Construct an instance of this tool.
- InstructionDecoder - Class in mars.mips.instructions
- InstructionDecoder() - Constructor for class mars.mips.instructions.InstructionDecoder
- InstructionFormat - Enum Class in mars.mips.instructions
-
These are the MIPS-defined formats of basic machine instructions.
- instructionSet - Static variable in class mars.Application
-
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() - Constructor for class mars.tools.InstructionStatistics
-
Construct an instance of this tool.
- INTEGER_15_UNSIGNED - Enum constant in enum class mars.assembler.OperandType
- INTEGER_15_UNSIGNED - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing an unsigned integer which can fit in 15 bits.
- INTEGER_16 - Enum constant in enum class mars.assembler.OperandType
- INTEGER_16_SIGNED - Enum constant in enum class mars.assembler.OperandType
- INTEGER_16_SIGNED - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a signed integer which can fit in 16 bits.
- INTEGER_16_UNSIGNED - Enum constant in enum class mars.assembler.OperandType
- INTEGER_16_UNSIGNED - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing an unsigned integer which can fit in 16 bits.
- INTEGER_3_UNSIGNED - Enum constant in enum class mars.assembler.OperandType
- INTEGER_3_UNSIGNED - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing an unsigned integer which can fit in 3 bits.
- INTEGER_32 - Enum constant in enum class mars.assembler.OperandType
- INTEGER_32 - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a 32-bit integer, signed or unsigned.
- INTEGER_5_UNSIGNED - Enum constant in enum class mars.assembler.OperandType
- INTEGER_5_UNSIGNED - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing an unsigned integer which can fit in 5 bits.
- IntegerSetting - Class in mars.settings
-
Class representing a persistent integer setting and its current value.
- integerSettings - Variable in class mars.settings.Settings
- IntelHexDumpFormat - Class in mars.mips.dump
-
Intel's Hex memory initialization format
- IntelHexDumpFormat() - Constructor for class mars.mips.dump.IntelHexDumpFormat
-
Constructor.
- INTERNAL_ERROR - Enum constant in enum class mars.simulator.SimulatorFinishEvent.Reason
-
An unhandled internal error occurred during execution, causing the simulator thread to terminate prematurely.
- INTERNAL_FIRST - Static variable in class mars.venus.editor.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.editor.jeditsyntax.tokenmarker.Token
-
The last id that can be used for internal state in a token marker.
- IntroToTools - Class in mars.tools
-
The "hello world" of MarsTools!
- IntroToTools() - Constructor for class mars.tools.IntroToTools
-
Construct an instance of this tool.
- 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) - Static method in class mars.util.Binary
-
Translate int value into a String consisting of '1's and '0's.
- intToBinaryString(int, 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(int)
. - INVALID - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Invalid token id.
- invalidateLine(int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Marks a line as needing a repaint.
- invalidateLineRange(int, int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Marks a range of lines as needing a repaint.
- invalidateSelectedLines() - Method in class mars.venus.editor.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.
- isActive - Variable in class mars.tools.MipsXray.Vertex
- isAutoAlignmentEnabled() - Method in class mars.assembler.Assembler
- isBlockCaretEnabled() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns true if the caret should be drawn as a block, false otherwise.
- isBold() - Method in class mars.venus.editor.jeditsyntax.SyntaxStyle
-
Returns true if boldface is enabled for this style.
- isBracketHighlightEnabled() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns true if bracket highlighting is enabled, false otherwise.
- isBranchInstruction(BasicStatement) - Static method in class mars.tools.BHTSimulator
-
Determines if the instruction is a branch instruction or not.
- isCaretBlinkEnabled() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- isCaretVisible() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- isCellEditable(int, int) - Method in class mars.venus.StaticTableModel
- isControlTransferInstruction() - Method in class mars.mips.instructions.BasicInstruction
- isData() - Method in class mars.assembler.Assembler.Segment
- isData() - Method in class mars.assembler.Symbol
-
Finds the type of symbol, text or data.
- isDirectiveContinuation() - Method in enum class mars.assembler.token.TokenType
- isDoublewordAligned(int) - Static method in class mars.mips.hardware.Memory
-
Determine whether a given address is aligned on a doubleword boundary.
- isEditable() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns true if this text area is editable, false otherwise.
- isEmpty() - Method in class mars.simulator.BackStepper
-
Test whether there are steps that can be undone.
- isEnabled() - Method in enum class mars.assembler.AssemblerFlag
- isEnabled() - Method in class mars.simulator.BackStepper
-
Determine whether execution "undo" steps are currently being recorded.
- isFirstInteraction - Variable in class mars.tools.MipsXray.Vertex
- isFloatingPoint() - Method in enum class mars.assembler.token.TokenType
-
Determine whether this token type is a floating-point number (i.e.
- isHalfwordAligned(int) - Static method in class mars.mips.hardware.Memory
-
Determine whether a given address is aligned on a halfword boundary.
- isHex(String) - Static method in class mars.util.Binary
-
Parsing method to see if a string represents a hex number.
- isInDataSegment(int) - Method in class mars.mips.hardware.Memory
-
Determine whether the given memory address is contained within the data segment, as defined by the current memory configuration.
- isInKernelDataSegment(int) - Method in class mars.mips.hardware.Memory
-
Determine whether the given memory address is contained within the kernel data segment, as defined by the current memory configuration.
- isInKernelTextSegment(int) - Method in class mars.mips.hardware.Memory
-
Determine whether the given memory address is contained within the kernel text segment, as defined by the current memory configuration.
- isInMemoryMappedIO(int) - Method in class mars.mips.hardware.Memory
-
Determine whether the given memory address is contained within the memory-mapped I/O range, as defined by the current memory configuration.
- isInteger() - Method in enum class mars.assembler.OperandType
- isInteger() - Method in enum class mars.assembler.token.TokenType
-
Determine whether this token type is an integer (i.e.
- isInTextSegment(int) - Method in class mars.mips.hardware.Memory
-
Determine whether the given memory address is contained within the text segment, as defined by the current memory configuration.
- isItalic() - Method in class mars.venus.editor.jeditsyntax.SyntaxStyle
-
Returns true if italics is enabled for this style.
- isLimitingRunSpeed() - Method in class mars.simulator.Simulator
-
Determine whether the current run speed of the simulator is limited (that is, any value other than
Simulator.UNLIMITED_SPEED
). - isLineHighlightEnabled() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Returns true if line highlight is enabled, false otherwise.
- isMovingHorizontally - Variable in class mars.tools.MipsXray.Vertex
- isNew() - Method in class mars.venus.editor.FileEditorTab
- isNew() - Method in enum class mars.venus.editor.FileStatus
-
Determine whether file is "new", which means created using New but not yet saved.
- isNextLineRequested() - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Returns true if the next line should be repainted.
- isOctal(String) - Static method in class mars.util.Binary
-
Parsing method to see if a string represents an octal number.
- isOpen() - Method in class mars.simulator.SystemIO.FileHandle
-
Determine whether this handle is open or closed.
- isOverwriteEnabled() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Returns true if overwrite mode is enabled, false otherwise.
- isPlain() - Method in class mars.venus.editor.jeditsyntax.SyntaxStyle
-
Returns true if no font styles are enabled.
- isRepeatEnabled() - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Returns if repeating is enabled.
- isRepeatEnabled() - Method in class mars.venus.RepeatButton
-
Checks if the button should fire events when held.
- isRunnable() - Method in enum class mars.venus.execute.ProgramStatus
-
Determine whether the program is able to run, but is not currently running.
- isRunning() - Method in class mars.simulator.Simulator
- isSelectionRectangular() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- isSignificant() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.CaretUndo
- isSPIMStyleMacroParameter() - Method in class mars.assembler.token.Token
-
Determine whether this token is a valid SPIM-style macro parameter.
- isText - Variable in class mars.tools.MipsXray.Vertex
- isText() - Method in class mars.assembler.Symbol
-
Finds the type of symbol, text or data.
- isUsingCompactAddressSpace() - Method in class mars.mips.hardware.Memory
-
Determine whether the current memory configuration fits a 16-bit address space.
- isUsingX11() - Static method in class mars.util.NativeUtilities
-
Determine whether AWT is currently running on the X11 windowing system.
- isValidIdentifier(String) - Static method in class mars.assembler.token.Tokenizer
-
COD2, A-51: "Identifiers are a sequence of alphanumeric characters, underbars (_), and dots (.) that do not begin with a number."
- isWordAligned(int) - Static method in class mars.mips.hardware.Memory
-
Determine whether a given address is aligned on a word boundary.
- isWorkspaceStateSavingEnabled() - Method in class mars.venus.VenusUI
-
Determine whether calls to
VenusUI.saveWorkspaceState()
have any effect. - ITALIC - Enum constant in enum class mars.venus.EditorFont.Style
J
- J_TYPE - Enum constant in enum class mars.mips.instructions.InstructionFormat
- JEditBasedTextArea - Class in mars.venus.editor.jeditsyntax
-
Adaptor subclass for
JEditTextArea
. - JEditBasedTextArea(FileEditorTab, Settings, JComponent) - Constructor for class mars.venus.editor.jeditsyntax.JEditBasedTextArea
- JEditTextArea - Class in mars.venus.editor.jeditsyntax
-
jEdit's text area component.
- JEditTextArea(Settings, JComponent) - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea
-
Creates a new JEditTextArea with the default settings.
- JEditTextArea(TextAreaDefaults, JComponent) - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea
-
Creates a new JEditTextArea with the specified settings.
- JEditTextArea.AdjustHandler - Class in mars.venus.editor.jeditsyntax
- JEditTextArea.CaretUndo - Class in mars.venus.editor.jeditsyntax
- JEditTextArea.ComponentHandler - Class in mars.venus.editor.jeditsyntax
- JEditTextArea.DocumentHandler - Class in mars.venus.editor.jeditsyntax
- JEditTextArea.DragHandler - Class in mars.venus.editor.jeditsyntax
- JEditTextArea.FocusHandler - Class in mars.venus.editor.jeditsyntax
- JEditTextArea.MouseHandler - Class in mars.venus.editor.jeditsyntax
- JEditTextArea.MouseWheelHandler - Class in mars.venus.editor.jeditsyntax
-
Allows use of mouse wheel to scroll.
- JEditTextArea.MutableCaretEvent - Class in mars.venus.editor.jeditsyntax
- JEditTextArea.ScrollLayout - Class in mars.venus.editor.jeditsyntax
- job - Variable in class mars.util.HardcopyWriter
- jobName - Variable in class mars.util.HardcopyWriter
- JUMP_LABEL - Enum constant in enum class mars.assembler.OperandType
K
- KDATA - Enum constant in enum class mars.assembler.Directive
- KERNEL_0 - Static variable in class mars.mips.hardware.Processor
- KERNEL_1 - Static variable in class mars.mips.hardware.Processor
- KERNEL_DATA_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest kernel data segment address.
- KERNEL_DATA_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest kernel data segment address.
- KERNEL_MODE - Static variable in class mars.venus.execute.DataSegmentWindow
- KERNEL_TEXT_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest kernel text segment address.
- KERNEL_TEXT_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest kernel text segment address.
- kernelDataSegment - Variable in class mars.assembler.Assembler
- kernelTextSegment - Variable in class mars.assembler.Assembler
- KeyboardAndDisplaySimulator - Class in mars.tools
-
Keyboard and Display Simulator.
- KeyboardAndDisplaySimulator() - Constructor for class mars.tools.KeyboardAndDisplaySimulator
-
Construct an instance of this tool.
- keyPressed(KeyEvent) - Method in class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Handle a key pressed event.
- keyTyped(KeyEvent) - Method in class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Handle a key typed event.
- KeywordMap - Class in mars.venus.editor.jeditsyntax
-
A
KeywordMap
is similar to a hashtable in that it maps keys to values. - KeywordMap(boolean) - Constructor for class mars.venus.editor.jeditsyntax.KeywordMap
-
Creates a new
KeywordMap
. - KeywordMap(boolean, int) - Constructor for class mars.venus.editor.jeditsyntax.KeywordMap
-
Creates a new
KeywordMap
. - KTEXT - Enum constant in enum class mars.assembler.Directive
L
- label - Variable in class mars.tools.MipsXray
- LABEL - Enum constant in enum class mars.assembler.OperandType
- LABEL - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Label token id.
- LABEL_OFFSET - Enum constant in enum class mars.assembler.OperandType
- LabelOperand - Class in mars.assembler.syntax
- LabelOperand(Token) - Constructor for class mars.assembler.syntax.LabelOperand
- LabelOperand(Token, int) - Constructor for class mars.assembler.syntax.LabelOperand
- LabelSyntax - Class in mars.assembler.syntax
- LabelSyntax(SourceLine, Token, String) - Constructor for class mars.assembler.syntax.LabelSyntax
- labelWindowVisible - Variable in class mars.settings.Settings
-
Flag to control whether the symbol table window will be visible upon successful assembly in the Execute tab.
- lastAddress - Variable in class mars.tools.InstructionCounter
-
The last address we saw.
- lastAddress - Variable in class mars.tools.InstructionStatistics
-
The last address we saw.
- lastAddress - Variable in class mars.tools.MipsXray
- lastLine - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
The last tokenized line.
- lastToken - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
The last token in the list.
- layoutContainer(Container) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.ScrollLayout
- LEFT_OF_SCROLLBAR - Static variable in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Adding components with this name to the text area will place them left of the horizontal scroll bar.
- LEFT_PAREN - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a left parenthesis (i.e.
- leftX - Variable in class mars.util.HardcopyWriter
- length - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
The length of this token.
- length - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
The number of lines in the model being tokenized.
- lineAscent - Variable in class mars.util.HardcopyWriter
- lineHeight - Variable in class mars.util.HardcopyWriter
- lineHighlight - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- lineHighlightColor - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- lineHighlightColor - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- lineHighlightVisible - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- lineInfo - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
An array for storing information about lines.
- LineInfo() - Constructor for class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker.LineInfo
-
Creates a new LineInfo object with token =
Token.NULL
and obj = null. - LineInfo(byte, Object) - Constructor for class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker.LineInfo
-
Creates a new LineInfo object with the specified parameters.
- lineNum - Variable in class mars.util.HardcopyWriter
- lineSegment - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- linesPerPage - Variable in class mars.util.HardcopyWriter
- lineToY(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Converts a line index to a y co-ordinate.
- listenerList - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- LITTLE_ENDIAN - Enum constant in enum class mars.mips.hardware.Endianness
-
The bytes of a multibyte value are ordered from least significant to most significant.
- loadBasicInstructions() - Method in class mars.mips.instructions.InstructionSet
- loadExtendedInstructions() - Method in class mars.mips.instructions.InstructionSet
- loadValues() - Method in class mars.settings.Settings
-
Load application-wide settings.
- loadWorkspaceState() - Method in class mars.venus.VenusUI
-
Load the state of the previous workspace from permanent storage, which includes the paths of the files that were open.
- log(LogLevel, SourceLocation, String) - Method in class mars.assembler.log.AssemblerLog
- log(LogMessage) - Method in class mars.assembler.log.AssemblerLog
-
Log a message for the current assembler run.
- logCompatibilityWarning(SourceLocation, String) - Method in class mars.assembler.Assembler
- logError(SourceLocation, String) - Method in class mars.assembler.Assembler
- logError(SourceLocation, String) - Method in class mars.assembler.log.AssemblerLog
- LOGICAL_HIGH_ORDER - Static variable in interface mars.assembler.extended.OperandModifier
- LOGICAL_LOW_ORDER - Static variable in interface mars.assembler.extended.OperandModifier
- logInfo(SourceLocation, String) - Method in class mars.assembler.Assembler
- logInfo(SourceLocation, String) - Method in class mars.assembler.log.AssemblerLog
- LogLevel - Enum Class in mars.assembler.log
- LogMessage - Class in mars.assembler.log
-
Represents occurrence of an error detected during tokenizing, assembly or simulation.
- LogMessage(LogLevel, SourceLocation, String) - Constructor for class mars.assembler.log.LogMessage
-
Create a new
LogMessage
. - logWarning(SourceLocation, String) - Method in class mars.assembler.Assembler
- logWarning(SourceLocation, String) - Method in class mars.assembler.log.AssemblerLog
- 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.
- lookAndFeelName - Variable in class mars.settings.Settings
-
The name of the look and feel to use for the GUI.
- lookup(Segment, int, int) - Method in class mars.venus.editor.jeditsyntax.KeywordMap
-
Looks up a key.
- LOW_ORDER - Static variable in class mars.mips.hardware.Processor
- lowOrderIntToShort(int) - Static method in class mars.util.Binary
-
Returns a 16-bit integer representing the low-order 16 bits of a given 32-bit integer.
- lowOrderLongToInt(long) - Static method in class mars.util.Binary
-
Returns a 32-bit integer representing the low-order 32 bits of a given 64-bit integer.
- LRU - Enum constant in enum class mars.tools.CacheSimulator.ReplacementPolicy
M
- MAC_DARK - Enum constant in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- MAC_LIGHT - Enum constant in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- Macro - Class in mars.assembler.token
-
Stores information about a macro definition for use by
MacroHandler
. - Macro(SourceLocation, String, List<Token>) - Constructor for class mars.assembler.token.Macro
-
Create a new macro with the given signature.
- MACRO - Enum constant in enum class mars.assembler.Directive
-
Added by Mohammad Sekhavat in Oct 2012.
- MACRO_ARGUMENT - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Macro parameter token.
- MACRO_PARAMETER - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a macro parameter starting with
%
or$
(e.g. - MacroHandler - Class in mars.assembler.token
-
A class used by the
Preprocessor
to handle macro definition, lookup, and expansion. - MacroHandler() - Constructor for class mars.assembler.token.MacroHandler
-
Create a new
MacroHandler
with no defined macros. - magicCaret - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- main(String[]) - Static method in class mars.MarsLauncher
-
Launch MARS Red as a standalone executable with the given command-line arguments.
- MainPane - Class in mars.venus
-
Creates the tabbed areas in the UI and also creates the internal windows that exist in them.
- MainPane(VenusUI, Editor) - Constructor for class mars.venus.MainPane
-
Constructor for the MainPane class.
- makeSymbolGlobal(Token) - Method in class mars.assembler.Assembler
- MAPPED_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest mapped address.
- MAPPED_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest mapped address.
- markTokens(Segment, int) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
A wrapper for the lower-level
TokenMarker.markTokensImpl(byte, Segment, int)
method that is called to split a line up into tokens. - markTokensImpl(byte, Segment, int) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.MIPSTokenMarker
- markTokensImpl(byte, Segment, int) - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
An abstract method that splits a line up into tokens.
- mars - package mars
- mars.assembler - package mars.assembler
- mars.assembler.extended - package mars.assembler.extended
- mars.assembler.log - package mars.assembler.log
- mars.assembler.syntax - package mars.assembler.syntax
- mars.assembler.token - package mars.assembler.token
- 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.settings - package mars.settings
- mars.simulator - package mars.simulator
- mars.tools - package mars.tools
- mars.tools.bhtsim - package mars.tools.bhtsim
- mars.util - package mars.util
- mars.venus - package mars.venus
- mars.venus.actions - package mars.venus.actions
- mars.venus.actions.edit - package mars.venus.actions.edit
- mars.venus.actions.file - package mars.venus.actions.file
- mars.venus.actions.help - package mars.venus.actions.help
- mars.venus.actions.run - package mars.venus.actions.run
- mars.venus.actions.settings - package mars.venus.actions.settings
- mars.venus.editor - package mars.venus.editor
- mars.venus.editor.jeditsyntax - package mars.venus.editor.jeditsyntax
- mars.venus.editor.jeditsyntax.tokenmarker - package mars.venus.editor.jeditsyntax.tokenmarker
- mars.venus.execute - package mars.venus.execute
- mars.venus.preferences - package mars.venus.preferences
- mars.venus.preferences.components - package mars.venus.preferences.components
- mars.venus.themes - package mars.venus.themes
- MarsLauncher - Class in mars
-
Launcher for the MARS application, both command line and GUI.
- MarsLauncher(String[]) - Constructor for class mars.MarsLauncher
-
Launch an instance of MARS Red with the given command-line arguments.
- MARSTextEditingArea - Interface in mars.venus.editor
-
Specifies capabilities that any text 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
- matchBasicMnemonic(String) - Method in class mars.mips.instructions.InstructionSet
-
Given an operator mnemonic, will return the corresponding Instruction object(s) from the instruction set.
- matchExtendedMnemonic(String) - Method in class mars.mips.instructions.InstructionSet
-
Given an operator mnemonic, will return the corresponding Instruction object(s) from the instruction set.
- matchInstruction(List<T>, List<OperandType>) - Static method in class mars.mips.instructions.InstructionSet
- matchInstructionLoosely(List<T>, List<OperandType>) - Static method in class mars.mips.instructions.InstructionSet
- matchMnemonic(String) - Method in class mars.mips.instructions.InstructionSet
-
Given an operator mnemonic, will return the corresponding Instruction object(s) from the instruction set.
- matchMnemonicPrefix(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.
- matchNamePrefix(String) - Static method in enum class mars.assembler.Directive
-
Find the directives, if any, which start with the given prefix.
- MAX_BLINK_RATE - Static variable in class mars.venus.editor.Editor
- MAX_FONT_SIZE - Static variable in class mars.venus.FontChooserPane
- MAX_SIZE - Static variable in class mars.venus.EditorFont
- MAX_TAB_SIZE - Static variable in class mars.venus.editor.Editor
- maxBacksteps - Variable in class mars.settings.Settings
-
Maximum number of "backstep" operations that can be taken.
- maxExampleLength(ArrayList<PopupHelpItem>) - Static method in class mars.venus.editor.jeditsyntax.PopupHelpItem
-
Utility method.
- MAXIMUM_BACKSTEPS - Static variable in class mars.Application
-
Maximum number of back-step operations to buffer.
- MAXIMUM_CHARACTER_COUNT - Static variable in class mars.venus.ConsoleTextArea
- MAXIMUM_ERROR_MESSAGES - Static variable in class mars.Application
-
Maximum number of assembler errors produced by one assemble operation.
- MAXIMUM_LINE_COUNT - Static variable in class mars.venus.ConsoleTextArea
- MAXIMUM_MESSAGE_CHARACTERS - Static variable in class mars.Application
-
Maximum length of scrolled message window (Messages and Console).
- maxRecentFiles - Variable in class mars.settings.Settings
-
Maximum number of recent files to be kept in the "Recent Files" menu.
- Memory - Class in mars.mips.hardware
-
Representation of MIPS memory.
- Memory() - Constructor for class mars.mips.hardware.Memory
- MEMORY_CHUNK_SIZE - Static variable in class mars.venus.execute.DataSegmentWindow
- Memory.DataRegion - Class in mars.mips.hardware
-
Class representing an arbitrary contiguous region of memory which contains data.
- Memory.Listener - Interface in mars.mips.hardware
-
Interface representing a listener of memory read/write operations.
- Memory.TextRegion - Class in mars.mips.hardware
-
Class representing an arbitrary contiguous region of memory which contains text.
- memoryConfiguration - Variable in class mars.settings.Settings
-
Identifier of current memory configuration.
- MemoryConfiguration - Record Class in mars.mips.hardware
-
Models the memory configuration for the simulated MIPS machine.
- MemoryConfiguration(String, String, String[], int[]) - Constructor for record class mars.mips.hardware.MemoryConfiguration
-
Creates an instance of a
MemoryConfiguration
record class. - 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
- memoryHighlightingEnabled - Variable in class mars.settings.Settings
-
Flag to control whether values in the memory viewer are highlighted during stepped execution.
- MemoryPreferencesTab - Class in mars.venus.preferences
- MemoryPreferencesTab(Settings) - Constructor for class mars.venus.preferences.MemoryPreferencesTab
- memoryRead(int, int, int, int, int) - Method in interface mars.mips.hardware.Memory.Listener
-
Invoked upon any read operation which is relevant to this listener's active range.
- memoryRead(int, int, int, int, int) - Method in class mars.tools.BHTSimulator
-
Callback for text segment access by the MIPS simulator.
- memoryRead(int, int, int, int, int) - Method in class mars.tools.CacheSimulator
- memoryRead(int, int, int, int, int) - Method in class mars.tools.InstructionCounter
- memoryRead(int, int, int, int, int) - Method in class mars.tools.InstructionStatistics
-
Method that is called each time the MIPS simulator accesses the text segment.
- memoryRead(int, int, int, int, int) - Method in class mars.tools.KeyboardAndDisplaySimulator
-
Update display when connected MIPS program reads an instruction from the text or kernel text segments.
- memoryRead(int, int, int, int, int) - Method in class mars.tools.MemoryReferenceVisualization
-
Update display when connected MIPS program accesses memory.
- memoryRead(int, int, int, int, int) - Method in class mars.tools.MipsXray
-
Function that gets the current instruction in memory and start animation with the selected instruction.
- MemoryReferenceVisualization - Class in mars.tools
-
Memory reference visualization.
- MemoryReferenceVisualization() - Constructor for class mars.tools.MemoryReferenceVisualization
-
Construct an instance of this tool.
- memoryReset() - Method in interface mars.mips.hardware.Memory.Listener
-
Invoked when memory is reset via a call to
Memory.reset()
, regardless of this listener's active range. - memoryWritten(int, int, int, int, int) - Method in interface mars.mips.hardware.Memory.Listener
-
Invoked upon any write operation which is relevant to this listener's active range.
- memoryWritten(int, int, int, int, int) - Method in class mars.tools.CacheSimulator
- memoryWritten(int, int, int, int, int) - Method in class mars.tools.DigitalLabSimulator
- memoryWritten(int, int, int, int, int) - Method in class mars.tools.MemoryReferenceVisualization
-
Update display when connected MIPS program accesses memory.
- memoryWritten(int, int, int, int, int) - Method in class mars.tools.VisualStack
- memoryWritten(int, int, int, int, int) - Method in class mars.venus.execute.DataSegmentWindow
- memoryWritten(int, int, int, int, int) - Method in class mars.venus.execute.TextSegmentWindow
- 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.
- MidiNotePlayer - Class in mars.mips.instructions.syscalls
-
Used by the MIDI syscalls to play MIDI notes on demand.
- MidiNotePlayer() - Constructor for class mars.mips.instructions.syscalls.MidiNotePlayer
- 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.Editor
- MIN_FONT_SIZE - Static variable in class mars.venus.FontChooserPane
- MIN_SIZE - Static variable in class mars.venus.EditorFont
- MIN_TAB_SIZE - Static variable in class mars.venus.editor.Editor
- minimumLayoutSize(Container) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.ScrollLayout
- MINUS - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a minus (i.e.
- mipsFileExtensions - Variable in class mars.settings.Settings
-
Acceptable file extensions for MIPS assembly files.
- MIPSTokenMarker - Class in mars.venus.editor.jeditsyntax.tokenmarker
-
MIPS token marker.
- MIPSTokenMarker() - Constructor for class mars.venus.editor.jeditsyntax.tokenmarker.MIPSTokenMarker
- MipsXray - Class in mars.tools
- MipsXray() - Constructor for class mars.tools.MipsXray
-
Construct an instance of this tool.
- MipsXray.DatapathUnit - Enum Class in mars.tools
- MipsXray.FunctionUnitVisualization - Class in mars.tools
- MipsXray.Vertex - Class in mars.tools
- MMIO_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest memory-mapped I/O address.
- MMIO_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest memory-mapped I/O address.
- modifyDisplay(byte) - Method in class mars.tools.DigitalLabSimulator.SevenSegmentDisplay
- modifyDisplay(int, byte) - Method in class mars.tools.DigitalLabSimulator.SevenSegmentPanel
- mouseClicked(MouseEvent) - Method in class mars.tools.DigitalLabSimulator.HexadecimalKeyboard.ClickListener
- mouseClicked(MouseEvent) - Method in class mars.venus.RepeatButton
-
Handle mouse clicked events.
- mouseDragged(MouseEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.DragHandler
- mouseEntered(MouseEvent) - Method in class mars.venus.RepeatButton
-
Handle mouse entered events.
- mouseExited(MouseEvent) - Method in class mars.venus.RepeatButton
-
Handle mouse exited events.
- MouseHandler() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.MouseHandler
- mouseMoved(MouseEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.DragHandler
- mousePressed(MouseEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.MouseHandler
- 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.venus.PopupListener
- mouseReleased(MouseEvent) - Method in class mars.venus.RepeatButton
-
Handle mouse released events.
- MouseWheelHandler() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.MouseWheelHandler
- mouseWheelMoved(MouseWheelEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.MouseWheelHandler
- MOVE_LINE_DOWN - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- MOVE_LINE_UP - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- MoveLineDown() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.MoveLineDown
- MoveLineUp() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.MoveLineUp
- MOVING_DOWN - Static variable in class mars.tools.MipsXray.Vertex
- MOVING_LEFT - Static variable in class mars.tools.MipsXray.Vertex
- MOVING_RIGHT - Static variable in class mars.tools.MipsXray.Vertex
- MOVING_UP - Static variable in class mars.tools.MipsXray.Vertex
- MutableCaretEvent() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.MutableCaretEvent
N
- name - Variable in class mars.tools.MipsXray.Vertex
- name() - Method in record class mars.mips.hardware.MemoryConfiguration
-
Returns the value of the
name
record component. - NAME - Static variable in class mars.Application
-
The name of the application.
- NAME - Static variable in class mars.tools.BHTSimulator
-
The name of the tool.
- NAME - Static variable in class mars.tools.CacheSimulator
- NativeUtilities - Class in mars.util
- NEW_EDITED - Enum constant in enum class mars.venus.editor.FileStatus
-
Newly created file with unsaved edits.
- NEW_LINE_AFTER - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- NEW_LINE_BEFORE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- NEW_NOT_EDITED - Enum constant in enum class mars.venus.editor.FileStatus
-
Newly created file with no edits.
- newFile() - Method in class mars.venus.editor.Editor
-
Perform "new" operation to create an empty tab.
- newFile() - Method in class mars.venus.editor.EditTab
-
Carries out all necessary operations to implement the New operation from the File menu.
- NewLineAfterAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.NewLineAfterAction
- NewLineBeforeAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.NewLineBeforeAction
- next - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
The next token in the linked list.
- NEXT_CHAR - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- NEXT_LINE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- NEXT_PAGE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- NEXT_WORD - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- NextCharAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.NextCharAction
- nextIndex(String, String, int, boolean) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Returns next index of word in text - forward search.
- NextLineAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.NextLineAction
- nextLineRequested - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
True if the next line should be painted.
- NextPageAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.NextPageAction
- nextTabStop(float, int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Implementation of TabExpander interface.
- NextWordAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.NextWordAction
- NO_FILE - Enum constant in enum class mars.venus.editor.FileStatus
-
No files are open (this only applies to the menu state in
VenusUI
). - NOT_ASSEMBLED - Enum constant in enum class mars.venus.execute.ProgramStatus
-
The program has yet to be assembled.
- NOT_EDITED - Enum constant in enum class mars.venus.editor.FileStatus
-
File from disk with no edits.
- NOT_STARTED - Enum constant in enum class mars.venus.execute.ProgramStatus
-
The program has just been assembled successfully, and is runnable.
- NOT_TAKE_BRANCH_STRING - Static variable in class mars.tools.bhtsim.BHTSimGUI
-
Constant for the String representing "do not take the branch."
- NULL - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Normal text token id.
- numberDisplayBaseChanged(NumberDisplayBaseChooser) - Method in class mars.venus.execute.ExecuteTab
-
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.editor.jeditsyntax.tokenmarker.TokenMarker.LineInfo
-
This is for use by the token marker implementations themselves.
- offsetToX(int, int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Converts an offset in a line into an x co-ordinate.
- OK_TOOL_TIP_TEXT - Static variable in class mars.venus.actions.settings.SettingsHighlightingAction
- OneSecondCounter() - Constructor for class mars.tools.DigitalLabSimulator.OneSecondCounter
- open() - Method in class mars.venus.editor.Editor
-
Launch a file chooser for the user to select one or more files, attempting to open them in new editor tabs afterward.
- open(String, Channel, int) - Method in class mars.simulator.SystemIO.FileHandle
-
Open this handle with the given byte channel information.
- openFile(File) - Method in class mars.venus.editor.EditTab
-
Open the specified file in a new editor tab, switching focus to that tab.
- openFile(Path, int) - Method in class mars.simulator.SystemIO
-
Open a file for either reading or writing.
- openFiles() - Method in class mars.venus.editor.EditTab
-
Launch a file chooser for the user to select one or more files, attempting to open them in new editor tabs afterward.
- openFiles(List<File>) - Method in class mars.venus.editor.EditTab
-
Open the specified files in new editor tabs, switching focus to the first newly opened tab.
- Operand - Class in mars.assembler
- Operand(OperandType, int) - Constructor for class mars.assembler.Operand
- OperandModifier - Interface in mars.assembler.extended
- OperandSubstitution - Class in mars.assembler.extended
- OperandSubstitution(int, List<OperandModifier>, OperandType) - Constructor for class mars.assembler.extended.OperandSubstitution
- OperandType - Enum Class in mars.assembler
-
Provides utility method related to MIPS operand formats.
- OPERATOR - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing the mnemonic of an instruction (e.g.
- OPERATOR - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Operator token id.
- oppositeAxis - Variable in class mars.tools.MipsXray.Vertex
- overwrite - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- OVERWRITE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- overwriteSetSelectedText(String) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Similar to
setSelectedText()
, but overstrikes the appropriate number of characters if overwrite mode is enabled.
P
- page - Variable in class mars.util.HardcopyWriter
- pageBreak() - Method in class mars.util.HardcopyWriter
-
End the current page.
- pageNum - Variable in class mars.util.HardcopyWriter
- pageResolutionDPI - Variable in class mars.util.HardcopyWriter
- pageSize - Variable in class mars.util.HardcopyWriter
- paint(Graphics) - Method in class mars.tools.DigitalLabSimulator.SevenSegmentDisplay
- paint(Graphics) - Method in class mars.venus.DynamicTabbedPane
-
Paint the tabbed pane, then edit the result if needed to provide visual feedback for tab reordering.
- paint(Graphics) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Repaints the text.
- paintBracketHighlight(Graphics, int, int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
- paintCaret(Graphics, int, int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
- paintComponent(Graphics) - Method in class mars.venus.ColorSelectButton
- paintComponent(Graphics) - Method in class mars.venus.WrappingCellRenderer
- painter - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- paintHighlight(Graphics, int, float) - Method in interface mars.venus.editor.jeditsyntax.TextAreaPainter.Highlight
-
This should paint the highlight and delegate to the next highlight painter.
- paintHighlight(Graphics, int, int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
- paintIcon(Component, Graphics, int, int) - Method in class mars.venus.SVGIcon
-
Draw the icon at the specified location.
- paintInvalid - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- paintInvalid - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- paintLine(Graphics, TokenMarker, int, int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
- paintLineHighlight(Graphics, int, int, boolean) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
- paintPlainLine(Graphics, int, Font, Color, int, int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
- paintSyntaxLine(Graphics, TokenMarker, int, Font, Color, int, int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
- paintSyntaxLine(Segment, Token, SyntaxStyle[], TabExpander, Graphics, float, float) - Static method in class mars.venus.editor.jeditsyntax.SyntaxUtilities
-
Paints the specified line onto the graphics context.
- PAREN_REGISTER - Enum constant in enum class mars.assembler.OperandType
- parse(String) - Static method in interface mars.assembler.extended.OperandModifier
- parseKeyStroke(String) - Static method in class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Converts a string to a keystroke.
- parseNextStatement() - Method in class mars.assembler.extended.TemplateParser
- parseNextStatementInLine() - Method in class mars.assembler.extended.TemplateParser
- parseNextSyntax() - Method in class mars.assembler.syntax.SyntaxParser
- paste() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Inserts the clipboard contents into the text.
- paste() - Method in interface mars.venus.editor.MARSTextEditingArea
- pasteText() - Method in class mars.venus.editor.FileEditorTab
-
Paste the current clipboard contents at the cursor position.
- pause() - Method in class mars.simulator.Simulator
-
Flag the simulator to stop due to pausing, unless it is already paused.
- PAUSED - Enum constant in enum class mars.venus.execute.ProgramStatus
-
The program stopped execution after starting, but is still runnable.
- performApply() - Method in class mars.venus.AbstractFontSettingDialog
-
User has clicked Apply or OK button.
- placeStatement(BasicStatement, int) - Method in class mars.assembler.Assembler
- PLAIN - Enum constant in enum class mars.venus.EditorFont.Style
- playNote(int, int, int, int) - Static method in class mars.mips.instructions.syscalls.MidiNotePlayer
-
Play a note with the specified pitch, duration, and instrument, and volume, returning immediately.
- PLUS - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a plus (i.e.
- PLUS_CONSTANT_MODIFIER_POOL - Static variable in interface mars.assembler.extended.OperandModifier
- plusConstant(int) - Static method in interface mars.assembler.extended.OperandModifier
- populate() - Method in class mars.mips.instructions.InstructionSet
-
Adds all instructions to the set.
- popup - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- popup - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- PopupHelpItem - Class in mars.venus.editor.jeditsyntax
-
Handy little class to contain help information for a popupMenu or tool tip item.
- PopupHelpItem(String, String, String) - Constructor for class mars.venus.editor.jeditsyntax.PopupHelpItem
-
Create popup help item, where match is result of an exact-match search.
- PopupHelpItem(String, String, String, boolean) - Constructor for class mars.venus.editor.jeditsyntax.PopupHelpItem
-
Create popup help item.
- popupInstructionGuidance - Variable in class mars.settings.Settings
-
Flag to control whether the editor will provide popup instruction guidance while typing.
- PopupListener - Class in mars.venus
-
This will display the Settings popup menu upon right-click.
- PopupListener(JPopupMenu) - Constructor for class mars.venus.PopupListener
- popupSyscallInput - Variable in class mars.settings.Settings
-
Flag to control whether the simulator will use popup dialogs for input syscalls.
- PreferencesDialog - Class in mars.venus.preferences
- PreferencesDialog(VenusUI, boolean) - Constructor for class mars.venus.preferences.PreferencesDialog
- PreferencesTab - Class in mars.venus.preferences
- PreferencesTab(Settings, String) - Constructor for class mars.venus.preferences.PreferencesTab
- PREFERRED_TEXT_AREA_DIMENSION - Static variable in class mars.tools.KeyboardAndDisplaySimulator
- preferredLayoutSize(Container) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.ScrollLayout
- Preprocessor - Class in mars.assembler.token
- Preprocessor(String) - Constructor for class mars.assembler.token.Preprocessor
- PREV_CHAR - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- PREV_LINE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- PREV_NEXT_CHUNK_SIZE - Static variable in class mars.venus.execute.DataSegmentWindow
- PREV_PAGE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- PREV_WORD - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- PrevCharAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.PrevCharAction
- previouslyOpenFiles - Variable in class mars.settings.Settings
-
The list of files which were open in tabs in the previous session.
- PrevLineAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.PrevLineAction
- PrevPageAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.PrevPageAction
- PrevWordAction(boolean) - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.PrevWordAction
- PRINT_DIALOG_LOCK - Static variable in class mars.util.HardcopyWriter
- PrintCanceledException(String) - Constructor for exception mars.util.HardcopyWriter.PrintCanceledException
- printString(String) - Method in class mars.simulator.SystemIO
-
Implements syscall to print a string.
- process(Assembler) - Method in class mars.assembler.syntax.DirectiveSyntax
- process(Assembler) - Method in class mars.assembler.syntax.LabelSyntax
- process(Assembler) - Method in class mars.assembler.syntax.StatementSyntax
- process(Assembler) - Method in interface mars.assembler.syntax.Syntax
- process(DirectiveSyntax, Assembler) - Method in enum class mars.assembler.Directive
-
Parse and execute this directive using the given directive syntax and assembler.
- processEndOfFile(String, AssemblerLog) - Method in class mars.assembler.token.Preprocessor
- processJump(int) - Method in class mars.simulator.Simulator
-
Schedule a jump in execution to another point in the program.
- processJump(int) - Method in class mars.simulator.SimulatorThread
- processKeyEvent(KeyEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Forwards key events directly to the input handler.
- processLine(List<SourceLine>, SourceLine, AssemblerLog) - Method in class mars.assembler.token.Preprocessor
- Processor - Class in mars.mips.hardware
-
Represents the collection of MIPS registers.
- Processor() - Constructor for class mars.mips.hardware.Processor
- ProcessorTab - Class in mars.venus
-
Sets up a window to display registers in the UI.
- ProcessorTab(VenusUI) - Constructor for class mars.venus.ProcessorTab
-
Constructor which sets up a fresh window with a table that contains the register values.
- processToken(List<Token>, Token) - Method in class mars.assembler.token.Preprocessor
- PROGRAM_COUNTER - Static variable in class mars.mips.hardware.Processor
- PROGRAM_COUNTER_EXECUTE - Static variable in class mars.mips.hardware.Processor
- ProgramStatus - Enum Class in mars.venus.execute
-
Enumeration to indicate the status of the current program (which may involve more than one file).
- put(String, V) - Method in class mars.util.StringTrie
-
Associates the specified value with the specified key in this map (optional operation).
R
- R_TYPE - Enum constant in enum class mars.mips.instructions.InstructionFormat
- raiseExternalInterrupt(int) - Method in class mars.simulator.Simulator
-
Flag an external interrupt as a result of a memory-mapped I/O device.
- RAN_OFF_BOTTOM - Enum constant in enum class mars.simulator.SimulatorFinishEvent.Reason
-
A null instruction was reached (the program counter ran off the bottom), causing the program to terminate.
- RANDOM - Enum constant in enum class mars.tools.CacheSimulator.ReplacementPolicy
- RANDOM_STREAMS - Static variable in class mars.mips.instructions.syscalls.RandomStreams
-
Collection of pseudorandom number streams available for use in the random syscalls.
- 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 services.
- RandomStreams() - Constructor for class mars.mips.instructions.syscalls.RandomStreams
- rangesIntersect(int, int, int, int) - Static method in class mars.mips.hardware.Memory
-
Determine whether two inclusive ranges of unsigned integers intersect.
- rangesMergeable(int, int, int, int) - Static method in class mars.mips.hardware.Memory
-
Determine whether two inclusive ranges of unsigned integers can be merged into a single range.
- READ_ONLY_FLAGS - Static variable in class mars.simulator.SystemIO
-
Open the file for read access.
- READ_WRITE_FLAG - Static variable in class mars.simulator.SystemIO
-
Open the file for both reading and writing.
- readChar() - Method in class mars.simulator.SystemIO
-
Implements syscall to read a char value.
- readDouble() - Method in class mars.simulator.SystemIO
-
Implements syscall to read a double value.
- readFloat() - Method in class mars.simulator.SystemIO
-
Implements syscall to read a float value.
- readFromFile(int, ByteBuffer) - Method in class mars.simulator.SystemIO
-
Read sequential bytes from a file into a buffer.
- readInteger() - Method in class mars.simulator.SystemIO
-
Implements syscall to read an integer value.
- readString(int) - Method in class mars.simulator.SystemIO
-
Implements syscall to read a string value.
- REAL_NUMBER - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a double-precision floating-point number.
- realignSymbols(int, int) - Method in class mars.assembler.SymbolTable
- recalculateVisibleLines() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Recalculates the number of visible lines.
- receiverControl - Static variable in class mars.tools.KeyboardAndDisplaySimulator
- receiverData - Static variable in class mars.tools.KeyboardAndDisplaySimulator
- recentFiles - Variable in class mars.settings.Settings
-
The list of files which have been opened recently, ordered from most to least recent.
- recorder - Variable in class mars.venus.editor.jeditsyntax.InputHandler
- rectSelect - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- redo() - Method in class mars.venus.editor.FileEditorTab
-
Redo the previously undone edit.
- redo() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Redo previous edit.
- redo() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.CaretUndo
- redo() - Method in interface mars.venus.editor.MARSTextEditingArea
- refresh() - Method in class mars.venus.RegistersDisplayTab
-
Refresh the table, triggering re-rendering.
- refresh() - Method in class mars.venus.RegistersTable
-
Refresh the table, triggering re-rendering.
- regionMatches(boolean, Segment, int, char[]) - Static method in class mars.venus.editor.jeditsyntax.SyntaxUtilities
-
Checks if a subregion of a
Segment
is equal to a character array. - regionMatches(boolean, Segment, int, String) - Static method in class mars.venus.editor.jeditsyntax.SyntaxUtilities
-
Checks if a subregion of a
Segment
is equal to a string. - 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 - Enum constant in enum class mars.assembler.OperandType
- REGISTER - Enum constant in enum class mars.tools.MipsXray.DatapathUnit
- REGISTER - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Keyword 3 token id.
- REGISTER_NAME - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a CPU register referenced by name (e.g.
- REGISTER_NUMBER - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a CPU or Coprocessor 0 register referenced by number (e.g.
- Register.Listener - Interface in mars.mips.hardware
- registerChanged(Register, int) - Method in class mars.simulator.BackStepper
-
Add a new "back step" (the undo action) to the stack.
- registerHighlightBackground - Variable in class mars.settings.Settings
-
RGB color for register highlighted background
- registerHighlightForeground - Variable in class mars.settings.Settings
-
RGB color for register highlighted foreground
- registerHighlightingEnabled - Variable in class mars.settings.Settings
-
Flag to control whether registers in the register window are highlighted during stepped execution.
- registerRead(Register) - Method in interface mars.mips.hardware.Register.Listener
- RegistersDisplayTab - Class in mars.venus
- RegistersDisplayTab(VenusUI) - Constructor for class mars.venus.RegistersDisplayTab
- registerShortcut(JComponent) - Method in class mars.venus.actions.VenusAction
-
Register this action as a key shortcut when the component is in focus.
- RegistersPane - Class in mars.venus
-
Contains tabbed areas in the UI to display register contents.
- RegistersPane(VenusUI) - Constructor for class mars.venus.RegistersPane
-
Constructor for the RegistersPane class.
- RegistersTable - Class in mars.venus
-
JTable subclass to provide custom tool tips for each of the register table column headers and for each register name in the first column.
- RegistersTable(TableModel, String[], String[]) - Constructor for class mars.venus.RegistersTable
- registerTableModelListener(TableModelListener) - Method in class mars.venus.execute.TextSegmentWindow
-
Assign listener to Table model.
- registerWritten(Register) - Method in interface mars.mips.hardware.Register.Listener
- registerWritten(Register) - Method in class mars.tools.FloatRepresentation
- registerWritten(Register) - Method in class mars.tools.VisualStack
- registerWritten(Register) - Method in class mars.venus.RegistersDisplayTab
- remove(Object) - Method in class mars.util.StringTrie
-
Removes the mapping for a key from this map if it is present (optional operation).
- removeAllKeyBindings() - Method in class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Removes all key bindings from this input handler.
- removeAllKeyBindings() - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Removes all key bindings from this input handler.
- removeCaretListener(CaretListener) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Removes a caret change listener from this text area.
- removeChangeListener(ChangeListener) - Method in class mars.venus.FontChooserPane
- removeGUIListener(SimulatorListener) - Method in class mars.simulator.Simulator
-
Remove a
SimulatorListener
which was added viaSimulator.addGUIListener(SimulatorListener)
. - removeKeyBinding(String) - Method in class mars.venus.editor.jeditsyntax.DefaultInputHandler
-
Removes a key binding from this input handler.
- removeKeyBinding(String) - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Removes a key binding from this input handler.
- removeLayoutComponent(Component) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.ScrollLayout
- removeListener(Memory.Listener) - Method in class mars.mips.hardware.Memory
-
Unregister the given listener from all memory addresses it is registered to.
- removeListener(Register.Listener) - Method in class mars.mips.hardware.Register
- removeListener(Settings.Listener) - Method in class mars.settings.Settings
- removeNotify() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Called by the AWT when this component is removed from its parent.
- removeProgramArgumentsPanel() - Method in class mars.venus.execute.TextSegmentWindow
-
Hide the panel for entering program arguments.
- removeRecentFile(File) - Method in class mars.venus.VenusUI
-
Remove a file from the "Recent Files" menu, if it exists in the menu.
- removeSymbol(String) - Method in class mars.assembler.SymbolTable
-
Removes a symbol from the Symbol table.
- removeTabAt(int) - Method in class mars.venus.editor.EditTab
-
Attempts to remove the tab at
index
. - removeThreadListener(SimulatorListener) - Method in class mars.simulator.Simulator
-
Remove a
SimulatorListener
which was added viaSimulator.addThreadListener(SimulatorListener)
. - removeUpdate(DocumentEvent) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.DocumentHandler
- repeat - Variable in class mars.venus.editor.jeditsyntax.InputHandler
- REPEAT - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- RepeatAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.RepeatAction
- RepeatButton - Class in mars.venus
-
RepeatButton
is aJButton
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(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.
- 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.
- repeatCount - Variable in class mars.venus.editor.jeditsyntax.InputHandler
- replaceLine(int, String) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Replace a line in the document with text.
- replaceSelection(String) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Same as
JEditTextArea.setSelectedText(String)
but named for compatibility with JTextComponent method replaceSelection. - replaceSelection(String) - Method in interface mars.venus.editor.MARSTextEditingArea
- requestFocusInWindow() - Method in interface mars.venus.editor.MARSTextEditingArea
- requestTextAreaFocus() - Method in class mars.venus.editor.FileEditorTab
-
Delegates to text area's requestFocusInWindow method.
- RESERVED_INSTRUCTION - Static variable in class mars.simulator.ExceptionCause
- reset() - Method in class mars.assembler.Assembler
- reset() - Static method in class mars.mips.hardware.Coprocessor0
-
Method to reinitialize the values of the registers.
- reset() - Static method in class mars.mips.hardware.Coprocessor1
-
Method to reinitialize the values of the registers.
- reset() - Method in class mars.mips.hardware.Memory
-
Reinitialize the memory contents with the current memory configuration (
MemoryConfigurations.getCurrentConfiguration()
) and reset the heap address to its initial state. - reset() - Static method in class mars.mips.hardware.Processor
-
Reset the values of all registers to their default values.
- reset() - Method in class mars.simulator.BackStepper
- reset() - Method in class mars.simulator.Simulator
- reset() - Method in class mars.tools.AbstractMarsTool
-
Method that will be called each time the default Reset button is clicked.
- reset() - Method in class mars.tools.BHTSimulator
-
Perform a reset of the simulator.
- reset() - Method in class mars.tools.BitmapDisplay
- 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.DigitalLabSimulator
- 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.tools.VisualStack
- reset() - Method in class mars.venus.AbstractFontSettingDialog
-
Reset font to its initial setting
- resetAddress() - Method in class mars.assembler.Assembler.Segment
- resetDisplay() - Method in class mars.venus.Coprocessor0Tab
-
Reset and redisplay registers.
- resetDisplay() - Method in class mars.venus.Coprocessor1Tab
-
Reset and redisplay registers.
- resetDisplay() - Method in class mars.venus.ProcessorTab
-
Redisplay registers.
- resetExternalState() - Method in class mars.assembler.Assembler
- resetFiles() - Method in class mars.simulator.SystemIO
-
Close any open files, and reinitialize standard I/O just in case.
- resetHexaKeyboard() - Method in class mars.tools.DigitalLabSimulator.HexadecimalKeyboard
- resetModifiedSourceCode() - Method in class mars.venus.execute.TextSegmentWindow
-
Called by RunResetAction to restore display of any table rows that were overwritten due to self-modifying code feature.
- resetOneSecondCounter() - Method in class mars.tools.DigitalLabSimulator.OneSecondCounter
- resetSevenSegment() - Method in class mars.tools.DigitalLabSimulator.SevenSegmentPanel
- resetValueToDefault() - Method in class mars.mips.hardware.Register
-
Resets the value of the register to the value it was constructed with.
- resolve(List<Operand>, int) - Method in class mars.assembler.extended.FlagSubstitutionOperand
- resolve(List<Operand>, int) - Method in class mars.assembler.extended.OperandSubstitution
- resolve(List<Operand>, int) - Method in interface mars.assembler.extended.TemplateOperand
- resolve(List<Operand>, int) - Method in class mars.assembler.Operand
- resolve(List<Operand>, StatementSyntax, Assembler, int) - Method in class mars.assembler.extended.ExpansionTemplate
- resolve(List<Operand>, StatementSyntax, Assembler, int) - Method in interface mars.assembler.extended.ExpansionTemplate.Statement
- resolve(List<Operand>, StatementSyntax, Assembler, int) - Method in class mars.assembler.extended.FlagSubstitutionStatement
- resolve(List<Operand>, StatementSyntax, Assembler, int) - Method in class mars.assembler.extended.TemplateStatement
- resolve(Assembler) - Method in class mars.assembler.Operand
- resolve(Assembler) - Method in class mars.assembler.syntax.LabelOperand
- resolve(Assembler) - Method in interface mars.assembler.syntax.SyntaxOperand
- resolve(Assembler, int) - Method in class mars.assembler.syntax.StatementSyntax
- resolveUnsavedChanges(FileEditorTab) - Method in class mars.venus.editor.EditTab
-
Check whether file has unsaved edits and, if so, check with user about saving them.
- RETURN_ADDRESS - Static variable in class mars.mips.hardware.Processor
- revalidate() - Method in interface mars.venus.editor.MARSTextEditingArea
- revert() - Method in class mars.venus.preferences.components.CheckBoxPreference
- REVERT_TOOL_TIP_TEXT - Static variable in class mars.venus.actions.settings.SettingsHighlightingAction
- revertChanges() - Method in class mars.venus.preferences.AppearancePreferencesTab
- revertChanges() - Method in class mars.venus.preferences.AssemblerPreferencesTab
- revertChanges() - Method in class mars.venus.preferences.EditorPreferencesTab
- revertChanges() - Method in class mars.venus.preferences.ExceptionPreferencesTab
- revertChanges() - Method in class mars.venus.preferences.GeneralPreferencesTab
- revertChanges() - Method in class mars.venus.preferences.MemoryPreferencesTab
- revertChanges() - Method in class mars.venus.preferences.PreferencesDialog
- revertChanges() - Method in class mars.venus.preferences.PreferencesTab
- revertChanges() - Method in class mars.venus.preferences.SimulatorPreferencesTab
- revertValue() - Method in class mars.venus.FontChooserPane
- RIGHT - Static variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- RIGHT_PAREN - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a right parenthesis (i.e.
- ROW_COUNT - Static variable in class mars.venus.execute.DataSegmentWindow
- rows - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- rows - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- run() - Method in class mars.simulator.SimulatorThread
-
Simulate the program given to this thread until a pause or finish condition is reached.
- run() - Method in class mars.tools.MipsXray.FunctionUnitVisualization
- RunAssembleAction - Class in mars.venus.actions.run
-
Action for the Run -> Assemble menu item.
- RunAssembleAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunAssembleAction
- RunAssembleFolderAction - Class in mars.venus.actions.run
-
Action for the Run -> Assemble Folder menu item.
- RunAssembleFolderAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunAssembleFolderAction
- RunClearBreakpointsAction - Class in mars.venus.actions.run
-
Action for the Run -> Clear Breakpoints menu item.
- RunClearBreakpointsAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunClearBreakpointsAction
-
Create the object and register with text segment window as a listener on its table model.
- RUNNING - Enum constant in enum class mars.venus.execute.ProgramStatus
-
The program is currently being executed by the simulator.
- RunPauseAction - Class in mars.venus.actions.run
-
Action for the Run -> Pause menu item.
- RunPauseAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunPauseAction
- RunResetAction - Class in mars.venus.actions.run
-
Action for the Run -> Reset menu item.
- RunResetAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunResetAction
- RunSpeedPanel - Class in mars.venus.execute
-
Class for the Run speed slider control.
- RunSpeedPanel() - Constructor for class mars.venus.execute.RunSpeedPanel
- RunStartAction - Class in mars.venus.actions.run
-
Action for the Run -> Start menu item.
- RunStartAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunStartAction
- RunStepBackwardAction - Class in mars.venus.actions.run
-
Action for the Run -> Step Backward menu item.
- RunStepBackwardAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunStepBackwardAction
- RunStepForwardAction - Class in mars.venus.actions.run
-
Action for the Run -> Step Forward menu item.
- RunStepForwardAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunStepForwardAction
- RunStopAction - Class in mars.venus.actions.run
-
Action for the Run -> Stop menu item.
- RunStopAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunStopAction
- RunToggleBreakpointsAction - Class in mars.venus.actions.run
-
Action for the Run -> Toggle Breakpoints menu item.
- RunToggleBreakpointsAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.run.RunToggleBreakpointsAction
S
- save() - Method in class mars.venus.editor.Editor
-
Perform "save" operation on current tab's file.
- saveAll() - Method in class mars.venus.editor.Editor
-
Perform save operation on all open files (tabs).
- saveAllFiles() - Method in class mars.venus.editor.EditTab
-
Saves all files currently open in the editor.
- saveAs() - Method in class mars.venus.editor.Editor
-
Perform "save as" operation on current tab's file.
- saveAsCurrentFile() - Method in class mars.venus.editor.EditTab
-
Pops up a dialog box to do the "Save As" operation.
- saveBooleanSetting(String, boolean, boolean) - Method in class mars.settings.Settings
-
Save the key-value pair in the
Preferences
object and ensure it is written to persistent storage. - saveCurrentFile() - Method in class mars.venus.editor.EditTab
-
Saves file under existing name.
- SAVED_0 - Static variable in class mars.mips.hardware.Processor
- SAVED_1 - Static variable in class mars.mips.hardware.Processor
- SAVED_2 - Static variable in class mars.mips.hardware.Processor
- SAVED_3 - Static variable in class mars.mips.hardware.Processor
- SAVED_4 - Static variable in class mars.mips.hardware.Processor
- SAVED_5 - Static variable in class mars.mips.hardware.Processor
- SAVED_6 - Static variable in class mars.mips.hardware.Processor
- SAVED_7 - Static variable in class mars.mips.hardware.Processor
- saveIntegerSetting(String, int, boolean) - Method in class mars.settings.Settings
- saveStringSetting(String, String, boolean) - Method in class mars.settings.Settings
-
Save the key-value pair in the
Preferences
object and ensure it is written to persistent storage. - saveWorkspaceState() - Method in class mars.venus.VenusUI
-
Save the state of the current workspace to permanent storage, which includes the paths of the files that are open.
- scrollBarsInitialized - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- ScrollLayout() - Constructor for class mars.venus.editor.jeditsyntax.JEditTextArea.ScrollLayout
- scrollTo(int, int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Ensures that the specified line and offset is visible by scrolling the text area if necessary.
- scrollToCaret() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Ensures that the caret is visible by scrolling the text area if necessary.
- scrollToRow(int) - Method in class mars.venus.execute.TextSegmentWindow
- seekFile(int, long, SystemIO.SeekWhence) - Method in class mars.simulator.SystemIO
-
Change the current position where read/write operations will be done within a file.
- segments - Variable in class mars.tools.DigitalLabSimulator.SevenSegmentDisplay
- 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.editor.jeditsyntax.JEditTextArea
-
Selects from the start offset to the end offset.
- select(int, int) - Method in interface mars.venus.editor.MARSTextEditingArea
- SELECT_ALL - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_DOC_END - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_DOC_HOME - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_END - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_HOME - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_NEXT_CHAR - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_NEXT_LINE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_NEXT_PAGE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_NEXT_WORD - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_PREV_CHAR - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_PREV_LINE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_PREV_PAGE - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- SELECT_PREV_WORD - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- selectAll() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Selects all text in the document.
- selectAll() - Method in interface mars.venus.editor.MARSTextEditingArea
- SelectAllAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.SelectAllAction
- selectAllText() - Method in class mars.venus.editor.FileEditorTab
-
Select all text.
- selectCellForAddress(int) - Method in class mars.venus.execute.DataSegmentWindow
-
Scroll the viewport so the cell at the given data segment address is visible, vertically centered if possible, and selected.
- selectConsoleTab() - Method in class mars.venus.MessagesPane
-
Ensure that the Console tab is visible.
- selectionBackground - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- selectionBackground - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- selectionEnd - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- selectionEndLine - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- selectionStart - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- selectionStartLine - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- selectLine(int) - Method in class mars.venus.editor.FileEditorTab
-
Select the specified editor text line.
- selectLine(int, int) - Method in class mars.venus.editor.FileEditorTab
-
Select the specified editor text line.
- selectMessagesTab() - Method in class mars.venus.MessagesPane
-
Ensure that the Messages tab is visible.
- selectNone() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Moves the mark to the caret position.
- selectStepAtAddress(int) - Method in class mars.venus.execute.TextSegmentWindow
-
Scroll the viewport so the step (table row) at the given text segment address is visible, vertically centered if possible, and selected.
- selfModifyingCodeEnabled - Variable in class mars.settings.Settings
-
Flag to control whether a program can write binary code to the text or data segment and execute that code.
- set(boolean) - Method in class mars.settings.BooleanSetting
-
Set the value of this setting, updating persistent storage.
- set(int) - Method in class mars.settings.IntegerSetting
-
Set the value of this setting, updating persistent storage.
- set(int, int, T) - Method in class mars.venus.TableCache
- set(Color) - Method in class mars.settings.ColorSetting
-
Set the value of this setting, updating persistent storage.
- set(Font) - Method in class mars.settings.FontSetting
-
Set the value of this setting, updating persistent storage.
- set(String) - Method in class mars.settings.StringSetting
-
Set the value of this setting, updating persistent storage.
- set(SyntaxStyle) - Method in class mars.settings.SyntaxStyleSetting
-
Set the value of this setting, updating persistent storage.
- SET - Enum constant in enum class mars.assembler.Directive
- SET - Enum constant in enum class mars.tools.CacheSimulator.PlacementPolicy
- setAddress(int) - Method in class mars.assembler.Assembler.Segment
- setAddress(int) - Method in class mars.assembler.Symbol
-
Sets (replaces) the address of the the Symbol.
- setApplicationIconImage(Image) - Static method in class mars.util.NativeUtilities
-
Update the application icon displayed on the taskbar to the given image, if possible.
- setApplicationName(String) - Static method in class mars.util.NativeUtilities
-
Set the name of the AWT application as a whole, if applicable.
- setAutoAlignmentEnabled(boolean) - Method in class mars.assembler.Assembler
- setBackground(Color) - Method in interface mars.venus.editor.MARSTextEditingArea
- setBase(int) - Method in class mars.venus.NumberDisplayBaseChooser
-
Set the current number base.
- 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.editor.jeditsyntax.TextAreaPainter
-
Sets if the caret should be drawn as a block, false otherwise.
- setBounds(int, int) - Method in class mars.assembler.Assembler.Segment
- setBracketHighlightColor(Color) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets the bracket highlight color.
- setBracketHighlightEnabled(boolean) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Enables or disables bracket highlighting.
- 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.
- setCaretBlinkEnabled(boolean) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Toggles caret blinking.
- setCaretBlinkRate(int) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Set the caret blinking rate in milliseconds.
- setCaretBlinkRate(int) - Method in interface mars.venus.editor.MARSTextEditingArea
- setCaretForeground(Color) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets the caret color.
- setCaretPosition(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the caret position.
- setCaretPosition(int) - Method in interface mars.venus.editor.MARSTextEditingArea
- setCaretVisible(boolean) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets if the caret should be visible.
- setCaretVisible(boolean) - Method in interface mars.venus.editor.MARSTextEditingArea
- setColorValue(Color) - Method in class mars.venus.ColorSelectButton
- setCompactExpansionTemplate(ExpansionTemplate) - Method in class mars.mips.instructions.ExtendedInstruction
- setConditionFlag(int) - Static method in class mars.mips.hardware.Coprocessor1
-
Set condition flag to 1 (true).
- setContent(String) - Method in class mars.assembler.token.SourceLine
- setCurrentConfiguration(MemoryConfiguration) - Static method in class mars.mips.hardware.MemoryConfigurations
- setCurrentEditorTab(FileEditorTab) - Method in class mars.venus.editor.EditTab
-
Select the specified file editor tab to be the current tab.
- setCurrentSaveDirectory(String) - Method in class mars.venus.editor.Editor
-
Set name of current directory for Save operation.
- setDefault(boolean) - Method in class mars.settings.BooleanSetting
-
Set the default value for this setting without updating the current value.
- setDefault(int) - Method in class mars.settings.IntegerSetting
-
Set the default value for this setting without updating the current value.
- setDefault(Font) - Method in class mars.settings.FontSetting
-
Set the default value for this setting without updating the current value.
- setDefault(String) - Method in class mars.settings.StringSetting
-
Set the default value for this setting without updating the current value.
- setDefaultProgramCounter(int) - Static method in class mars.mips.hardware.Processor
- setDefaultValue(int) - Method in class mars.mips.hardware.Register
-
Change the register's default value, the value to which it will be set when
Register.resetValueToDefault()
is called. - setDescription(String) - Method in class mars.venus.editor.jeditsyntax.PopupHelpItem
- setDocument(SyntaxDocument) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the document this text area is editing.
- setDoubleFloat(int, double) - Static method in class mars.mips.hardware.Coprocessor1
-
Sets the value of the FPU register given to the double value given.
- setEditable(boolean) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets if this component is editable.
- setEditable(boolean) - Method in interface mars.venus.editor.MARSTextEditingArea
- setElectricScroll(int) - Method in class mars.venus.editor.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 class mars.venus.ColorSelectButton
- setEnabled(boolean) - Method in interface mars.venus.editor.MARSTextEditingArea
- setEnabled(boolean) - Method in class mars.venus.RepeatButton
-
Sets the enabled state of this button.
- setEOLMarkerColor(Color) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets the EOL marker color.
- setEOLMarkersPainted(boolean) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets if EOL markers are to be drawn.
- setExample(String) - Method in class mars.venus.editor.jeditsyntax.PopupHelpItem
- setExecuteProgramCounter(int) - Static method in class mars.mips.hardware.Processor
- setFile(File) - Method in class mars.venus.editor.FileEditorTab
-
Set the file represented by this tab.
- setFileStatus(FileStatus) - Method in class mars.venus.editor.FileEditorTab
-
Set the file status of this tab.
- setFileStatus(FileStatus) - Method in class mars.venus.VenusUI
-
Set the status of the file being edited, and update the menu state.
- setFirstLine(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the line displayed at the text area's origin and updates the scroll bars.
- setFont(Font) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
- setFont(Font) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets the font for this component.
- setFont(Font) - Method in interface mars.venus.editor.MARSTextEditingArea
- setFontStyle(int) - Method in class mars.util.HardcopyWriter
-
Set the font style.
- setGraphicsFlags(Graphics, Font) - Method in class mars.venus.editor.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.Application
- setHighOrder(int) - Static method in class mars.mips.hardware.Processor
- setHorizontalOffset(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the horizontal offset of drawn lines.
- setIconDimensions(int, int) - Method in class mars.venus.SVGIcon
-
Set the icon's image dimensions.
- setIgnoreCase(boolean) - Method in class mars.venus.editor.jeditsyntax.KeywordMap
-
Sets if the keyword map should be case insensitive.
- setInitialDelay(int) - Method in class mars.venus.RepeatButton
-
Sets the initial delay time before repetitions begin.
- setInputHandler(InputHandler) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the input handler.
- setInterval(int) - Method in class mars.venus.RepeatButton
-
Set the interval time between repetitions after the initial delay.
- setInvalidLinesPainted(boolean) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets if invalid lines are to be painted as red tildes.
- setLineHeight(float) - Method in class mars.venus.WrappingCellRenderer
- setLineHighlightColor(Color) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets the line highlight color.
- setLineHighlightEnabled(boolean) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Set whether highlighting of the line currently being edited is enabled.
- setLineHighlightEnabled(boolean) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Enables or disables current line highlighting.
- setLineHighlightEnabled(boolean) - Method in interface mars.venus.editor.MARSTextEditingArea
- setLocation(SourceLocation) - Method in class mars.assembler.token.SourceLine
- setLowOrder(int) - Static method in class mars.mips.hardware.Processor
- setMacroRecorder(InputHandler.MacroRecorder) - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Sets the macro recorder.
- setMagicCaretPosition(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the `magic' caret position.
- setMaxErrorCount(int) - Method in class mars.assembler.log.AssemblerLog
-
Set the maximum number of errors which can be produced by a single assembler run.
- setNonPersistent(boolean) - Method in class mars.settings.BooleanSetting
-
Set the value of this setting without updating persistent storage.
- setNonPersistent(int) - Method in class mars.settings.IntegerSetting
-
Set the value of this setting without updating persistent storage.
- setNonPersistent(Color) - Method in class mars.settings.ColorSetting
-
Set the value of this setting without updating persistent storage.
- setNonPersistent(Font) - Method in class mars.settings.FontSetting
-
Set the value of this setting without updating persistent storage.
- setNonPersistent(String) - Method in class mars.settings.StringSetting
-
Set the value of this setting without updating persistent storage.
- setNonPersistent(SyntaxStyle) - Method in class mars.settings.SyntaxStyleSetting
-
Set the value of this setting without updating persistent storage.
- 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.editor.jeditsyntax.JEditTextArea
-
A fast way of changing both the first line and horizontal offset.
- setOriginalLine(SourceLine) - Method in class mars.assembler.token.SourceLine
- setOutput(Consumer<LogMessage>) - Method in class mars.assembler.log.AssemblerLog
- setOverwriteEnabled(boolean) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets if overwrite mode should be enabled.
- setPairValue(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.
- setPairValue(int, long) - Static method in class mars.mips.hardware.Processor
-
Sets the value of the register pair given to the long value containing 64 bit pattern given.
- setProgramCounter(int) - Static method in class mars.mips.hardware.Processor
-
Set the value of the program counter.
- setProgramStatus(ProgramStatus) - Method in class mars.venus.VenusUI
-
Set the status of the overall program, and update the menu state.
- setRepeatCount(int) - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Sets the number of times the next action will be repeated.
- setRepeatEnabled(boolean) - Method in class mars.venus.editor.jeditsyntax.InputHandler
-
Enables repeating.
- setRepeatEnabled(boolean) - Method in class mars.venus.RepeatButton
-
Sets if the button should fire events when held.
- setRightClickPopup(JPopupMenu) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the right click popup menu.
- setRunSpeed(double) - Method in class mars.simulator.Simulator
-
Set the current run speed of the simulator in instructions per second.
- setSegment(Assembler.Segment) - Method in class mars.assembler.Assembler
- setSelectedText(String) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Replaces the selection with the specified text.
- setSelectionBackground(Color) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets the selection color.
- setSelectionEnd(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the selection end.
- setSelectionEnd(int) - Method in interface mars.venus.editor.MARSTextEditingArea
- setSelectionRectangular(boolean) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets if the selection should be rectangular.
- setSelectionStart(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the selection start.
- setSelectionStart(int) - Method in interface mars.venus.editor.MARSTextEditingArea
- setSelectionVisible(boolean) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
- setSelectionVisible(boolean) - Method in interface mars.venus.editor.MARSTextEditingArea
- setSettingsMenuItem(JCheckBoxMenuItem) - Method in class mars.venus.NumberDisplayBaseChooser
-
Set the menu item from Settings menu that corresponds to this chooser.
- setSingleFloat(int, float) - Static method in class mars.mips.hardware.Coprocessor1
-
Sets the value of the FPU register given to the value given.
- setSourceCode(String, boolean) - Method in class mars.venus.editor.FileEditorTab
-
For initializing the source code when opening an ASM file.
- setSourceCode(String, boolean) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
- setSourceCode(String, boolean) - Method in interface mars.venus.editor.MARSTextEditingArea
- setStandardExpansionTemplate(ExpansionTemplate) - Method in class mars.mips.instructions.ExtendedInstruction
- setStreamSeed(int, long) - Static method in class mars.mips.instructions.syscalls.RandomStreams
-
Set the seed of the pseudorandom number stream corresponding to the given index.
- setStyles(SyntaxStyle[]) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Sets the syntax styles used to paint colorized text.
- setSymbolTableWindowVisible(boolean) - Method in class mars.venus.execute.ExecuteTab
-
Show or hide the label window (symbol table).
- setSyntaxStyle(int, SyntaxStyle) - Method in class mars.settings.Settings
-
Assign a
SyntaxStyle
to a given token type. - setTabSize(int) - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Set the number of characters a tab will expand to.
- setTabSize(int) - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Set the tab size in characters.
- setTabSize(int) - Method in interface mars.venus.editor.MARSTextEditingArea
- setTerminalValue(V) - Method in class mars.util.StringTrie
- setText(String) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the entire text of this text area.
- setText(String) - Method in interface mars.venus.editor.MARSTextEditingArea
- setText(String) - Method in class mars.venus.WrappingCellRenderer
- settings - Variable in class mars.venus.preferences.PreferencesTab
- Settings - Class in mars.settings
-
Contains various IDE settings.
- Settings() - Constructor for class mars.settings.Settings
-
Create and initialize an instance of
Settings
based on configuration defaults and user-defined values from permanent storage. - Settings.Listener - Interface in mars.settings
- SettingsAddressDisplayBaseAction - Class in mars.venus.actions.settings
-
Action class for the Settings menu item to control number base (10 or 16) of memory addresses.
- SettingsAddressDisplayBaseAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsAddressDisplayBaseAction
- SettingsAssembleOnOpenAction - Class in mars.venus.actions.settings
-
Action class for the Settings menu item to control automatic assemble of file upon opening.
- SettingsAssembleOnOpenAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsAssembleOnOpenAction
- settingsChanged() - Method in interface mars.settings.Settings.Listener
- SettingsEditorAction - Class in mars.venus.actions.settings
-
Action class for the Settings menu item for text editor settings.
- SettingsEditorAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsEditorAction
-
Create a new SettingsEditorAction.
- SettingsExceptionHandlerAction - Class in mars.venus.actions.settings
-
Action class for the Settings menu item for optionally loading a MIPS exception handler.
- SettingsExceptionHandlerAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsExceptionHandlerAction
- SettingsHighlightingAction - Class in mars.venus.actions.settings
-
Action class for the Settings menu item for text editor settings.
- SettingsHighlightingAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsHighlightingAction
-
Create a new SettingsEditorAction.
- SettingsLabelAction - Class in mars.venus.actions.settings
-
Action class for the Settings menu item to control display of Labels window (symbol table).
- SettingsLabelAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsLabelAction
- SettingsPreferencesAction - Class in mars.venus.actions.settings
-
Action for the Settings -> Preferences menu item.
- SettingsPreferencesAction(VenusUI, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsPreferencesAction
- SettingsProgramArgumentsAction - Class in mars.venus.actions.settings
-
Action class for the Settings menu item to control whether or not program arguments can be entered and used.
- SettingsProgramArgumentsAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsProgramArgumentsAction
- SettingsValueDisplayBaseAction - Class in mars.venus.actions.settings
-
Action class for the Settings menu item to control number base (10 or 16) of memory/register contents.
- SettingsValueDisplayBaseAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.settings.SettingsValueDisplayBaseAction
- setTitleContent(String) - Method in class mars.venus.VenusUI
-
Set the content to display as part of the window title, if any.
- setTokenMarker(TokenMarker) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Sets the document's token marker.
- setTokenMarker(TokenMarker) - Method in class mars.venus.editor.jeditsyntax.SyntaxDocument
-
Sets the token marker that is to be used to split lines of this document up into tokens.
- setType(TokenType) - Method in class mars.assembler.token.Token
-
Modify the type of this token.
- setup() - Static method in class mars.venus.themes.SolarizedDarkLaf
- setup() - Static method in class mars.venus.themes.SolarizedLightLaf
- setupColumn(int, int, int) - Method in class mars.venus.RegistersTable
- setUpdating(boolean) - Method in class mars.venus.RegistersTable
- setupLookAndFeel() - Static method in class mars.Application
-
Configure the look and feel of the GUI according to application settings, refreshing the appearance of the GUI if it is already created.
- setupTable() - Method in class mars.venus.execute.DataSegmentWindow
-
Generates and displays fresh table, typically done upon successful assembly.
- setupTable() - Method in class mars.venus.execute.SymbolTableWindow
-
Initialize table of labels (symbol table).
- setupTable() - Method in class mars.venus.execute.TextSegmentWindow
-
Method to be called once the user compiles the program.
- setupWindow() - Method in class mars.venus.Coprocessor1Tab
-
Sets up the data for the window.
- setupWindow() - Method in class mars.venus.ProcessorTab
-
Sets up the data for the window.
- setValue(int) - Method in class mars.mips.hardware.Register
-
Sets the value of the register, notifying listeners.
- setValue(int, int) - Static method in class mars.mips.hardware.Coprocessor1
-
This method updates the FPU register value whose number is given.
- setValue(int, int) - Static method in class mars.mips.hardware.Processor
-
Update the register value whose number is given, unless it is
$zero
. - setValue(Font) - Method in class mars.venus.FontChooserPane
- setValue(Object) - Method in class mars.assembler.token.Token
-
Modify the "value" this token represents.
- setValueAt(Object, int, int) - Method in class mars.venus.StaticTableModel
- setWindowBounds() - Method in class mars.venus.execute.ExecuteTab
-
This method will set the bounds of this JDesktopPane's internal windows relative to the current size of this JDesktopPane.
- setWorkingDirectory(Path) - Method in class mars.simulator.SystemIO
-
Set the working directory which is used to calculate relative paths when using
SystemIO.openFile(Path, int)
. - setWorkspaceStateSavingEnabled(boolean) - Method in class mars.venus.VenusUI
-
Set whether calls to
VenusUI.saveWorkspaceState()
have any effect. - SevenSegmentDisplay(byte) - Constructor for class mars.tools.DigitalLabSimulator.SevenSegmentDisplay
- SevenSegmentPanel(int) - Constructor for class mars.tools.DigitalLabSimulator.SevenSegmentPanel
- shortcut - Variable in class mars.venus.actions.VenusAction
- showOpenFileErrorDialog(List<File>) - Method in class mars.venus.editor.EditTab
-
Display an error dialog to the user indicating that one or more files could not be opened.
- showSplash() - Method in class mars.venus.SplashScreen
-
Show the splash screen for the amount of time given in the constructor, then set the main GUI window to be visible.
- showWindow() - Method in class mars.venus.VenusUI
-
Called by
SplashScreen
once it has displayed for the required duration, making this window visible. - SimpleCellRenderer - Class in mars.venus
-
Use this to render Monospaced and right-aligned data in JTables.
- SimpleCellRenderer(int) - Constructor for class mars.venus.SimpleCellRenderer
-
Create a new
SimpleCellRenderer
with the given text alignment. - simulate() - Method in class mars.assembler.BasicStatement
-
Simulate the execution of a specific MIPS basic instruction.
- simulate(int, int[]) - Method in class mars.simulator.Simulator
-
Simulate execution of given MIPS program.
- simulate(BasicStatement) - Method in interface mars.mips.instructions.SimulationFunction
-
Simulate the execution of a statement in a program.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.AbstractSyscall
-
Performs syscall function.
- simulate(BasicStatement) - Method in interface mars.mips.instructions.syscalls.Syscall
-
Performs syscall function.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallClose
-
Performs syscall function to close file descriptor given in $a0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallConfirmDialog
-
System call to display a message to user.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallExit
-
Performs syscall function to exit the MIPS program.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallExit2
-
Performs syscall function to exit the MIPS program with return value given in $a0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallInputDialogDouble
-
System call to input data.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallInputDialogFloat
-
System call to input data.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallInputDialogInt
-
System call to input data.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallInputDialogString
-
System call to input data.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialog
-
System call to display a message to user.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialogDouble
-
System call to display a message to user.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialogFloat
-
System call to display a message to user.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialogInt
-
System call to display a message to user.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallMessageDialogString
-
System call to display a message to user.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallMidiOut
-
Performs syscall function to send MIDI output to sound card.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallMidiOutSync
-
Performs syscall function to send MIDI output to sound card.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallOpen
-
Performs syscall function to open file name specified by $a0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintChar
-
Performs syscall function to print on the console the character stored in $a0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintDouble
-
Performs syscall function to print double whose bits are stored in $f12 and $f13.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintFloat
-
Performs syscall function to display float whose bits are stored in $f12.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintInt
-
Performs syscall function to print on the console the integer stored in $a0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintIntBinary
-
Performs syscall function to print on the console the integer stored in $a0, in binary format.
- simulate(BasicStatement) - 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(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintIntUnsigned
-
Performs syscall function to print on the console the integer stored in $a0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintIOMessage
-
Performs syscall function to print the most recent file operation message, as defined in
SystemIO.getFileOperationMessage()
, followed by a newline. - simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallPrintString
-
Performs syscall function to print string stored starting at address in $a0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandDouble
-
System call to the random number generator.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandFloat
-
System call to the random number generator.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandInt
-
System call to the random number generator.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandIntRange
-
System call to the random number generator, with an upper range specified.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallRandSeed
-
Set the seed of the underlying Java pseudorandom number generator.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallRead
-
Performs syscall function to read from file descriptor given in $a0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadChar
-
Performs syscall function to read a character from input console into $v0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadDouble
-
Performs syscall function to read the bits of input double into $f0 and $f1.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadFloat
-
Performs syscall function to read the bits of input float into $f0.
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadInt
-
Performs syscall function to read an integer from input console into $v0
- simulate(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallReadString
-
Performs syscall function to read console input string into buffer starting at address in $a0.
- simulate(BasicStatement) - 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(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallSeek
-
Performs syscall function to seek position of file descriptor given in $a0.
- simulate(BasicStatement) - 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(BasicStatement) - 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(BasicStatement) - Method in class mars.mips.instructions.syscalls.SyscallWrite
-
Performs syscall function to write to file descriptor given in $a0.
- SimulationFunction - Interface in mars.mips.instructions
-
Functional interface providing a 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.
- SimulatorException - Exception in mars.simulator
-
Class to represent error that occurs while assembling or running a MIPS program.
- SimulatorException() - Constructor for exception mars.simulator.SimulatorException
-
Constructor for ProcessingException.
- SimulatorException(int) - Constructor for exception mars.simulator.SimulatorException
-
Constructor for ProcessingException.
- SimulatorException(String) - Constructor for exception mars.simulator.SimulatorException
-
Constructor for ProcessingException.
- SimulatorException(BasicStatement, String) - Constructor for exception mars.simulator.SimulatorException
-
Constructor for ProcessingException to handle runtime exceptions
- SimulatorException(BasicStatement, String, int) - Constructor for exception mars.simulator.SimulatorException
-
Constructor for ProcessingException to handle runtime exceptions
- SimulatorException(BasicStatement, AddressErrorException) - Constructor for exception mars.simulator.SimulatorException
-
Constructor for ProcessingException to handle address runtime exceptions
- SimulatorException(AddressErrorException) - Constructor for exception mars.simulator.SimulatorException
-
Constructor for ProcessingException.
- simulatorFinished(SimulatorFinishEvent) - Method in interface mars.simulator.SimulatorListener
-
Called when the simulator stops execution of a program due to termination or finishing.
- simulatorFinished(SimulatorFinishEvent) - Method in class mars.venus.execute.DataSegmentWindow
- simulatorFinished(SimulatorFinishEvent) - Method in class mars.venus.execute.TextSegmentWindow
- simulatorFinished(SimulatorFinishEvent) - Method in class mars.venus.MessagesPane
-
Called when the simulator stops execution of a program due to termination or finishing.
- simulatorFinished(SimulatorFinishEvent) - Method in class mars.venus.RegistersDisplayTab
- simulatorFinished(SimulatorFinishEvent) - Method in class mars.venus.RegistersPane
- simulatorFinished(SimulatorFinishEvent) - Method in class mars.venus.VenusUI
- SimulatorFinishEvent - Class in mars.simulator
-
Event for when the simulator stops execution of a program due to termination or finishing.
- SimulatorFinishEvent(Simulator, SimulatorFinishEvent.Reason, SimulatorException) - Constructor for class mars.simulator.SimulatorFinishEvent
-
Construct a new event with the given parameters.
- SimulatorFinishEvent.Reason - Enum Class in mars.simulator
-
Enumeration of reasons for why the simulator might finish or terminate.
- SimulatorListener - Interface in mars.simulator
-
This interface is used to detect simulator events.
- simulatorPaused(SimulatorPauseEvent) - Method in interface mars.simulator.SimulatorListener
-
Called when the simulator stops execution of a program due to pausing.
- simulatorPaused(SimulatorPauseEvent) - Method in class mars.venus.execute.DataSegmentWindow
- simulatorPaused(SimulatorPauseEvent) - Method in class mars.venus.execute.TextSegmentWindow
- simulatorPaused(SimulatorPauseEvent) - Method in class mars.venus.MessagesPane
-
Called when the simulator stops execution of a program due to pausing.
- simulatorPaused(SimulatorPauseEvent) - Method in class mars.venus.RegistersDisplayTab
- simulatorPaused(SimulatorPauseEvent) - Method in class mars.venus.VenusUI
- SimulatorPauseEvent - Class in mars.simulator
-
Event for when the simulator stops execution of a program due to pausing.
- SimulatorPauseEvent(Simulator, int, SimulatorPauseEvent.Reason) - Constructor for class mars.simulator.SimulatorPauseEvent
-
Construct a new event with the given parameters.
- SimulatorPauseEvent.Reason - Enum Class in mars.simulator
-
Enumeration of reasons for why the simulator might pause.
- SimulatorPreferencesTab - Class in mars.venus.preferences
- SimulatorPreferencesTab(Settings) - Constructor for class mars.venus.preferences.SimulatorPreferencesTab
- simulatorStarted(SimulatorStartEvent) - Method in interface mars.simulator.SimulatorListener
-
Called when the simulator begins execution of a program.
- simulatorStarted(SimulatorStartEvent) - Method in class mars.venus.execute.DataSegmentWindow
- simulatorStarted(SimulatorStartEvent) - Method in class mars.venus.execute.TextSegmentWindow
- simulatorStarted(SimulatorStartEvent) - Method in class mars.venus.MessagesPane
-
Called when the simulator begins execution of a program.
- simulatorStarted(SimulatorStartEvent) - Method in class mars.venus.RegistersDisplayTab
- simulatorStarted(SimulatorStartEvent) - Method in class mars.venus.VenusUI
- SimulatorStartEvent - Class in mars.simulator
-
Event for when the simulator begins execution of a program.
- SimulatorStartEvent(Simulator, int) - Constructor for class mars.simulator.SimulatorStartEvent
-
Construct a new event with the given parameters.
- simulatorStepped() - Method in interface mars.simulator.SimulatorListener
-
Called when the simulator has finished executing an instruction, but only if the run speed is not unlimited.
- simulatorStepped() - Method in class mars.venus.execute.DataSegmentWindow
- simulatorStepped() - Method in class mars.venus.execute.TextSegmentWindow
- simulatorStepped() - Method in class mars.venus.RegistersDisplayTab
- SimulatorThread - Class in mars.simulator
-
Thread
subclass to perform MIPS simulation in the background. - SimulatorThread(Simulator, int, int[]) - Constructor for class mars.simulator.SimulatorThread
-
Create a new
SimulatorThread
without starting it. - sizeIntToSizeString(int) - Static method in class mars.venus.EditorFont
-
Given an int representing font size, returns corresponding string.
- sizeStringToSizeInt(String) - Static method in class mars.venus.EditorFont
-
Given a String representing font size, returns corresponding int.
- SMART_HOME_END_PROPERTY - Static variable in class mars.venus.editor.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 view screen, three presses = start/end of document).
- SOLARIZED_DARK - Enum constant in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- SOLARIZED_LIGHT - Enum constant in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- SolarizedDarkLaf - Class in mars.venus.themes
- SolarizedDarkLaf() - Constructor for class mars.venus.themes.SolarizedDarkLaf
- SolarizedLightLaf - Class in mars.venus.themes
- SolarizedLightLaf() - Constructor for class mars.venus.themes.SolarizedLightLaf
- SourceFile - Class in mars.assembler.token
- SourceFile(String, List<SourceLine>) - Constructor for class mars.assembler.token.SourceFile
- SourceLine - Class in mars.assembler.token
-
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(SourceLocation, String, List<Token>) - Constructor for class mars.assembler.token.SourceLine
-
Create a new
SourceLine
with the given information. - SourceLine(SourceLocation, String, List<Token>, SourceLine) - Constructor for class mars.assembler.token.SourceLine
-
Create a new macro expansion
SourceLine
with the given information. - SourceLocation - Class in mars.assembler.log
-
Class representing some location in a source file given to the assembler.
- SourceLocation(String) - Constructor for class mars.assembler.log.SourceLocation
-
Create a new
SourceLocation
referencing a file as a whole. - SourceLocation(String, int) - Constructor for class mars.assembler.log.SourceLocation
-
Create a new
SourceLocation
referencing a line as a whole. - SourceLocation(String, int, int) - Constructor for class mars.assembler.log.SourceLocation
-
Create a new
SourceLocation
referencing a specific column in a line. - SourceLocation(SourceLocation) - Constructor for class mars.assembler.log.SourceLocation
-
Create a clone of an existing
SourceLocation
. - SPACE - Enum constant in enum class mars.assembler.Directive
- SPLASH_DURATION_MILLIS - Static variable in class mars.venus.VenusUI
-
Time in milliseconds to show splash screen.
- SplashScreen - Class in mars.venus
-
Produces MARS splash screen.
- SplashScreen(VenusUI, int) - Constructor for class mars.venus.SplashScreen
-
Construct the splash screen for MARS which will display for the given duration when shown.
- STACK_POINTER - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Initial stack pointer ($sp).
- STACK_POINTER - Static variable in class mars.mips.hardware.Processor
- startAtMain - Variable in class mars.settings.Settings
-
Flag to control whether the assembler automatically initializes program counter to the address of global label
main
, if defined. - startObserving() - Method in class mars.tools.AbstractMarsTool
-
Register this tool as a listener of memory and/or registers, if applicable.
- startObserving() - Method in class mars.tools.BHTSimulator
-
Adds BHTSimulator as observer of the text segment.
- startObserving() - Method in class mars.tools.CacheSimulator
- startObserving() - Method in class mars.tools.DigitalLabSimulator
- startObserving() - 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.
- startObserving() - Method in class mars.tools.InstructionCounter
- startObserving() - Method in class mars.tools.InstructionStatistics
-
registers the tool as observer for the text segment of the MIPS program
- startObserving() - 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.
- startObserving() - 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.
- startObserving() - Method in class mars.tools.MipsXray
- startObserving() - Method in class mars.tools.VisualStack
- startObservingMemory() - Method in class mars.venus.execute.DataSegmentWindow
-
Convenience method to add this as a listener of all memory.
- startObservingMemory() - Method in class mars.venus.execute.TextSegmentWindow
-
Convenience method to add this as a listener of the text segment in memory.
- startObservingRegisters() - Method in class mars.venus.Coprocessor0Tab
- startObservingRegisters() - Method in class mars.venus.Coprocessor1Tab
- startObservingRegisters() - Method in class mars.venus.ProcessorTab
- startObservingRegisters() - Method in class mars.venus.RegistersDisplayTab
- Statement - Interface in mars.assembler
- StatementSyntax - Class in mars.assembler.syntax
- StatementSyntax(SourceLine, Token, Instruction, List<SyntaxOperand>) - Constructor for class mars.assembler.syntax.StatementSyntax
- statementWritten(int, BasicStatement) - Method in class mars.simulator.BackStepper
-
Add a new "back step" (the undo action) to the stack.
- STATIC_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest static data address.
- STATIC_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest static data address.
- StaticTableModel - Class in mars.venus
- StaticTableModel(Object[][], Object[]) - Constructor for class mars.venus.StaticTableModel
- STATUS - Static variable in class mars.mips.hardware.Coprocessor0
- STDERR_DESCRIPTOR - Static variable in class mars.simulator.SystemIO
-
File descriptor for standard error (
System.err
). - STDIN_DESCRIPTOR - Static variable in class mars.simulator.SystemIO
-
File descriptor for standard input (
System.in
). - STDOUT_DESCRIPTOR - Static variable in class mars.simulator.SystemIO
-
File descriptor for standard output (
System.out
). - STEP_LIMIT_REACHED - Enum constant in enum class mars.simulator.SimulatorPauseEvent.Reason
-
The requested number of steps have completed successfully, causing execution to pause.
- stopForPause() - Method in class mars.simulator.SimulatorThread
-
Flag this thread to stop due to pausing.
- stopForTermination() - Method in class mars.simulator.SimulatorThread
-
Flag this thread to stop due to termination.
- stopObserving() - Method in class mars.tools.AbstractMarsTool
-
Unregister this tool as a listener of memory and/or registers, if applicable.
- stopObserving() - Method in class mars.tools.BHTSimulator
- stopObserving() - Method in class mars.tools.BitmapDisplay
- stopObserving() - Method in class mars.tools.CacheSimulator
- stopObserving() - Method in class mars.tools.DigitalLabSimulator
- stopObserving() - Method in class mars.tools.FloatRepresentation
-
Delete this app/tool as an Observer of the attached register.
- stopObserving() - Method in class mars.tools.InstructionCounter
- stopObserving() - Method in class mars.tools.InstructionStatistics
- stopObserving() - Method in class mars.tools.KeyboardAndDisplaySimulator
- stopObserving() - Method in class mars.tools.MemoryReferenceVisualization
- stopObserving() - Method in class mars.tools.MipsXray
- stopObserving() - Method in class mars.tools.VisualStack
- stopObservingMemory() - Method in class mars.venus.execute.DataSegmentWindow
-
Convenience method to remove this as a listener of memory.
- stopObservingMemory() - Method in class mars.venus.execute.TextSegmentWindow
-
Convenience method to remove this as a listener of memory.
- stopObservingRegisters() - Method in class mars.venus.Coprocessor0Tab
- stopObservingRegisters() - Method in class mars.venus.Coprocessor1Tab
- stopObservingRegisters() - Method in class mars.venus.ProcessorTab
- stopObservingRegisters() - Method in class mars.venus.RegistersDisplayTab
- store(int, int, int, boolean) - Method in class mars.mips.hardware.Memory
-
Store a byte, halfword, or word in memory at a given address, which must be aligned properly.
- storeByte(int, int, boolean) - Method in class mars.mips.hardware.Memory
-
Store a byte in memory at a given address.
- storeDoubleword(int, long, boolean) - Method in class mars.mips.hardware.Memory
-
Store a doubleword in memory at a given address, which must be aligned to a word boundary.
- storeHalfword(int, int, boolean) - Method in class mars.mips.hardware.Memory
-
Store a halfword in memory at a given address, which must be aligned to a halfword boundary.
- storeProgramArguments(List<String>) - Method in class mars.simulator.Simulator
-
Place any program arguments into MIPS memory and registers.
- storeStatement(int, BasicStatement) - Method in class mars.mips.hardware.Memory.TextRegion
-
Store a statement in the region at a given address.
- storeStatement(int, BasicStatement, boolean) - Method in class mars.mips.hardware.Memory
-
Store a statement in memory at a given address, which must be aligned to a word boundary.
- storeWord(int, int) - Method in class mars.mips.hardware.Memory.DataRegion
-
Store a word in the region at a given address.
- storeWord(int, int, boolean) - Method in class mars.mips.hardware.Memory
-
Store a word in memory at a given address, which must be aligned to a word boundary.
- STRING - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a string literal.
- STRING_LITERAL - Static variable in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Literal 1 token id.
- StringSetting - Class in mars.settings
-
Class representing a persistent string setting and its current value.
- stringSettings - Variable in class mars.settings.Settings
- StringTrie<V> - Class in mars.util
- StringTrie() - Constructor for class mars.util.StringTrie
- StringTrie(String) - Constructor for class mars.util.StringTrie
- styles - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- styles - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- substituteSpacesForTabs(String, int) - Static method in class mars.venus.EditorFont
-
Handy utility to produce a string that substitutes spaces for all tab characters in the given string.
- supportsMultilineTokens() - Method in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Returns if the token marker supports tokens that span multiple lines.
- SVGIcon - Class in mars.venus
-
An icon whose image is in the Scalable Vector Graphics format.
- SVGIcon(URL, int, int) - Constructor for class mars.venus.SVGIcon
-
Create a new
SVGIcon
from a URL and initial dimensions. - 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
-
A symbol table used by the assembler to map symbols to the corresponding addresses.
- SymbolTable(String) - Constructor for class mars.assembler.SymbolTable
-
Create a new empty symbol table corresponding to the given filename.
- symbolTableSortState - Variable in class mars.settings.Settings
-
State for sorting label window display.
- SymbolTableWindow - Class in mars.venus.execute
-
Represents the symbol table window, which is a type of JInternalFrame.
- SymbolTableWindow(VenusUI) - Constructor for class mars.venus.execute.SymbolTableWindow
-
Constructor for the symbol table window.
- Syntax - Interface in mars.assembler.syntax
- SyntaxDocument - Class in mars.venus.editor.jeditsyntax
-
A document implementation that can be tokenized by the syntax highlighting system.
- SyntaxDocument() - Constructor for class mars.venus.editor.jeditsyntax.SyntaxDocument
- SyntaxOperand - Interface in mars.assembler.syntax
- SyntaxParser - Class in mars.assembler.syntax
- SyntaxParser(Iterator<SourceLine>, AssemblerLog) - Constructor for class mars.assembler.syntax.SyntaxParser
- SyntaxStyle - Class in mars.venus.editor.jeditsyntax
-
A simple text style class.
- SyntaxStyle(Color, boolean, boolean) - Constructor for class mars.venus.editor.jeditsyntax.SyntaxStyle
-
Creates a new SyntaxStyle.
- syntaxStyleCharLiteral - Variable in class mars.settings.Settings
- syntaxStyleComment - Variable in class mars.settings.Settings
- syntaxStyleDefault - Variable in class mars.settings.Settings
- syntaxStyleDirective - Variable in class mars.settings.Settings
- syntaxStyleInstruction - Variable in class mars.settings.Settings
- syntaxStyleInvalid - Variable in class mars.settings.Settings
- syntaxStyleLabel - Variable in class mars.settings.Settings
- syntaxStyleMacroArgument - Variable in class mars.settings.Settings
- syntaxStyleRegister - Variable in class mars.settings.Settings
- SyntaxStyleSetting - Class in mars.settings
-
Class representing a persistent syntax style setting and its current value.
- syntaxStyleSettings - Variable in class mars.settings.Settings
- syntaxStyleStringLiteral - Variable in class mars.settings.Settings
- SyntaxUtilities - Class in mars.venus.editor.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 - Static variable in class mars.simulator.ExceptionCause
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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.
- SyscallManager - Class in mars.mips.instructions
-
This class provides functionality to bring external Syscall definitions into MARS.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- SyscallPrintDouble - Class in mars.mips.instructions.syscalls
-
Service to display double whose bits are stored in $f12 and $f13 onto the console.
- SyscallPrintDouble() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintDouble
-
Build an instance of the syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- SyscallPrintIOMessage - Class in mars.mips.instructions.syscalls
-
Service to print the last file operation message.
- SyscallPrintIOMessage() - Constructor for class mars.mips.instructions.syscalls.SyscallPrintIOMessage
-
Build an instance of the syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- SyscallSeek - Class in mars.mips.instructions.syscalls
-
Service to seek position of file descriptor given in $a0.
- SyscallSeek() - Constructor for class mars.mips.instructions.syscalls.SyscallSeek
-
Build an instance of the syscall with its default service number and name.
- 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 syscall with its default service number and name.
- 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 syscall with its default service number and name.
- SystemIO - Class in mars.simulator
-
Provides standard input/output services needed to simulate the MIPS syscall routines.
- SystemIO() - Constructor for class mars.simulator.SystemIO
-
Set up I/O functionality.
- SystemIO.FileHandle - Class in mars.simulator
-
Virtual representation of a file for the file-related syscalls to use.
- SystemIO.SeekWhence - Enum Class in mars.simulator
-
Enumeration of locations whence to seek from in a file.
T
- TableCache<T> - Class in mars.venus
- TableCache() - Constructor for class mars.venus.TableCache
- TableCache(int, int) - Constructor for class mars.venus.TableCache
- tableFont - Variable in class mars.settings.Settings
-
Font for the various table displays (registers, text segment, memory viewer, symbol table).
- tableHighlightFont - Variable in class mars.settings.Settings
-
Font for highlighted text in table displays (overrides
Settings.tableFont
in those cells). - tabSize - Variable in class mars.venus.editor.jeditsyntax.TextAreaDefaults
- tabSize - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- tabSizeChars - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- TAKE_BRANCH_STRING - Static variable in class mars.tools.bhtsim.BHTSimGUI
-
Constant for the String representing "take the branch."
- targetVertices - Variable in class mars.tools.MipsXray.Vertex
- TEMPLATE_SUBSTITUTION - Enum constant in enum class mars.assembler.token.TokenType
-
A token representing a template substitution wrapped in curly braces.
- TemplateOperand - Interface in mars.assembler.extended
- TemplateParser - Class in mars.assembler.extended
- TemplateParser(List<OperandType>, Iterator<SourceLine>) - Constructor for class mars.assembler.extended.TemplateParser
- TemplateStatement - Class in mars.assembler.extended
- TemplateStatement(BasicInstruction, List<TemplateOperand>) - Constructor for class mars.assembler.extended.TemplateStatement
- TEMPORARY_0 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_1 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_2 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_3 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_4 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_5 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_6 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_7 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_8 - Static variable in class mars.mips.hardware.Processor
- TEMPORARY_9 - Static variable in class mars.mips.hardware.Processor
- terminate() - Method in class mars.simulator.Simulator
-
Flag the simulator to stop due to termination, even if it is currently paused.
- TERMINATED - Enum constant in enum class mars.venus.execute.ProgramStatus
-
The program stopped execution after starting, and is no longer runnable.
- TEXT - Enum constant in enum class mars.assembler.Directive
- TEXT_FOUND - Static variable in interface mars.venus.editor.MARSTextEditingArea
- TEXT_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest text segment address.
- TEXT_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest text segment address.
- TEXT_NOT_FOUND - Static variable in interface mars.venus.editor.MARSTextEditingArea
- TEXT_REPLACED_FOUND_NEXT - Static variable in interface mars.venus.editor.MARSTextEditingArea
- TEXT_REPLACED_NOT_FOUND_NEXT - Static variable in interface mars.venus.editor.MARSTextEditingArea
- textArea - Variable in class mars.venus.editor.jeditsyntax.TextAreaPainter
- TextAreaDefaults - Class in mars.venus.editor.jeditsyntax
-
Encapsulates default settings for a text area.
- TextAreaDefaults(Settings) - Constructor for class mars.venus.editor.jeditsyntax.TextAreaDefaults
-
Constructs a new TextAreaDefaults object with the default values filled in.
- TextAreaPainter - Class in mars.venus.editor.jeditsyntax
-
The text area repaint manager.
- TextAreaPainter(JEditTextArea, TextAreaDefaults) - Constructor for class mars.venus.editor.jeditsyntax.TextAreaPainter
-
Creates a new repaint manager.
- TextAreaPainter.Highlight - Interface in mars.venus.editor.jeditsyntax
-
Highlight interface.
- TextRegion(int, int) - Constructor for class mars.mips.hardware.Memory.TextRegion
-
Allocate a new region of memory containing text.
- textSegment - Variable in class mars.assembler.Assembler
- textSegmentColumnOrder - Variable in class mars.settings.Settings
-
Order of text segment table columns.
- textSegmentExecuteHighlightBackground - Variable in class mars.settings.Settings
-
RGB color for text segment highlighted background
- textSegmentExecuteHighlightForeground - Variable in class mars.settings.Settings
-
RGB color for text segment highlighted foreground
- textSegmentFetchHighlightBackground - Variable in class mars.settings.Settings
-
RGB color for text segment fetch highlighted background
- textSegmentFetchHighlightForeground - Variable in class mars.settings.Settings
-
RGB color for text segment fetch highlighted foreground
- TextSegmentWindow - Class in mars.venus.execute
-
Creates the Text Segment window in the Execute tab of the UI.
- TextSegmentWindow(VenusUI) - Constructor for class mars.venus.execute.TextSegmentWindow
-
Constructor, sets up a new JInternalFrame.
- TextUtilities - Class in mars.venus.editor.jeditsyntax
-
Class with several utility functions used by the text area component.
- TextUtilities() - Constructor for class mars.venus.editor.jeditsyntax.TextUtilities
- time - Variable in class mars.util.HardcopyWriter
- toColumnLocation(int) - Method in class mars.assembler.log.SourceLocation
-
Generates a new location referencing a column in the line referenced by this location.
- TOGGLE_RECT - Static variable in class mars.venus.editor.jeditsyntax.InputHandler
- toggleBreakpoints() - Method in class mars.venus.execute.TextSegmentWindow
-
Enable or disable all items in the Breakpoints column.
- ToggleOverwriteAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.ToggleOverwriteAction
- ToggleRectangularAction() - Constructor for class mars.venus.editor.jeditsyntax.InputHandler.ToggleRectangularAction
- token - Variable in class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker.LineInfo
-
The id of the last token of the line.
- Token - Class in mars.assembler.token
-
Represents one token in the input MIPS program.
- Token - Class in mars.venus.editor.jeditsyntax.tokenmarker
-
A linked list of tokens.
- Token(int, byte) - Constructor for class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Creates a new token.
- Token(SourceLocation, String, TokenType, Object) - Constructor for class mars.assembler.token.Token
-
Create a new
Token
with the given information. - tokenizeFile(String, AssemblerLog) - Static method in class mars.assembler.token.Tokenizer
-
Tokenize a complete MIPS program from a file, line by line.
- tokenizeFile(String, AssemblerLog, Preprocessor) - Static method in class mars.assembler.token.Tokenizer
- tokenizeLine(String, String, int, AssemblerLog, Preprocessor) - Static method in class mars.assembler.token.Tokenizer
-
Tokenize one line of source code.
- tokenizeLine(String, String, int, AssemblerLog, Preprocessor, boolean) - Static method in class mars.assembler.token.Tokenizer
- tokenizeLines() - Method in class mars.venus.editor.jeditsyntax.SyntaxDocument
-
Parses the document by passing all lines to the token marker.
- tokenizeLines(int, int) - Method in class mars.venus.editor.jeditsyntax.SyntaxDocument
-
Parses the document by passing the specified lines to the token marker.
- tokenizeLines(String, List<String>, AssemblerLog) - Static method in class mars.assembler.token.Tokenizer
-
Tokenize a complete MIPS program, line by line.
- tokenizeLines(String, List<String>, AssemblerLog, boolean) - Static method in class mars.assembler.token.Tokenizer
- tokenizeLines(String, List<String>, AssemblerLog, boolean, Preprocessor) - Static method in class mars.assembler.token.Tokenizer
- Tokenizer - Class in mars.assembler.token
-
A tokenizer is capable of tokenizing a complete MIPS program, or a given line from a MIPS program.
- Tokenizer() - Constructor for class mars.assembler.token.Tokenizer
- tokenMarker - Variable in class mars.venus.editor.jeditsyntax.SyntaxDocument
- TokenMarker - Class in mars.venus.editor.jeditsyntax.tokenmarker
-
A token marker that splits lines of text into tokens.
- TokenMarker() - Constructor for class mars.venus.editor.jeditsyntax.tokenmarker.TokenMarker
-
Creates a new
TokenMarker
. - TokenMarker.LineInfo - Class in mars.venus.editor.jeditsyntax.tokenmarker
-
Inner class for storing information about tokenized lines.
- TokenType - Enum Class in mars.assembler.token
-
Enumeration to identify the types of tokens found in MIPS programs.
- toLineLocation() - Method in class mars.assembler.log.SourceLocation
-
Generates a new location referencing the line as a whole rather than a particular column in the line.
- ToolAction - Class in mars.venus.actions
-
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(MarsTool) - Constructor for class mars.venus.actions.ToolAction
-
Create a new
ToolAction
for the specifiedMarsTool
. - ToolManager - Class in mars.venus
-
This class provides functionality to bring external MARS tools into the MARS system by adding them to its Tools menu.
- toOperand() - Method in class mars.assembler.token.Token
-
Convert this token to an
Operand
, if possible. - topY - Variable in class mars.util.HardcopyWriter
- toString() - Method in class mars.assembler.BasicStatement
- toString() - Method in enum class mars.assembler.Directive
-
Obtain the string representation of this directive.
- toString() - Method in class mars.assembler.log.LogMessage
-
Convert this message to a string for the purpose of displaying to the user.
- toString() - Method in class mars.assembler.log.SourceLocation
-
Get the string representation of this location.
- toString() - Method in class mars.assembler.Operand
- toString() - Method in enum class mars.assembler.OperandType
- toString() - Method in class mars.assembler.token.Macro
-
Convert this macro to a string containing the name and parameter count.
- toString() - Method in class mars.assembler.token.Token
-
Get the string representation of this token.
- 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 record class mars.mips.hardware.MemoryConfiguration
-
Returns a string representation of this record class.
- toString() - Method in class mars.simulator.SystemIO.FileHandle
- toString() - Method in enum class mars.tools.CacheSimulator.PlacementPolicy
- toString() - Method in enum class mars.tools.CacheSimulator.ReplacementPolicy
- toString() - Method in class mars.venus.editor.jeditsyntax.KeywordMap
- toString() - Method in class mars.venus.editor.jeditsyntax.SyntaxStyle
-
Returns a string representation of this object.
- toString() - Method in class mars.venus.editor.jeditsyntax.tokenmarker.Token
-
Returns a string representation of this token.
- toString() - Method in enum class mars.venus.EditorFont.Style
- toString() - Method in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
- transmitterControl - Static variable in class mars.tools.KeyboardAndDisplaySimulator
- transmitterData - Static variable in class mars.tools.KeyboardAndDisplaySimulator
- TRAP - Static variable in class mars.simulator.ExceptionCause
- TRIM_CHARACTERS_EXTRA_COUNT - Static variable in class mars.venus.ConsoleTextArea
- TRIM_LINES_EXTRA_COUNT - Static variable in class mars.venus.ConsoleTextArea
- tryParseNextSyntax() - Method in class mars.assembler.syntax.SyntaxParser
- twoIntsToLong(int, int) - Static method in class mars.util.Binary
-
Returns a 64-bit integer representing the concatenation of two given 32-bit integers.
- twoShortsToInt(short, short) - Static method in class mars.util.Binary
-
Returns a 32-bit integer representing the concatenation of two given 16-bit integers.
U
- uiScale - Variable in class mars.settings.Settings
-
UI scale multiplier as a percentage. 100 is at 1:1 scale.
- undo() - Method in class mars.venus.editor.FileEditorTab
-
Undo the previous edit.
- undo() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Undo previous edit.
- undo() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea.CaretUndo
- undo() - Method in interface mars.venus.editor.MARSTextEditingArea
- union(OperandType, OperandType) - Static method in enum class mars.assembler.OperandType
- UNLIMITED_SPEED - Static variable in class mars.simulator.Simulator
-
Constant that represents unlimited run speed.
- unredoing - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- update() - Method in class mars.venus.actions.edit.EditCommentAction
- update() - Method in class mars.venus.actions.edit.EditCopyAction
- update() - Method in class mars.venus.actions.edit.EditCutAction
- update() - Method in class mars.venus.actions.edit.EditFindReplaceAction
- update() - Method in class mars.venus.actions.edit.EditPasteAction
- update() - Method in class mars.venus.actions.edit.EditRedoAction
-
Automatically update whether this action is enabled or disabled based on the status of the
UndoManager
. - update() - Method in class mars.venus.actions.edit.EditSelectAllAction
- update() - Method in class mars.venus.actions.edit.EditUndoAction
-
Automatically update whether this action is enabled or disabled based on the status of the
UndoManager
. - update() - Method in class mars.venus.actions.file.FileCloseAction
- update() - Method in class mars.venus.actions.file.FileCloseAllAction
- update() - Method in class mars.venus.actions.file.FileDumpMemoryAction
- update() - Method in class mars.venus.actions.file.FilePrintAction
- update() - Method in class mars.venus.actions.file.FileSaveAction
- update() - Method in class mars.venus.actions.file.FileSaveAllAction
- update() - Method in class mars.venus.actions.file.FileSaveAsAction
- update() - Method in class mars.venus.actions.run.RunAssembleAction
- update() - Method in class mars.venus.actions.run.RunAssembleFolderAction
- update() - Method in class mars.venus.actions.run.RunClearBreakpointsAction
-
This is response upon editing of text segment table model.
- update() - Method in class mars.venus.actions.run.RunPauseAction
- update() - Method in class mars.venus.actions.run.RunResetAction
- update() - Method in class mars.venus.actions.run.RunStartAction
- update() - Method in class mars.venus.actions.run.RunStepBackwardAction
- update() - Method in class mars.venus.actions.run.RunStepForwardAction
- update() - Method in class mars.venus.actions.run.RunStopAction
- update() - Method in class mars.venus.actions.run.RunToggleBreakpointsAction
- update() - Method in class mars.venus.actions.VenusAction
-
Update this action according to the current GUI state.
- updateBaseAddressComboBox() - Method in class mars.venus.execute.DataSegmentWindow
- updateBasicStatements() - Method in class mars.venus.execute.TextSegmentWindow
-
Redisplay the basic statements.
- updateBracketHighlight(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
- updateCodeAddresses() - Method in class mars.venus.execute.TextSegmentWindow
-
Redisplay the addresses.
- updateDataAddresses() - Method in class mars.venus.execute.DataSegmentWindow
-
Redisplay the addresses.
- updateDefault() - Method in class mars.settings.ColorSetting
- updateDimensions(int, int) - Method in class mars.venus.TableCache
- updateDoubleRegisterValue(int, long, int) - Method in class mars.venus.Coprocessor1Tab
-
This method handles the updating of the GUI.
- updateFloatRegisterValue(int, int, int) - Method in class mars.venus.Coprocessor1Tab
-
This method handles the updating of the GUI.
- updateHexadecimalKeyboard(int) - Method in class mars.tools.DigitalLabSimulator
- updateHighlighting() - Method in class mars.venus.execute.TextSegmentWindow
-
Highlights the source code line whose address matches the current program counter value.
- updateLabelAddresses() - Method in class mars.venus.execute.SymbolTableWindow
-
Method to update display of label addresses.
- updateListeningStatus() - Method in class mars.venus.execute.TextSegmentWindow
-
Convenience method to remove this as a listener of memory, then add again if the self-modifying code feature is enabled in the settings.
- updateModelForMemoryRange(int) - Method in class mars.venus.execute.DataSegmentWindow
-
Update table model with contents of new memory "chunk".
- updateOneSecondCounter(int) - Method in class mars.tools.DigitalLabSimulator
- updatePrediction(boolean) - Method in class mars.tools.bhtsim.BHTEntry
-
Updates the entry's history and prediction.
- updatePrediction(int, boolean) - Method in class mars.tools.bhtsim.BHTableModel
-
Updates the BHT entry with the outcome of the branch instruction.
- updateRegister(int, int) - Static method in class mars.mips.hardware.Coprocessor0
-
This method updates the register value whose number is given.
- updateRegisters() - Method in class mars.venus.RegistersDisplayTab
-
Update register display using current number base (10 or 16).
- updateRegisters(int) - Static method in class mars.mips.hardware.Coprocessor0
-
Given MIPS exception cause code, place that code into coprocessor 0 CAUSE register ($13), set the EPC register ($14) to "current" program counter, and set Exception Level bit in STATUS register ($12).
- updateRegisters(int) - Method in class mars.venus.Coprocessor0Tab
-
Update register display using specified number base (10 or 16).
- updateRegisters(int) - Method in class mars.venus.Coprocessor1Tab
-
Update register display using specified number base (10 or 16).
- updateRegisters(int) - Method in class mars.venus.ProcessorTab
-
Update register display using specified number base (10 or 16).
- updateRegisters(int) - Method in class mars.venus.RegistersDisplayTab
-
Update register display using specified number base (10 or 16).
- updateRegisters(int, int) - Static method in class mars.mips.hardware.Coprocessor0
-
Given MIPS exception cause code and bad address, place the bad address into VADDR register ($8), place the cause code into the CAUSE register ($13), set the EPC register ($14) to "current" program counter, and set Exception Level bit in STATUS register ($12).
- updateRegisterUnsignedValue(int, int, int) - Method in class mars.venus.ProcessorTab
-
This method handles the updating of the GUI.
- updateRegisterValue(int, int, int) - Method in class mars.venus.Coprocessor0Tab
-
This method handles the updating of the GUI.
- updateRegisterValue(int, int, int) - Method in class mars.venus.ProcessorTab
-
This method handles the updating of the GUI.
- updateScrollBars() - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Updates the state of the scroll bars.
- updateSyntaxStyles() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Update the syntax style table, which is obtained from
SyntaxUtilities
. - updateSyntaxStyles() - Method in interface mars.venus.editor.MARSTextEditingArea
- updateThemeDefaults() - Method in class mars.settings.Settings
-
Update any default values that are derived from the UI theme.
- updateTitleAndMenuState(FileEditorTab) - Method in class mars.venus.editor.EditTab
-
Update the title on a given tab and possibly the title of the window, as well as the GUI's menu state (i.e. which actions are enabled) if applicable.
- updateUI() - Method in class mars.venus.ConsoleTextArea
-
Update the appearance of this text area, overriding the background color and font according to current settings.
- updateUI() - Method in class mars.venus.DynamicTabbedPane
- updateUI() - Method in class mars.venus.editor.jeditsyntax.JEditBasedTextArea
-
Ensure that syntax styles are updated properly when the application theme is changed.
- updateUI() - Method in class mars.venus.editor.jeditsyntax.TextAreaPainter
- updateUI() - Method in class mars.venus.execute.DataSegmentWindow
-
For whatever reason, FlatLaf seems to forget what the frame icon is set to after this method is called.
- updateUI() - Method in class mars.venus.execute.SymbolTableWindow
-
For whatever reason, FlatLaf seems to forget what the frame icon is set to after this method is called.
- updateUI() - Method in class mars.venus.execute.TextSegmentWindow
-
For whatever reason, FlatLaf seems to forget what the frame icon is set to after this method is called.
- updateUndoRedoActions() - Method in class mars.venus.editor.FileEditorTab
-
Automatically update whether the Undo and Redo actions are enabled or disabled based on the status of the
UndoManager
. - updateUndoRedoActions() - Method in class mars.venus.VenusUI
-
Automatically update whether the Undo and Redo actions are enabled or disabled based on the status of the
UndoManager
. - updateValues() - Method in class mars.venus.execute.DataSegmentWindow
-
Update data display to show all values.
- useBigEndian - Variable in class mars.settings.Settings
-
Flag to control whether the big-endian byte ordering is used in memory and register addressing.
- useProgramArguments - Variable in class mars.settings.Settings
-
Flag to control whether to accept and use program arguments.
- USER_HIGH - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Highest user space address.
- USER_LOW - Static variable in class mars.mips.hardware.MemoryConfigurations
-
Lowest user space address.
- USER_MODE - Static variable in class mars.venus.execute.DataSegmentWindow
V
- VALUE_0 - Static variable in class mars.mips.hardware.Processor
- VALUE_1 - Static variable in class mars.mips.hardware.Processor
- valueOf(int) - Static method in enum class mars.simulator.SystemIO.SeekWhence
-
Find the "whence" value, if any, corresponding to a given internal integer value.
- valueOf(String) - Static method in enum class mars.assembler.AssemblerFlag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.assembler.Directive
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.assembler.log.LogLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.assembler.OperandType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.assembler.token.TokenType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.mips.hardware.Endianness
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.mips.instructions.InstructionFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.simulator.SimulatorFinishEvent.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.simulator.SimulatorPauseEvent.Reason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.simulator.SystemIO.SeekWhence
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.tools.CacheSimulator.PlacementPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.tools.CacheSimulator.ReplacementPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.tools.MipsXray.DatapathUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.venus.editor.FileStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.venus.EditorFont.Style
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.venus.execute.ProgramStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class mars.assembler.AssemblerFlag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.assembler.Directive
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.assembler.log.LogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.assembler.OperandType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.assembler.token.TokenType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.mips.hardware.Endianness
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.mips.instructions.InstructionFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.simulator.SimulatorFinishEvent.Reason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.simulator.SimulatorPauseEvent.Reason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.simulator.SystemIO.SeekWhence
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.tools.CacheSimulator.PlacementPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.tools.CacheSimulator.ReplacementPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.tools.MipsXray.DatapathUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.venus.editor.FileStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.venus.EditorFont.Style
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.venus.execute.ProgramStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mars.venus.preferences.AppearancePreferencesTab.Theme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VALUES_PER_ROW - Static variable in class mars.venus.execute.DataSegmentWindow
- VenusAction - Class in mars.venus.actions
-
Parent class for Action subclasses representing every menu/toolbar option.
- VenusAction(VenusUI, String, Icon, String, Integer, KeyStroke) - Constructor for class mars.venus.actions.VenusAction
- VenusUI - Class in mars.venus
-
Top level container for the Venus GUI.
- VenusUI(Settings, String) - Constructor for class mars.venus.VenusUI
-
Create a new instance of the Venus GUI and show it once it is created.
- VERSION - Static variable in class mars.Application
-
The current MARS Red version number.
- VERSION - Static variable in class mars.tools.BHTSimulator
-
The version of the tool.
- VERSION - Static variable in class mars.tools.CacheSimulator
- Vertex(int, int, int, String, int, boolean, String, String, boolean) - Constructor for class mars.tools.MipsXray.Vertex
- vertical - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- visibleLines - Variable in class mars.venus.editor.jeditsyntax.JEditTextArea
- VisualStack - Class in mars.tools
- VisualStack() - Constructor for class mars.tools.VisualStack
-
Construct an instance of this tool.
W
- warning(SourceLocation, String) - Static method in class mars.assembler.log.LogMessage
-
Create a new
LogMessage
with levelLogLevel.WARNING
. - WARNING - Enum constant in enum class mars.assembler.log.LogLevel
- warningsAreErrors - Variable in class mars.settings.Settings
-
Flag to control whether assembler warnings are automatically promoted to errors.
- width - Variable in class mars.util.HardcopyWriter
- willBranch(BasicStatement) - Static method in class mars.tools.BHTSimulator
-
Checks if the branch instruction delivered as parameter will branch or not.
- WINDOW_ICON_NAME - Static variable in class mars.venus.VenusUI
-
Filename of the icon used in the window title bar and taskbar.
- withType(OperandType) - Method in class mars.assembler.extended.FlagSubstitutionOperand
- withType(OperandType) - Method in class mars.assembler.extended.OperandSubstitution
- withType(OperandType) - Method in interface mars.assembler.extended.TemplateOperand
- withType(OperandType) - Method in class mars.assembler.Operand
- WORD - Enum constant in enum class mars.assembler.Directive
- wordWritten(int, int) - Method in class mars.simulator.BackStepper
-
Add a new "back step" (the undo action) to the stack.
- WrappingCellRenderer - Class in mars.venus
- WrappingCellRenderer() - Constructor for class mars.venus.WrappingCellRenderer
- WrappingCellRenderer(float) - Constructor for class mars.venus.WrappingCellRenderer
- write(char[], int, int) - Method in class mars.util.HardcopyWriter
-
This is the write() method of the stream.
- WRITE_ONLY_FLAG - Static variable in class mars.simulator.SystemIO
-
Open the file for write access.
- writeMessage(LogMessage) - Method in class mars.venus.ConsoleTextArea
-
Write output text to the console.
- writeOutput(String) - Method in class mars.venus.ConsoleTextArea
-
Write output text to the console.
- writeToFile(int, ByteBuffer) - Method in class mars.simulator.SystemIO
-
Write bytes to file.
X
- xToOffset(int, int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Converts an x co-ordinate to an offset within a line.
- xyToOffset(int, int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Converts a point to an offset, from the start of the text.
Y
- yToLine(int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Converts a y co-ordinate to a line index.
Z
- ZERO_CONSTANT - Static variable in class mars.mips.hardware.Processor
_
- _offsetToX(int, int) - Method in class mars.venus.editor.jeditsyntax.JEditTextArea
-
Converts an offset in a line into an x co-ordinate.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form