# Constant Field Values

Contents

- mars.*

mars.*

mars.ErrorList
`public static final String` `ERROR_MESSAGE_PREFIX` `"Error"`
`public static final String` `FILENAME_PREFIX` `" in "`
`public static final String` `LINE_PREFIX` `" line "`
`public static final String` `MESSAGE_SEPARATOR` `": "`
`public static final String` `POSITION_PREFIX` `" column "`
`public static final String` `WARNING_MESSAGE_PREFIX` `"Warning"`

mars.ErrorMessage
`public static final boolean` `ERROR` `false`
`public static final boolean` `WARNING` `true`

mars.Globals
`public static final String` `helpPath` `"/help/"`
`public static final String` `imagesPath` `"/images/"`
`public static final String` `version` `"4.4"`

mars.Settings
`public static final int` `ASSEMBLE_ALL_ENABLED` `3`
`public static final int` `ASSEMBLE_ON_OPEN_ENABLED` `2`
`public static final int` `AUTO_INDENT` `19`
`public static final int` `BARE_MACHINE_ENABLED` `1`
`public static final int` `CARET_BLINK_RATE` `4`
`public static final int` `DATA_SEGMENT_HIGHLIGHTING` `12`
`public static final int` `DATASEGMENT_HIGHLIGHT_BACKGROUND` `8`
`public static final int` `DATASEGMENT_HIGHLIGHT_FONT` `5`
`public static final int` `DATASEGMENT_HIGHLIGHT_FOREGROUND` `9`
`public static final int` `DELAYED_BRANCHING_ENABLED` `8`
`public static final int` `DISPLAY_ADDRESSES_IN_HEX` `5`
`public static final int` `DISPLAY_VALUES_IN_HEX` `6`
`public static final int` `EDITOR_CURRENT_LINE_HIGHLIGHTING` `15`
`public static final int` `EDITOR_FONT` `0`
`public static final int` `EDITOR_LINE_NUMBERS_DISPLAYED` `9`
`public static final int` `EDITOR_POPUP_PREFIX_LENGTH` `6`
`public static final int` `EDITOR_TAB_SIZE` `5`
`public static final int` `EVEN_ROW_BACKGROUND` `0`
`public static final int` `EVEN_ROW_FONT` `1`
`public static final int` `EVEN_ROW_FOREGROUND` `1`
`public static final int` `EXCEPTION_HANDLER` `0`
`public static final int` `EXCEPTION_HANDLER_ENABLED` `7`
`public static final int` `EXTENDED_ASSEMBLER_ENABLED` `0`
`public static final int` `GENERIC_TEXT_EDITOR` `18`
`public static final int` `LABEL_SORT_STATE` `2`
`public static final int` `LABEL_WINDOW_VISIBILITY` `4`
`public static final int` `MEMORY_CONFIGURATION` `3`
`public static final int` `ODD_ROW_BACKGROUND` `2`
`public static final int` `ODD_ROW_FONT` `2`
`public static final int` `ODD_ROW_FOREGROUND` `3`
`public static final int` `POPUP_INSTRUCTION_GUIDANCE` `16`
`public static final int` `POPUP_SYSCALL_INPUT` `17`
`public static final int` `PROGRAM_ARGUMENTS` `11`
`public static final int` `REGISTER_HIGHLIGHT_BACKGROUND` `10`
`public static final int` `REGISTER_HIGHLIGHT_FONT` `6`
`public static final int` `REGISTER_HIGHLIGHT_FOREGROUND` `11`
`public static final int` `REGISTERS_HIGHLIGHTING` `13`
`public static final int` `SELF_MODIFYING_CODE_ENABLED` `20`
`public static final int` `START_AT_MAIN` `14`
`public static final int` `TEXT_COLUMN_ORDER` `1`
`public static final int` `TEXTSEGMENT_DELAYSLOT_HIGHLIGHT_BACKGROUND` `6`
`public static final int` `TEXTSEGMENT_DELAYSLOT_HIGHLIGHT_FONT` `4`
`public static final int` `TEXTSEGMENT_DELAYSLOT_HIGHLIGHT_FOREGROUND` `7`
`public static final int` `TEXTSEGMENT_HIGHLIGHT_BACKGROUND` `4`
`public static final int` `TEXTSEGMENT_HIGHLIGHT_FONT` `3`
`public static final int` `TEXTSEGMENT_HIGHLIGHT_FOREGROUND` `5`
`public static final int` `WARNINGS_ARE_ERRORS` `10`

mars.assembler.*

mars.assembler.DataTypes
`public static final int` `BYTE_SIZE` `1`
`public static final int` `CHAR_SIZE` `1`
`public static final int` `DOUBLE_SIZE` `8`
`public static final int` `FLOAT_SIZE` `4`
`public static final int` `HALF_SIZE` `2`
`public static final double` `LOW_DOUBLE_VALUE` `-1.7976931348623157E308`
`public static final double` `LOW_FLOAT_VALUE` `-3.4028234663852886E38`
`public static final int` `MAX_BYTE_VALUE` `127`
`public static final double` `MAX_DOUBLE_VALUE` `1.7976931348623157E308`
`public static final double` `MAX_FLOAT_VALUE` `3.4028234663852886E38`
`public static final int` `MAX_HALF_VALUE` `32767`
`public static final int` `MAX_UHALF_VALUE` `65535`
`public static final int` `MAX_WORD_VALUE` `2147483647`
`public static final int` `MIN_BYTE_VALUE` `-128`
`public static final int` `MIN_HALF_VALUE` `-32768`
`public static final int` `MIN_UHALF_VALUE` `0`
`public static final int` `MIN_WORD_VALUE` `-2147483648`
`public static final int` `WORD_SIZE` `4`

mars.assembler.Symbol
`public static final boolean` `DATA_SYMBOL` `true`
`public static final boolean` `TEXT_SYMBOL` `false`

mars.assembler.SymbolTable
`public static final int` `NOT_FOUND` `-1`

mars.assembler.TokenTypes
`public static final String` `TOKEN_DELIMITERS` `"\t ,()"`

mars.mips.*

mars.mips.hardware.AccessNotice
`public static final int` `READ` `0`
`public static final int` `WRITE` `1`

mars.mips.hardware.Coprocessor0
`public static final int` `CAUSE` `13`
`public static final int` `DEFAULT_STATUS_VALUE` `65297`
`public static final int` `EPC` `14`
`public static final int` `EXCEPTION_LEVEL` `1`
`public static final int` `STATUS` `12`
`public static final int` `VADDR` `8`

mars.mips.hardware.Memory
`public static final boolean` `BIG_ENDIAN` `false`
`public static final boolean` `LITTLE_ENDIAN` `true`
`public static final int` `WORD_LENGTH_BYTES` `4`

mars.mips.hardware.RegisterFile
`public static final int` `GLOBAL_POINTER_REGISTER` `28`
`public static final int` `STACK_POINTER_REGISTER` `29`

mars.mips.instructions.Instruction
`public static final int` `INSTRUCTION_LENGTH` `4`
`public static final int` `INSTRUCTION_LENGTH_BITS` `32`

mars.simulator.*

mars.simulator.Exceptions
`public static final int` `ADDRESS_EXCEPTION_LOAD` `4`
`public static final int` `ADDRESS_EXCEPTION_STORE` `5`
`public static final int` `ARITHMETIC_OVERFLOW_EXCEPTION` `12`
`public static final int` `BREAKPOINT_EXCEPTION` `9`
`public static final int` `DIVIDE_BY_ZERO_EXCEPTION` `15`
`public static final int` `EXTERNAL_INTERRUPT_DISPLAY` `128`
`public static final int` `EXTERNAL_INTERRUPT_KEYBOARD` `64`
`public static final int` `FLOATING_POINT_OVERFLOW` `16`
`public static final int` `FLOATING_POINT_UNDERFLOW` `17`
`public static final int` `RESERVED_INSTRUCTION_EXCEPTION` `10`
`public static final int` `SYSCALL_EXCEPTION` `8`
`public static final int` `TRAP_EXCEPTION` `13`

mars.simulator.Simulator
`public static final int` `BREAKPOINT` `1`
`public static final int` `CLIFF_TERMINATION` `5`
`public static final int` `EXCEPTION` `2`
`public static final int` `MAX_STEPS` `3`
`public static final int` `NO_DEVICE` `0`
`public static final int` `NORMAL_TERMINATION` `4`
`public static final int` `PAUSE_OR_STOP` `6`

mars.simulator.SimulatorNotice
`public static final int` `SIMULATOR_START` `0`
`public static final int` `SIMULATOR_STOP` `1`

mars.tools.*

mars.tools.BHTSimGUI
`public static final String` `BHT_DO_NOT_TAKE_BRANCH` `"NOT TAKE"`
`public static final String` `BHT_TAKE_BRANCH` `"TAKE"`

mars.tools.BHTSimulator
`public static final int` `BHT_DEFAULT_HISTORY` `1`
`public static final boolean` `BHT_DEFAULT_INITVAL` `false`
`public static final int` `BHT_DEFAULT_SIZE` `16`
`public static final String` `BHT_HEADING` `"Branch History Table Simulator"`
`public static final String` `BHT_NAME` `"BHT Simulator"`
`public static final String` `BHT_VERSION` `"Version 1.0 (Ingo Kofler)"`

mars.tools.DigitalLabSim
`public static final int` `EXTERNAL_INTERRUPT_HEXA_KEYBOARD` `512`
`public static final int` `EXTERNAL_INTERRUPT_TIMER` `256`

mars.util.*

mars.util.EditorFont
`public static final int` `DEFAULT_SIZE` `12`
`public static final int` `MAX_SIZE` `72`
`public static final int` `MIN_SIZE` `6`

mars.util.SystemIO
`public static final int` `SYSCALL_BUFSIZE` `128`
`public static final int` `SYSCALL_MAXFILES` `32`

mars.venus.*

mars.venus.Editor
`public static final int` `MAX_BLINK_RATE` `1000`
`public static final int` `MAX_TAB_SIZE` `32`
`public static final int` `MIN_BLINK_RATE` `0`
`public static final int` `MIN_TAB_SIZE` `1`

mars.venus.FileStatus
`public static final int` `EDITED` `4`
`public static final int` `NEW_EDITED` `2`
`public static final int` `NEW_NOT_EDITED` `1`
`public static final int` `NO_FILE` `0`
`public static final int` `NOT_EDITED` `3`
`public static final int` `OPENING` `8`
`public static final int` `RUNNABLE` `5`
`public static final int` `RUNNING` `6`
`public static final int` `TERMINATED` `7`

mars.venus.HelpHelpAction
`public static final String` `descriptionDetailSeparator` `":"`

mars.venus.NumberDisplayBaseChooser
`public static final int` `ASCII` `0`
`public static final int` `DECIMAL` `10`
`public static final int` `HEXADECIMAL` `16`

mars.venus.RunSpeedPanel
`public static final double` `UNLIMITED_SPEED` `40.0`

mars.venus.SettingsHighlightingAction
`public static final String` `APPLY_TOOL_TIP_TEXT` `"Apply current settings now and leave dialog open"`
`public static final String` `CANCEL_TOOL_TIP_TEXT` `"Close dialog without applying current settings"`
`public static final String` `CLOSE_TOOL_TIP_TEXT` `"Apply current settings and close dialog"`
`public static final String` `RESET_TOOL_TIP_TEXT` `"Reset to initial settings without applying"`

mars.venus.editors.MARSTextEditingArea
`public static final int` `TEXT_FOUND` `1`
`public static final int` `TEXT_NOT_FOUND` `0`
`public static final int` `TEXT_REPLACED_FOUND_NEXT` `2`
`public static final int` `TEXT_REPLACED_NOT_FOUND_NEXT` `3`

mars.venus.editors.jeditsyntax.InputHandler
`public static final String` `SMART_HOME_END_PROPERTY` `"InputHandler.homeEnd"`

mars.venus.editors.jeditsyntax.tokenmarker.Token
`public static final byte` `COMMENT1` `1`
`public static final byte` `COMMENT2` `2`
`public static final byte` `END` `127`
`public static final byte` `ID_COUNT` `12`
`public static final byte` `INTERNAL_FIRST` `100`
`public static final byte` `INTERNAL_LAST` `126`
`public static final byte` `INVALID` `10`
`public static final byte` `KEYWORD1` `6`
`public static final byte` `KEYWORD2` `7`
`public static final byte` `KEYWORD3` `8`
`public static final byte` `LABEL` `5`
`public static final byte` `LITERAL1` `3`
`public static final byte` `LITERAL2` `4`
`public static final byte` `MACRO_ARG` `11`
`public static final byte` `NULL` `0`
`public static final byte` `OPERATOR` `9`