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

A

About - class misim.About.
This is the miSim About Dialog.
About(Frame, Image) - Constructor for class misim.About
 
actionPerformed(ActionEvent) - Method in class misim.About
 
actionPerformed(ActionEvent) - Method in class misim.MiSimDE
Respond to a GUI event.
actionPerformed(ActionEvent) - Method in class misim.ViewPanel
Respond to a GUI event.
actionPerformed(ActionEvent) - Method in class misim.BreakpointManager
Respond to a GUI event.
actionPerformed(ActionEvent) - Method in class misim.util.SimpleDialog
 
actionPerformed(ActionEvent) - Method in class misim.plugins.CapacitorDelay
 
actionPerformed(ActionEvent) - Method in class misim.plugins.TVFrame
 
actionPerformed(ActionEvent) - Method in class misim.plugins.MonitorPlugin
 
actionPerformed(ActionEvent) - Method in class misim.plugins.MotorPlugin
 
actionPerformed(ActionEvent) - Method in class misim.plugins.KeyPlugin
 
actionPerformed(ActionEvent) - Method in class misim.plugins.SwitchPlugin
 
addButtonListener(int, int, ActionListener) - Method in class misim.util.BotPanel
 
addButtonListener(int, int, ActionListener) - Method in class misim.util.ButtonPanel
 
addButtonListener(int, int, ActionListener) - Method in class misim.util.PluginPanel
 
addButtonToPanel(Panel, int, ActionListener) - Static method in class misim.util.GUIUtils
Convenience method for adding a new button to a panel
addButtonToPanel(Panel, int, ActionListener, boolean) - Static method in class misim.util.GUIUtils
Convenience method for adding a new button to a panel
addButtonToPanel(Panel, int, ActionListener, Object) - Static method in class misim.util.GUIUtils
Convenience method for adding a new button to a panel
addButtonToPanel(Panel, int, String, ActionListener) - Static method in class misim.util.GUIUtils
Convenience method for adding a new button to a panel and set the button's action command
addButtonToPanel(Panel, String, String, ActionListener) - Static method in class misim.util.GUIUtils
Convenience method for adding a new button to a panel and set the button's action command
addChildLine(Line) - Method in class misim.asm.AsmLine
Add the given line as a child of this.
addClockListener(ChainedClockListener) - Method in class misim.MachineState
Add a chained clock listener to this machine.
addData(int) - Method in class misim.asm.AsmLine
Add a word of data to this line.
addError(EditorException) - Method in class misim.asm.AsmLine
Add an error to this line, that can be displayed by the editor
addError(EditorException) - Method in class misim.editor.Line
Add an error to this line, that can be displayed by the editor
addError(Token, int) - Method in class misim.asm.AsmLine
Add an error to this line, that can be displayed by the editor
addError(Token, int) - Method in class misim.editor.Line
Add an error to this line, that can be displayed by the editor
addIncludeFile(TokenString) - Method in interface misim.asm.FirstPassIF
Add the given include file to the current iterator list, so that the next lines loaded will be from the included file
addIncludeFile(TokenString) - Method in class misim.asm.Assembler
Add the given include file to the current iterator list, so that the next lines loaded will be from the included file
addInstruction(Instruction) - Method in class misim.asm.AsmLine
Add an instruction to this line
addItemListener(ItemListener) - Method in class misim.editor.TextPanel
Add an item listener to this panel, which will receive select events if the selectLine flag is set and a new line is selected
addLabel(Token, int) - Method in class misim.asm.Context
Add a label to this context
addLabel(Token, int, int) - Method in class misim.asm.Context
Add a label to this context
addLine(int, Line) - Method in class misim.editor.TextFile
Add a line to the file
addMenuItem(PopupMenu, int, ActionListener) - Static method in class misim.util.GUIUtils
Convenience method for adding a new menu item to a menu
addPortListener() - Method in class misim.plugins.Lcd2Plugin
 
addPortListener(PortListener) - Method in class misim.Port
Add a port listener to this Port.
addPortListener(PortListener, String) - Method in class misim.MachineState
Add a port listener..
addPortListener(PortListener, Vector) - Method in class misim.MachineState
Add a port listener..
addProcessorListener(ProcessorListener) - Method in class misim.Processor
Add a processor listener to this processor.
addResetListener(ResetListener) - Method in class misim.MachineState
Add a reset listener to this device, to respond to reset events
address - Variable in class misim.Instruction
 
addressName(int, int, boolean) - Method in class misim.MachineState
Return the name (label) for this address.
addressWidth(int) - Method in class misim.Processor
Return the bit width of the given address word.
addSetting(Setting) - Method in class misim.util.SettingsGroup
Add a setting to this group
addTarget(String, Object) - Method in class misim.editor.Node
 
addTarget(String, Object, boolean) - Method in class misim.editor.Node
 
addTextToPanel(Panel, int) - Static method in class misim.util.GUIUtils
Convenience method for adding a new text field to a panel
addToList(AsmLine, TextFile, int, boolean) - Method in interface misim.asm.FirstPassIF
Add the specified line to the list file, either as a visible line, or unlisted depending on the current listing controls.
addToList(AsmLine, TextFile, int, boolean) - Method in class misim.asm.Assembler
Add the specified line to the list file, either as a visible line, or unlisted depending on the current listing controls.
addToNode(Node, Aliases, EditorPrefs) - Static method in class misim.asm.TokenAlias
 
addToNode(Node, EditorPrefs) - Static method in class misim.asm.TokenOperator
 
addToNode(Node, EditorPrefs) - Static method in class misim.asm.TokenComma
 
addToNode(Node, EditorPrefs) - Static method in class misim.asm.TokenColon
 
addToNode(Node, EditorPrefs) - Static method in class misim.asm.TokenCommand
 
addToNode(Node, InstructionSet, EditorPrefs) - Static method in class misim.asm.TokenInstruction
 
addWarning(Token, int) - Method in class misim.asm.AsmLine
Add an warning to this line, that can be displayed by the editor
addWarning(Token, int) - Method in class misim.editor.Line
Add an warning to this line, that can be displayed by the editor
adjustmentValueChanged(AdjustmentEvent) - Method in class misim.editor.TextPanel
Respond to any scrollbar adjustment events.
alias - Variable in class misim.asm.TokenAlias
 
aliasCount() - Method in interface misim.Aliases
Return the number of aliases that we are defining
aliasCount() - Method in class misim.microchip.PicAliases
Return the number of aliases that we are defining
aliases - Variable in class misim.MachineState
The Aliases object that defines any instruction aliases for this machine
Aliases - interface misim.Aliases.
The Aliases interface allows a processor type to specify a number of instructions that are aliases for the core processor instruction set
announce(String) - Method in class misim.MiSimDE
Logging method displays the given message both on the bottom panel of the application and at the tail of the log window
announce(String) - Method in interface misim.util.LogListener
Logging method displays the given message both on the bottom panel of the application and at the tail of the log window
append(String) - Method in class misim.editor.TextPanel
Append text to the file
ASM_ERROR - Static variable in class misim.util.Txt
 
ASM_ERROR_NEAR - Static variable in class misim.util.Txt
 
ASM_ITERATOR - Static variable in class misim.asm.AsmLine
 
ASM_WARNING - Static variable in class misim.util.Txt
 
ASM_WARNING_NEAR - Static variable in class misim.util.Txt
 
ASM_WITH_ERRORS - Static variable in class misim.util.Txt
 
AsmLine - class misim.asm.AsmLine.
The AsmLine class extends the editor line class to store and retrieve information generated during assembly of files.
AsmLine() - Constructor for class misim.asm.AsmLine
 
AsmLine(Vector) - Constructor for class misim.asm.AsmLine
 
AsmLineFactory - class misim.asm.AsmLineFactory.
The Line class represents a single line of a file.
AsmLineFactory() - Constructor for class misim.asm.AsmLineFactory
 
asmType - Variable in class misim.Instruction
 
assemble() - Method in class misim.MiSimDE
Assemble the currently viewed file.
assemble(Processor, Context, AsmLine) - Method in class misim.asm.TokenInstruction
 
assemble(Processor, Context, AsmLine) - Method in class misim.asm.TokenAlias
 
assemble(TextFile, boolean, LogListener) - Method in class misim.asm.Assembler
Assemble the given file and indicate the number of errors that were encountered during assembly.
assemble(Token, Instruction, AsmLine, int[], int) - Method in interface misim.InstructionSet
Assemble a single instruction, returning the correct binary representation of the given instruction and parameters that follow it in the listing.
assemble(Token, Instruction, AsmLine, int[], int) - Method in class misim.microchip.InstructionSet14
Assemble a single instruction, returning the correct binary representation of the given instruction and parameters that follow it in the listing.
Assembler - class misim.asm.Assembler.
 
Assembler(Processor, AssemblyParser, EditorPrefs, FileHandler) - Constructor for class misim.asm.Assembler
 
assembly - Variable in class misim.Instruction
 
AssemblyParser - class misim.asm.AssemblyParser.
 
AssemblyParser(EditorPrefs, Processor) - Constructor for class misim.asm.AssemblyParser
 

B

BasicLineFactory - class misim.editor.BasicLineFactory.
The BasicLineFactory class implements the LineFactory interface to create Lines for a default editor.
BasicLineFactory() - Constructor for class misim.editor.BasicLineFactory
 
BasicParser - class misim.editor.BasicParser.
 
BasicParser(EditorPrefs) - Constructor for class misim.editor.BasicParser
 
bEEWriteIntEnable - Variable in class misim.microchip.PIC84_Intcon
 
BetterLed - class misim.plugins.BetterLed.
The BetterLed Plugin emulates an LED connected to a port pin.
BetterLed(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.BetterLed
Constructor for the plugin.
bGlobalIntEnable - Variable in class misim.microchip.PIC84_Intcon
 
binaryString(int) - Static method in class misim.Util
Return the given value as a eight character binary string
bIntEnable - Variable in class misim.microchip.PIC84_Intcon
 
bInternalClock - Variable in class misim.microchip.PIC84_Option
 
bIntRisingEdge - Variable in class misim.microchip.PIC84_Option
 
bitmask - Variable in class misim.Instruction
 
bitMask - Variable in class misim.Instruction
 
bits - Variable in class misim.Instruction
 
bitvalue - Variable in class misim.Instruction
 
blinkRate - Variable in class misim.editor.EditorPrefs
The blink rate for the cursor
BotPanel - class misim.util.BotPanel.
 
BotPanel() - Constructor for class misim.util.BotPanel
 
bPortBIntEnable - Variable in class misim.microchip.PIC84_Intcon
 
BreadBoard - class misim.plugins.BreadBoard.
 
BreadBoard(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.BreadBoard
 
BREAK_CLEAR_OK - Static variable in class misim.util.Txt
 
BREAK_CLEARED - Static variable in class misim.util.Txt
 
BREAK_HEAD - Static variable in class misim.util.Txt
 
BREAK_REMOVED - Static variable in class misim.util.Txt
 
BREAK_SET - Static variable in class misim.util.Txt
 
BREAK_TITLE - Static variable in class misim.util.Txt
 
BREAK_UPDATE - Static variable in class misim.util.Txt
 
breakpointAt(int) - Method in class misim.BreakpointManager
Return true if there is a breakpoint at the given address
BreakpointManager - class misim.BreakpointManager.
The BreakpointManager maintains the list of breakpoints set for the processor, implements those breakpoints as a ChainedClockListener and provides a dialog for viewing and editing breakpoints.
BreakpointManager(Processor, ProcessorView, LogListener, Color) - Constructor for class misim.BreakpointManager
Constructor for the breakpointManager.
BrowserControl - class misim.util.BrowserControl.
A simple, static class to display a URL in the system browser.
BrowserControl() - Constructor for class misim.util.BrowserControl
 
bTmr0IntEnable - Variable in class misim.microchip.PIC84_Intcon
 
bTmrRisingEdge - Variable in class misim.microchip.PIC84_Option
 
BTN_ABOUT - Static variable in class misim.util.Txt
 
BTN_ADD - Static variable in class misim.util.Txt
 
BTN_ADD_NEW - Static variable in class misim.util.Txt
 
BTN_CANCEL - Static variable in class misim.util.Txt
 
BTN_CLEAR_ALL - Static variable in class misim.util.Txt
 
BTN_CLOSE - Static variable in class misim.util.Txt
 
BTN_CURRENT - Static variable in class misim.util.Txt
 
BTN_DEBUG - Static variable in class misim.util.Txt
 
BTN_EDIT - Static variable in class misim.util.Txt
 
BTN_FILE - Static variable in class misim.util.Txt
 
BTN_GET - Static variable in class misim.util.Txt
 
BTN_GOTO - Static variable in class misim.util.Txt
 
BTN_HELP - Static variable in class misim.util.Txt
 
BTN_MISIM - Static variable in class misim.util.Txt
 
BTN_NO - Static variable in class misim.util.Txt
 
BTN_OK - Static variable in class misim.util.Txt
 
BTN_OVER - Static variable in class misim.util.Txt
 
BTN_QUIT - Static variable in class misim.util.Txt
 
BTN_REMOVE - Static variable in class misim.util.Txt
 
BTN_RENAME - Static variable in class misim.util.Txt
 
BTN_RESET - Static variable in class misim.util.Txt
 
BTN_RUN - Static variable in class misim.util.Txt
 
BTN_SET - Static variable in class misim.util.Txt
 
BTN_SHOW - Static variable in class misim.util.Txt
 
BTN_STEP - Static variable in class misim.util.Txt
 
BTN_STOP - Static variable in class misim.util.Txt
 
BTN_YES - Static variable in class misim.util.Txt
 
ButtonPanel - class misim.util.ButtonPanel.
 
ButtonPanel() - Constructor for class misim.util.ButtonPanel
 
byteString(int) - Static method in class misim.Util
Return the given value as a two character hex string

C

canPaste() - Method in class misim.editor.EditorPanel
Check to see if there is a pasteable object (ie.
canRedo() - Method in class misim.editor.EditorPanel
Check to see if the panel has any current redo operations that may be handled by the doRedo method.
canSearchAgain() - Method in class misim.editor.EditorPanel
Check to see if there is a search term set for this panel
canUndo() - Method in class misim.editor.EditorPanel
Check to see if the panel has any current undo operations that may be handled by the doUndo method.
CapacitorDelay - class misim.plugins.CapacitorDelay.
 
CapacitorDelay(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.CapacitorDelay
 
CARD_LOG - Static variable in class misim.util.Txt
 
CARD_OPTIONS - Static variable in class misim.util.Txt
 
CARD_PLUGIN - Static variable in class misim.util.Txt
 
CARD_VIEW - Static variable in class misim.util.Txt
 
carryBit - Static variable in class misim.MachineState
The value of the carry flag bit in the status register
carryBit - Static variable in class misim.Instruction
 
cgramAddress - Variable in class misim.plugins.LCDPlugin
 
ChainedClockListener - interface misim.ChainedClockListener.
The ChainedClockListener interface allows classes such as Plugins to be informed after each instruction is emulated.
CHAR_ADDED - Static variable in class misim.editor.Undoable
 
CHAR_COUNT - Static variable in class misim.plugins.LCDPlugin
 
CHAR_HEIGHT - Static variable in class misim.plugins.LCDPlugin
 
CHAR_WIDTH - Static variable in class misim.plugins.LCDPlugin
 
charWidthArray - Variable in class misim.editor.EditorPrefs
Character width array
checkBoundaries(CursorPos) - Method in class misim.editor.TextPanel
Make sure that the given cursor position is onscreen.
checkConditional(Token, AsmLine) - Method in class misim.asm.Assembler
Test to see if this token might affect conditional assembly.
checkConfig(String) - Method in class misim.plugins.Lcd2Plugin
 
checkConfig(String) - Method in class misim.plugins.KeyPlugin
 
checkPortInterrupt() - Method in class misim.Port
Check to see if the new data placed on this port by an external device will cause an interrupt.
checkPortInterrupt() - Method in class misim.microchip.PIC84_PortA
When the data applied to portA by an external device has changed, this method should be called to invoke the external timer clock source, if applicable
checkPortInterrupt() - Method in class misim.microchip.PIC84_PortB
Check to see if the new data placed on this port by an external device will cause an interrupt.
chipData - Variable in class misim.MachineState
The device EEPROM memory
clear() - Method in class misim.plugins.LCDPlugin
Clear the LCD display.
clearAllBreakpoints() - Method in class misim.BreakpointManager
Confirm that the user wishes to remove all breakpoints and if so, clear all breakpoints, and remove the manager from the processor's list of chainedClockListeners
clearErrors() - Method in class misim.editor.Line
Remove all errors and warnings from this line.
clearPortBits(int) - Method in class misim.Port
Clear the bits being applied to this port by an external device, this performs a logical AND of the port inputs with the complement of the given data.
clockEvent(long) - Method in class misim.BreakpointManager
This method is called after each instruction is executed.
clockEvent(long) - Method in interface misim.ClockListener
This method is called after each instruction is executed.
clockEvent(long) - Method in class misim.plugins.BreadBoard
 
clockEvent(long) - Method in class misim.plugins.LCDPlugin
This method is called after each instruction is executed.
clockEvent(long) - Method in class misim.microchip.PIC84_EECon1
This method is called after each instruction is executed.
clockEvent(long) - Method in class misim.microchip.PIC84_Intcon
If interrupts are to be handled, this should be called after every instruction.
clockListener - Variable in class misim.MachineState
The end of the chain of clock listeners, this handles interrupts for the device
ClockListener - interface misim.ClockListener.
The ClockListener interface allows external events that are synchronised with the processor clock to be implemented.
clockRate - Variable in class misim.MachineState
The speed, in MHz that the processor should be run at.
clocks - Variable in class misim.MachineState
The current clock cycle count
clone() - Method in class misim.Instruction
 
clone(String, int) - Method in class misim.editor.Token
 
CMD_BADRAM - Static variable in class misim.asm.TokenCommand
 
CMD_CONFIG - Static variable in class misim.asm.TokenCommand
 
CMD_DB - Static variable in class misim.asm.TokenCommand
 
CMD_DE - Static variable in class misim.asm.TokenCommand
 
CMD_DEFINE - Static variable in class misim.asm.TokenCommand
 
CMD_DT - Static variable in class misim.asm.TokenCommand
 
CMD_DW - Static variable in class misim.asm.TokenCommand
 
CMD_ELSE - Static variable in class misim.asm.TokenCommand
 
CMD_END - Static variable in class misim.asm.TokenCommand
 
CMD_ENDIF - Static variable in class misim.asm.TokenCommand
 
CMD_ENDM - Static variable in class misim.asm.TokenCommand
 
CMD_EQU - Static variable in class misim.asm.TokenCommand
 
CMD_ERROR - Static variable in class misim.asm.TokenCommand
 
CMD_EXITM - Static variable in class misim.asm.TokenCommand
 
CMD_HINCLUDE - Static variable in class misim.asm.TokenCommand
 
CMD_IF - Static variable in class misim.asm.TokenCommand
 
CMD_IFDEF - Static variable in class misim.asm.TokenCommand
 
CMD_IFNDEF - Static variable in class misim.asm.TokenCommand
 
CMD_INCLUDE - Static variable in class misim.asm.TokenCommand
 
CMD_LIST - Static variable in class misim.asm.TokenCommand
 
CMD_LOCAL - Static variable in class misim.asm.TokenCommand
 
CMD_MACRO - Static variable in class misim.asm.TokenCommand
 
CMD_MAXRAM - Static variable in class misim.asm.TokenCommand
 
CMD_MESSG - Static variable in class misim.asm.TokenCommand
 
CMD_NOLIST - Static variable in class misim.asm.TokenCommand
 
CMD_ORG - Static variable in class misim.asm.TokenCommand
 
CMD_RADIX - Static variable in class misim.asm.TokenCommand
 
CMD_SET - Static variable in class misim.asm.TokenCommand
 
col - Variable in class misim.editor.CursorPos
The column for the cursor.
command() - Method in class misim.asm.TokenCommand
 
complete() - Method in class misim.Instruction
This is called after each instruction completes, and handles any special behaviour of registers that may have been altered by the instruction
CONFIG_CP - Static variable in class misim.MachineState
Bit flag indicating that this device can be configured with Code protection Enabled(0) or Disabled(1)
CONFIG_DP - Static variable in class misim.MachineState
Bit flag indicating that this device can be configured with Data protection Enabled(0) or Disabled(1)
CONFIG_OSC4 - Static variable in class misim.MachineState
Bit flag indicating that this device can be configured with a RC(11), HS(10), XT(01) or LP(00) Oscillator
CONFIG_PWRTE - Static variable in class misim.MachineState
Bit flag indicating that this device can be configured with a Power-up Timer Enabled(1) or Disabled(0)
CONFIG_PWRTEI - Static variable in class misim.MachineState
Bit flag indicating that this device can be configured with a Power-up Timer Enabled(0) or Disabled(1)
CONFIG_WDTE - Static variable in class misim.MachineState
Bit flag indicating that this device can be configured with a Watchdog Timer Enabled(1) or Disabled(0)
configStart - Variable in class misim.MachineState
The start address of config/test memory - note that this is stored as the byte address
configType() - Method in class misim.Plugin
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
configType() - Method in class misim.plugins.BetterLed
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
configType() - Method in class misim.plugins.SegmentPlugin
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
configType() - Method in class misim.plugins.CapacitorDelay
 
configType() - Method in class misim.plugins.TVFrame
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
configType() - Method in class misim.plugins.MonitorPlugin
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
configType() - Method in class misim.plugins.Lcd2Plugin
 
configType() - Method in class misim.plugins.BreadBoard
 
configType() - Method in class misim.plugins.LCDPlugin
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
configType() - Method in class misim.plugins.MotorPlugin
 
configType() - Method in class misim.plugins.LedArrayPlugin
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
configType() - Method in class misim.plugins.Switch5Plugin
 
configType() - Method in class misim.plugins.KeyPlugin
 
configType() - Method in class misim.plugins.SwitchPlugin
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
configType() - Method in class misim.plugins.LedPlugin
The User Interface calls this to see if the Plugin needs configuration information, and if so whether the information can be controlled by the user interface (in which case the user will edit the config string by hand), or if the Plugin itself will provide a configuration interface.
consume(Token, int) - Static method in class misim.asm.TokenString
Parsing method - to be implemented by subclasses.
consume(Token, int) - Static method in class misim.asm.TokenNumber
Parsing method - to be implemented by subclasses.
consume(Token, int) - Static method in class misim.asm.TokenComment
Parsing method - to be implemented by subclasses.
consume(Token, int) - Static method in class misim.editor.Token
Parsing method - to be implemented by subclasses.
consume(Token, int) - Static method in class misim.editor.TokenWhitespace
Parsing method - to be implemented by subclasses.
Context - class misim.asm.Context.
The context class provides information on the labels and parameters in the current scope of the assembler.
Context() - Constructor for class misim.asm.Context
Construct a root context ready for assembly
Context(Context) - Constructor for class misim.asm.Context
Construct a child context for a given parent
controle_lcd(int) - Method in class misim.plugins.Lcd2Plugin
 
copySelection() - Method in class misim.editor.TextPanel
Copy the currently selected text to the clipboard.
countSettings() - Method in class misim.util.SettingsGroup
Return the number of settings that this group contains
countSettings(String) - Method in class misim.util.SettingsGroup
Return the number of settings with the given name that this group contains.
countTokens() - Method in class misim.editor.Line
 
createDebugMenu() - Method in class misim.ViewPanel
Pass the request to create a Debug Popup Menu onto the breakpoint manager, which handles all menu events.
createDebugMenu() - Method in class misim.BreakpointManager
Create the Debug popup menu which will be displayed by the main miSim window.
createLine() - Method in class misim.asm.AsmLineFactory
Create an instance of a Line with no tokens - ie.
createLine() - Method in class misim.editor.BasicLineFactory
Create an instance of a Line with no tokens - ie.
createLine() - Method in interface misim.editor.LineFactory
Create an instance of a Line with no tokens - ie.
createLine(Vector) - Method in class misim.asm.AsmLineFactory
Create an instance of a Line with the given set of tokens.
createLine(Vector) - Method in class misim.editor.BasicLineFactory
Create an instance of a Line with the given set of tokens.
createLine(Vector) - Method in interface misim.editor.LineFactory
Create an instance of a Line with the given set of tokens.
cursor_home() - Method in class misim.plugins.Lcd2Plugin
 
cursorAddress - Variable in class misim.plugins.LCDPlugin
 
CursorPos - class misim.editor.CursorPos.
A simple class for passing the cursor position around
CursorPos(int, int, int) - Constructor for class misim.editor.CursorPos
 
cursorShift(int) - Method in class misim.plugins.LCDPlugin
Move either the display or the cursor depending on the entry mode.
cutSelection() - Method in class misim.editor.EditorPanel
Cut the current selection, leaving a copy on the clipboard

D

dataSize() - Method in class misim.asm.AsmLine
Return the number of words of data on this line
decimalBit - Static variable in class misim.MachineState
The value of the decimal carry flag bit in the status register
decimalBit - Static variable in class misim.Instruction
 
decString(int) - Static method in class misim.Util
Return the given value as a four character decimal string
defaultRadix() - Method in class misim.asm.Context
Return the current default radix
DEFINED_CHARS - Static variable in class misim.plugins.LCDPlugin
 
delete(int, int, Line, Parser, EditorPrefs) - Method in class misim.editor.Line
Delete a range of characters starting on this line.
desloca(int) - Method in class misim.plugins.Lcd2Plugin
 
destW - Variable in class misim.Instruction
 
deviceId - Variable in class misim.MachineState
The device ID (unique within the processor implementation of a family of devices) for this device
disassemble() - Method in class misim.ViewPanel
Disassemble the software loaded into the processor.
disassemble(Instruction) - Method in class misim.MachineState
Return a String representation of the given instruction
disassemble(Instruction, MachineState) - Method in interface misim.InstructionSet
Return a String representation of the given instruction
disassemble(Instruction, MachineState) - Method in class misim.microchip.InstructionSet14
Return a String representation of the given instruction
disassemble(int) - Method in class misim.Processor
Return a disassembly of the instruction at the given address.
display - Variable in class misim.editor.Token
 
display(boolean) - Method in class misim.ViewPanel
Display the current state of the processor, and ensure that the currently executed instruction is being displayed by the disassembly view.
displayOffset - Variable in class misim.plugins.LCDPlugin
 
displayOnOff(int) - Method in class misim.plugins.LCDPlugin
Switch the display and cursor on or off..
displayURL(String) - Static method in class misim.util.BrowserControl
Display a file in the system browser.
doIt() - Method in class misim.Instruction
This method must be implemented to perform the function of the instruction being emulated.
doQuit() - Method in class misim.MiSimDE
 
doRedo() - Method in class misim.editor.EditorPanel
Redo any undone events.
doReplacements(String, String[]) - Static method in class misim.util.TxtBaseClass
 
doUndo() - Method in class misim.editor.EditorPanel
Undo any previous events.
draw(Graphics, int, int) - Method in class misim.editor.TokenWhitespace
Whitespace is invisible..
draw(Graphics, int, int, int) - Method in class misim.editor.Token
 
draw(Graphics, int, int, int, int, int, boolean) - Method in class misim.asm.AsmLine
Draw this line
draw(Graphics, int, int, int, int, int, boolean) - Method in class misim.editor.Line
Draw this line
drawChars(Graphics, char[], int, int, int) - Method in class misim.editor.Token
 
drawCursor(boolean) - Method in class misim.editor.TextPanel
Draw the cursor, or remove it as appropriate.
drawLine(int, Graphics) - Method in class misim.editor.TextPanel
Draw the givwen line number onscreen in the appropriate position.

E

EDIT_GOTO - Static variable in class misim.util.Txt
 
EDIT_NOTFOUND - Static variable in class misim.util.Txt
 
EDIT_SEARCH - Static variable in class misim.util.Txt
 
editBreakpoints() - Method in class misim.BreakpointManager
Display the dialog to edit the current list of breakpoints
editConfig(String) - Method in class misim.plugins.Lcd2Plugin
 
editConfig(String) - Method in class misim.plugins.MotorPlugin
 
editConfig(String) - Method in class misim.plugins.KeyPlugin
 
EditorException - exception misim.editor.EditorException.
The EditorException class is used to store infomation on compilation or assembly errors against the lines that generated those errors.
EditorException(Token, int) - Constructor for class misim.editor.EditorException
Create a new EditorException with the given error type.
EditorException(Token, int, int) - Constructor for class misim.editor.EditorException
Create a new EditorException with the given error type, and the given integer parameter.
EditorException(Token, int, String) - Constructor for class misim.editor.EditorException
Create a new EditorException with the given error type, and the given String parameter.
EditorPanel - class misim.editor.EditorPanel.
 
EditorPanel(TextFile, EditorPrefs, LogListener) - Constructor for class misim.editor.EditorPanel
 
EditorPrefs - class misim.editor.EditorPrefs.
 
EditorPrefs(Component, SettingsGroup, Vector) - Constructor for class misim.editor.EditorPrefs
Construct a new EditorPrefs object for the given graphic component and settings.
EEAddr - Static variable in class misim.microchip.PIC16X84
 
EECon1 - Static variable in class misim.microchip.PIC16X84
 
EECon2 - Static variable in class misim.microchip.PIC16X84
 
EEData - Static variable in class misim.microchip.PIC16X84
 
eeieBit - Static variable in class misim.microchip.PIC84_Intcon
 
eepromStart - Variable in class misim.MachineState
The Start address of EEPROM memory - note that this is stored as the byte address
EmulationException - exception misim.EmulationException.
The Emulation extends RuntimeException so that emulation can throw rare exceptions without having to propagate throws clauses throughout the code.
EmulationException(String) - Constructor for class misim.EmulationException
Create a EmulationException with the given message
enableGlobalInterrupts() - Method in class misim.MachineState
This is called at the end of the RETFIE instruction, and should re-enable global interrupts.
enableGlobalInterrupts() - Method in class misim.microchip.PIC16X84
This is called at the end of the RETFIE instruction, and should re-enable global interrupts.
end_ddram(int) - Method in class misim.plugins.Lcd2Plugin
 
END_OF_FILE - Static variable in interface misim.asm.FirstPassIF
List index indicating that a line should be added to the end of the given file
entryModeSet(int) - Method in class misim.plugins.LCDPlugin
Set the lcd entry mode.
equals(int) - Method in class misim.asm.TokenOperator
 
eraseAll() - Method in class misim.Processor
Set all memory back to a null state.
eraseEeprom() - Method in class misim.MachineState
Set the EEPROM contents to zero
ERR_CREATE_PRO - Static variable in class misim.util.Txt
 
ERR_FILE_IO - Static variable in class misim.util.Txt
 
ERR_FONT_NAME - Static variable in class misim.util.Txt
 
ERR_INVALID_NUMBER - Static variable in class misim.util.Txt
 
ERR_NO_FILE - Static variable in class misim.util.Txt
 
ERR_NO_PRO_CLASS - Static variable in class misim.util.Txt
 
ERR_NO_PRO_METHOD - Static variable in class misim.util.Txt
 
ERR_PRO_ACCESS - Static variable in class misim.util.Txt
 
ERR_PRO_INVOCATION - Static variable in class misim.util.Txt
 
ERR_SETTINGS_FILE - Static variable in class misim.util.Txt
 
ERR_SETTINGS_IO - Static variable in class misim.util.Txt
 
ERR_SETTINGS_SEC - Static variable in class misim.util.Txt
 
ERR_WRITE_IO - Static variable in class misim.util.Txt
 
errorCount() - Method in class misim.editor.Line
Return the number of errors for this line
errorText - Variable in class misim.MiSimException
 
errorType - Variable in class misim.MiSimException
 
escreve_ddram(int) - Method in class misim.plugins.Lcd2Plugin
 
evaluate(int) - Method in class misim.asm.TokenOperator
Evaluate a unary operation, returning an integer value.
evaluate(int, int) - Method in class misim.asm.TokenOperator
Evaluate a binary operation, returning an integer value.
evaluate(TokenIterator, boolean) - Method in class misim.asm.Context
Evaluate the numeric expression in a file, beginning at the given token position.
evaluate(TokenIterator, Context, boolean) - Method in class misim.asm.Expr
Evaluate the numeric expression in a file, beginning at the given token position.
evaluate(TokenIterator, Context, Label, TokenOperator) - Method in class misim.asm.Expr
 
evaluateOperation() - Method in class misim.asm.Expr
 
EX_ALIAS_INSTRUCTION - Static variable in class misim.util.Txt
 
EX_ALREADY_ASSIGNED - Static variable in class misim.util.Txt
 
EX_ASSIGN_NO_LABEL - Static variable in class misim.util.Txt
 
EX_BADRAM_NUM - Static variable in class misim.util.Txt
 
EX_BEFORE_LINESTART - Static variable in class misim.util.Txt
 
EX_BIT_FIELD - Static variable in class misim.util.Txt
 
EX_BREAKPOINT - Static variable in class misim.util.Txt
 
EX_BREAKPOINT_EXISTS - Static variable in class misim.util.Txt
 
EX_BREAKPOINT_MISSING - Static variable in class misim.util.Txt
 
EX_CANNOT_INSTANTIATE - Static variable in class misim.util.Txt
 
EX_CHECKSUM_ERROR - Static variable in class misim.util.Txt
 
EX_CLASS_NOT_FOUND - Static variable in class misim.util.Txt
 
EX_CLOSING_WITHOUT_OPEN - Static variable in class misim.util.Txt
 
EX_CONFIG_ERROR - Static variable in class misim.util.Txt
 
EX_DATA_ERROR - Static variable in class misim.util.Txt
 
EX_DECODE_ERROR - Static variable in class misim.util.Txt
 
EX_DECODE_EXCEPTION - Static variable in class misim.util.Txt
 
EX_DEVICE_ERROR - Static variable in class misim.util.Txt
 
EX_DUPLICATE_PORT - Static variable in class misim.util.Txt
 
EX_ELSE_WITHOUT_IF - Static variable in class misim.util.Txt
 
EX_END_WITHOUT_IF - Static variable in class misim.util.Txt
 
EX_ERROR_MSG - Static variable in class misim.util.Txt
 
EX_EXPECT_LABEL - Static variable in class misim.util.Txt
 
EX_EXPECTING_COMMA - Static variable in class misim.util.Txt
 
EX_EXPECTING_PARAM - Static variable in class misim.util.Txt
 
EX_EXPECTING_STRING - Static variable in class misim.util.Txt
 
EX_FIRST_EXCEPTION - Static variable in class misim.util.Txt
 
EX_FORMAT_ERROR - Static variable in class misim.util.Txt
 
EX_ILLEGAL_ACCESS - Static variable in class misim.util.Txt
 
EX_INCLUDE_ERR - Static variable in class misim.util.Txt
 
EX_INCLUDE_PARAM - Static variable in class misim.util.Txt
 
EX_INSTRUCTION_ADDRESS - Static variable in class misim.util.Txt
 
EX_INVALID_ADDRESS - Static variable in class misim.util.Txt
 
EX_INVALID_ASSIGN - Static variable in class misim.util.Txt
 
EX_INVALID_BINARY - Static variable in class misim.util.Txt
 
EX_INVALID_BIT - Static variable in class misim.util.Txt
 
EX_INVALID_DEST - Static variable in class misim.util.Txt
 
EX_INVALID_ESCAPE - Static variable in class misim.util.Txt
 
EX_INVALID_NUMBER - Static variable in class misim.util.Txt
 
EX_INVALID_PORT - Static variable in class misim.util.Txt
 
EX_INVALID_UNARY - Static variable in class misim.util.Txt
 
EX_IO_ERROR - Static variable in class misim.util.Txt
 
EX_IS_UNARY - Static variable in class misim.util.Txt
 
EX_LABEL_CONSTANT - Static variable in class misim.util.Txt
 
EX_LABEL_EXISTS - Static variable in class misim.util.Txt
 
EX_LABEL_INVARIABLE - Static variable in class misim.util.Txt
 
EX_LAST_EXCEPTION - Static variable in class misim.util.Txt
 
EX_LIST_PARAM - Static variable in class misim.util.Txt
 
EX_LIST_UNSUPPORTED - Static variable in class misim.util.Txt
 
EX_LOCAL_PARAM - Static variable in class misim.util.Txt
 
EX_MACRO_INSERT - Static variable in class misim.util.Txt
 
EX_MACRO_PARAM - Static variable in class misim.util.Txt
 
EX_MAPPING_COLON - Static variable in class misim.util.Txt
 
EX_MAX_DEPTH - Static variable in class misim.util.Txt
 
EX_MISPLACED_ELSE - Static variable in class misim.util.Txt
 
EX_MISSING_COMMA - Static variable in class misim.util.Txt
 
EX_MISSING_ENDM - Static variable in class misim.util.Txt
 
EX_MISSING_NUMERIC - Static variable in class misim.util.Txt
 
EX_MISSING_OPERATOR - Static variable in class misim.util.Txt
 
EX_MISSING_PARAM - Static variable in class misim.util.Txt
 
EX_MISSING_PORT - Static variable in class misim.util.Txt
 
EX_MORE_TOKENS - Static variable in class misim.util.Txt
 
EX_NO_DATA - Static variable in class misim.util.Txt
 
EX_NO_PLUGIN_METHOD - Static variable in class misim.util.Txt
 
EX_NO_SUCH_PLUGIN - Static variable in class misim.util.Txt
 
EX_NOT_A_PLUGIN - Static variable in class misim.util.Txt
 
EX_NOT_ENOUGH_MEM - Static variable in class misim.util.Txt
 
EX_NOT_UNARY - Static variable in class misim.util.Txt
 
EX_NUMBER_ERROR - Static variable in class misim.util.Txt
 
EX_PLUGIN_EXCEPTION - Static variable in class misim.util.Txt
 
EX_PORT_WIDTH - Static variable in class misim.util.Txt
 
EX_PROCESSOR - Static variable in class misim.util.Txt
 
EX_RADIX_SPEC - Static variable in class misim.util.Txt
 
EX_SLEEP - Static variable in class misim.util.Txt
 
EX_TOO_MANY_OPERANDS - Static variable in class misim.util.Txt
 
EX_TRIS_PARAM - Static variable in class misim.util.Txt
 
EX_UNDEFINED_LABEL - Static variable in class misim.util.Txt
 
EX_UNDEFINED_PARAM - Static variable in class misim.util.Txt
 
EX_UNEX_ENDM - Static variable in class misim.util.Txt
 
EX_UNEX_EXITM - Static variable in class misim.util.Txt
 
EX_UNEXPECTED_ESC - Static variable in class misim.util.Txt
 
EX_UNEXPECTED_TOKEN - Static variable in class misim.util.Txt
 
EX_UNKNOWN_CHAR - Static variable in class misim.util.Txt
 
EX_UNKNOWN_LABEL - Static variable in class misim.util.Txt
 
EX_UNKNOWN_OPERAND - Static variable in class misim.util.Txt
 
EX_UNKNOWN_PARAM - Static variable in class misim.util.Txt
 
EX_UNKNOWN_TYPE - Static variable in class misim.util.Txt
 
EX_UNMATCHED_IF - Static variable in class misim.util.Txt
 
EX_UNTERMINATED - Static variable in class misim.util.Txt
 
exceptionString(boolean) - Method in class misim.MiSimException
Generic method to return the error message in different formats, so that subclasses of misimException can implement different toString() behaviour.
existsFile(String, String) - Method in class misim.FileHandler
Test to see if a file exists
expandTabs - Variable in class misim.editor.EditorPrefs
Flag to indicate if tabs should be expanded to spaces when they are typed
expandTabs(String) - Static method in class misim.Util
Expand any tab characters in the input string to spaces.
Expr - class misim.asm.Expr.
The Expression class provides the means to evaluate a numeric expression in a file.
Expr() - Constructor for class misim.asm.Expr
Constructor method, which initialises the operator and operand stacks

F

fastLoop() - Method in class misim.Processor
 
FILE_ITERATOR - Static variable in class misim.editor.TextFile
The type of this line iterator
FileDetails - class misim.util.FileDetails.
A simple class for passing details of a file opened for reading or writing.
FileDetails(String, boolean) - Constructor for class misim.util.FileDetails
 
FileDetails(String, String, boolean) - Constructor for class misim.util.FileDetails
 
FileHandler - class misim.FileHandler.
 
FileHandler(boolean, String, Frame, LogListener) - Constructor for class misim.FileHandler
 
findIncludeFile(String, String, Parser, EditorPrefs) - Method in class misim.FileHandler
Search for the given include file.
FirstPassIF - interface misim.asm.FirstPassIF.
 
focusGained(FocusEvent) - Method in class misim.util.SimpleDialog
 
focusGained(FocusEvent) - Method in class misim.editor.TextPanel
 
focusLost(FocusEvent) - Method in class misim.util.SimpleDialog
 
focusLost(FocusEvent) - Method in class misim.editor.TextPanel
 
Fsr - Static variable in class misim.Regs
The FSR indirect control register (address 0x04)
func_mod(int) - Method in class misim.plugins.Lcd2Plugin
 
functionSet(int) - Method in class misim.plugins.LCDPlugin
Set four or eight bit mode, display height and font size.

G

get(int) - Static method in class misim.util.TxtBaseClass
 
get(int, int) - Static method in class misim.util.TxtBaseClass
 
get(int, String) - Static method in class misim.util.TxtBaseClass
 
get(int, String[]) - Static method in class misim.util.TxtBaseClass
 
getAbout() - Method in class misim.Plugin
This method should return any information appropriate to this plugin.
getAbout() - Method in class misim.plugins.BetterLed
This method should return any information appropriate to this plugin.
getAbout() - Method in class misim.plugins.SegmentPlugin
This method should return any information appropriate to this plugin.
getAbout() - Method in class misim.plugins.CapacitorDelay
 
getAbout() - Method in class misim.plugins.TVFrame
This method should return any information appropriate to this plugin.
getAbout() - Method in class misim.plugins.MonitorPlugin
This method should return any information appropriate to this plugin.
getAbout() - Method in class misim.plugins.Lcd2Plugin
 
getAbout() - Method in class misim.plugins.BreadBoard
 
getAbout() - Method in class misim.plugins.LCDPlugin
This method should return any information appropriate to this plugin.
getAbout() - Method in class misim.plugins.MotorPlugin
 
getAbout() - Method in class misim.plugins.LedArrayPlugin
This method should return any information appropriate to this plugin.
getAbout() - Method in class misim.plugins.Switch5Plugin
 
getAbout() - Method in class misim.plugins.KeyPlugin
 
getAbout() - Method in class misim.plugins.SwitchPlugin
This method should return any information appropriate to this plugin.
getAbout() - Method in class misim.plugins.LedPlugin
This method should return any information appropriate to this plugin.
getAddress() - Method in class misim.asm.AsmLine
Get the address for the data or instructions that occur on this line
getAlias(int) - Method in interface misim.Aliases
Return a given alias instruction
getAlias(int) - Method in class misim.microchip.PicAliases
Return a given alias instruction
getAliases() - Method in class misim.MachineState
Return the definition for any instruction aliases defined for this processor
getAliasIndex() - Method in class misim.asm.TokenAlias
 
getAssignment() - Method in class misim.asm.AsmLine
If this line assigns a new value to a label, return the token for the label, otherwise return null.
getAssignmentValue() - Method in class misim.asm.AsmLine
Returns the value assigned to a label on this line (if any)
getAvailablePorts() - Method in class misim.MachineState
Return the hashtable that maps the names of the ports that this chip supports (a String) to the port implementations (a misim.register.Port)
getBitmask(int) - Method in interface misim.PortListener
This method is used to identify which bits this listener is interested in for a given port.
getBitmask(int) - Method in class misim.PortMapper
Returnt the bitmask of the bits we're interested in for the given port
getBitmask(int) - Method in class misim.plugins.BetterLed
This method is used to identify which bits this listener is interested in for a given port.
getBitmask(int) - Method in class misim.plugins.SegmentPlugin
This method is used to identify which bits this listener is interested in for a given port.
getBitmask(int) - Method in class misim.plugins.CapacitorDelay
 
getBitmask(int) - Method in class misim.plugins.TVCanvas
 
getBitmask(int) - Method in class misim.plugins.Lcd2Plugin
 
getBitmask(int) - Method in class misim.plugins.BreadBoard
 
getBitmask(int) - Method in class misim.plugins.LCDPlugin
This method is used to identify which bits this listener is interested in for a given port.
getBitmask(int) - Method in class misim.plugins.MotorPlugin
 
getBitmask(int) - Method in class misim.plugins.LedArrayPlugin
This method is used to identify which bits this listener is interested in for a given port.
getBitmask(int) - Method in class misim.plugins.Switch5Plugin
 
getBitmask(int) - Method in class misim.plugins.LedPlugin
This method is used to identify which bits this listener is interested in for a given port.
getBitWidth() - Method in class misim.Port
Return the bit width of this port.
getBoolean() - Method in class misim.util.Setting
Return a boolean value for this setting.
getBreakpoint() - Method in class misim.asm.AsmLine
Indicate if this line has a breakpoint set
getBuildDate() - Static method in class misim.Version
Return the build date as a string.
getCharWidth() - Method in class misim.editor.EditorPrefs
Return the maximum width for a character in this font
getClassCount() - Method in interface misim.InstructionSet
Return the number of classes used to represent this instruction set
getClassCount() - Method in class misim.microchip.InstructionSet14
Return the number of classes used to represent this instruction set
getClockRate() - Method in class misim.MachineState
Get the clock rate, in hz for emulation.
getClocks() - Method in class misim.MachineState
Get the current clock cycle count.
getColour() - Method in class misim.editor.Token
Return the text colour for this token
getColour(int) - Method in class misim.editor.EditorPrefs
 
getColumn(int) - Method in class misim.editor.Line
Return the character column for the given pixel position.
getColumn(int, int) - Method in class misim.editor.Token
Find the character column for the given position.
getConfig() - Method in class misim.Plugin
Method to retrieve the config for this plugin
getConfig() - Method in class misim.Processor
Get the configuration word for this device
getConfig() - Method in class misim.plugins.BetterLed
Method to retrieve the config for this plugin
getConfig() - Method in class misim.plugins.SegmentPlugin
Method to retrieve the config for this plugin
getConfig() - Method in class misim.plugins.CapacitorDelay
 
getConfig() - Method in class misim.plugins.TVFrame
Method to retrieve the config for this plugin
getConfig() - Method in class misim.plugins.MonitorPlugin
Method to retrieve the config for this plugin
getConfig() - Method in class misim.plugins.Lcd2Plugin
 
getConfig() - Method in class misim.plugins.BreadBoard
 
getConfig() - Method in class misim.plugins.LCDPlugin
Method to retrieve the config for this plugin
getConfig() - Method in class misim.plugins.MotorPlugin
 
getConfig() - Method in class misim.plugins.LedArrayPlugin
Method to retrieve the config for this plugin
getConfig() - Method in class misim.plugins.Switch5Plugin
 
getConfig() - Method in class misim.plugins.KeyPlugin
 
getConfig() - Method in class misim.plugins.SwitchPlugin
Method to retrieve the config for this plugin
getConfig() - Method in class misim.plugins.LedPlugin
Method to retrieve the config for this plugin
getCpuSpeed() - Method in class misim.Processor
Returns the cpu speed, in KHz, achieved during the last run.
getData(int) - Method in class misim.asm.AsmLine
Return the specified data word generated on this line
getDataSize() - Method in class misim.Processor
Returns the size of array needed to store the eeprom data loaded.
getDelimiters() - Static method in class misim.asm.TokenOperator
 
getDelimiters() - Static method in class misim.asm.TokenComma
 
getDelimiters() - Static method in class misim.asm.TokenString
 
getDelimiters() - Static method in class misim.asm.TokenColon
 
getDelimiters() - Static method in class misim.asm.TokenNumber
 
getDelimiters() - Static method in class misim.asm.TokenComment
 
getDelimiters() - Static method in class misim.editor.TokenWhitespace
 
getDescent() - Method in class misim.editor.EditorPrefs
 
getDeviceId() - Method in class misim.MachineState
Return the deviceID for this device.
getDeviceName(int) - Method in class misim.MachineState
Return the names of the devices supported by this processor.
getDeviceName(int) - Method in class misim.microchip.PIC16X84
Return the names of the devices supported by this processor.
getDirectory() - Method in class misim.util.FileDetails
 
getError(int) - Method in class misim.editor.Line
Return the given error for this line, or null
getErrorCount() - Method in class misim.util.SettingsController
Return the number of errors encountered whilst reading the most recent settings file
getFactory() - Method in class misim.editor.TextFile
 
getFile() - Method in class misim.ViewPanel
Return the file that this view panel is displaying
getFile() - Method in class misim.editor.TextPanel
Return the file that this text panel refers to.
getFilename() - Method in class misim.util.FileDetails
 
getFont() - Method in class misim.editor.EditorPrefs
 
getFont(int, int) - Method in class misim.plugins.Lcd2Font
 
getGroupCount() - Method in class misim.util.SettingsController
Return the number of groups that this Settings object contains
getHeight() - Method in class misim.plugins.TVCanvas
 
getHelp() - Method in class misim.Plugin
Return more detailed information on the configuration string format for this plugin.
getHelp() - Method in class misim.plugins.BetterLed
Return more detailed information on the configuration string format for this plugin.
getHelp() - Method in class misim.plugins.SegmentPlugin
Return more detailed information on the configuration string format for this plugin.
getHelp() - Method in class misim.plugins.CapacitorDelay
 
getHelp() - Method in class misim.plugins.TVFrame
Return more detailed information on the configuration string format for this plugin.
getHelp() - Method in class misim.plugins.MonitorPlugin
Return more detailed information on the configuration string format for this plugin.
getHelp() - Method in class misim.plugins.Lcd2Plugin
 
getHelp() - Method in class misim.plugins.BreadBoard
 
getHelp() - Method in class misim.plugins.LCDPlugin
Return more detailed information on the configuration string format for this plugin.
getHelp() - Method in class misim.plugins.MotorPlugin
 
getHelp() - Method in class misim.plugins.LedArrayPlugin
Return more detailed information on the configuration string format for this plugin.
getHelp() - Method in class misim.plugins.Switch5Plugin
 
getHelp() - Method in class misim.plugins.KeyPlugin
 
getHelp() - Method in class misim.plugins.SwitchPlugin
Return more detailed information on the configuration string format for this plugin.
getHelp() - Method in class misim.plugins.LedPlugin
Return more detailed information on the configuration string format for this plugin.
getId(int) - Static method in class misim.util.Txt
 
getIdentifier() - Method in class misim.Port
Return a unique identifier for this port.
getImage(String) - Method in class misim.MiSimDE
Load the an image from the given filename
getImage(String) - Method in interface misim.util.RobustReaderIF
Load the an image from the given filename
getInputStream() - Method in class misim.util.FileDetails
 
getInstruction(int) - Method in class misim.asm.AsmLine
Return the given instruction defined on this line
getInstructionCount(int) - Method in interface misim.Aliases
 
getInstructionCount(int) - Method in class misim.microchip.PicAliases
 
getInstructionInstance(int) - Method in interface misim.InstructionSet
Return an instance of the given instruction class object
getInstructionInstance(int) - Method in class misim.microchip.InstructionSet14
Return an instance of the given instruction class object
getInstructionSet() - Method in class misim.MachineState
Get the InstructionSet object that defines the instructions for this processor
getIntValue() - Method in class misim.util.Setting
Try to return an integer value for this setting
getJavaVersion() - Static method in class misim.Util
Check the current version of Java so that we can deal with any differences that occur between implementations and releases
getLabel(Token) - Method in class misim.asm.Context
Return the given label in the smallest possible scope
getLastModified() - Method in class misim.util.FileDetails
 
getLastToken() - Method in class misim.asm.AsmLine
Return the last token before this one, or null if at the start of the line.
getLastToken() - Method in class misim.editor.Line
Return the last token before this one, or null if at the start of the line.
getLastToken() - Method in interface misim.editor.TokenIterator
Return the last token before this one, or null if at the start of the line.
getLength() - Method in class misim.editor.Token
Return the length of the token
getLength() - Method in class misim.editor.Line
Return the length of the line in characters
getLine(int) - Method in class misim.editor.TextFile
Get the line at a particular index in the file.
getLineHeight() - Method in class misim.editor.EditorPrefs
Return the height of a line in this font
getLineIndex() - Method in class misim.asm.MacroDefinition
Return the current line index being read in this file
getLineIndex() - Method in class misim.asm.AsmLine
Return the current line index being read in this file
getLineIndex() - Method in class misim.editor.TextFile
Return the current line index being read in this file
getLineIndex() - Method in interface misim.editor.LineIterator
Return the current line index being read in this file
getLineNumber() - Method in class misim.asm.AsmLine
 
getList() - Method in class misim.asm.AsmLine
Return the list flag for this line
getListFile() - Method in class misim.asm.Assembler
Get the list file generated by the assembler
getMaxWidth() - Method in class misim.editor.TextFile
Return the maximum pixel width of any line in this file
getMemSize() - Method in class misim.Processor
Returns the size of array needed to store the instructions loaded.
getMnemonic() - Method in class misim.Instruction
Return this instruction's mnemonic.
getMsg(int) - Method in class misim.util.Txt
 
getName() - Method in class misim.util.Setting
Get the name of this setting
getName() - Method in class misim.util.SettingsGroup
Return the name of this settings group
getNewInstruction(int) - Method in class misim.MachineState
Return an initialised instruction for the given opcode
getNewInstruction(int, MachineState) - Method in interface misim.InstructionSet
Return an initialised instruction for the given opcode
getNewInstruction(int, MachineState) - Method in class misim.microchip.InstructionSet14
Return an initialised instruction for the given opcode
getNext() - Method in class misim.BreakpointManager
Return the next event handler in the chain.
getNext() - Method in interface misim.ChainedClockListener
Return the next event handler in the chain.
getNext() - Method in class misim.plugins.BreadBoard
 
getNext() - Method in class misim.plugins.LCDPlugin
Return the next event handler in the chain.
getNext() - Method in class misim.microchip.PIC84_EECon1
Return the next event handler in the chain.
getNextLine() - Method in class misim.asm.MacroDefinition
Return the next line, and advance the index to the next line in the file.
getNextLine() - Method in class misim.asm.AsmLine
Return the next line, and advance the index to the next line in the file.
getNextLine() - Method in class misim.editor.TextFile
Return the next line, and advance the index to the next line in the file.
getNextLine() - Method in interface misim.editor.LineIterator
Return the next line, and advance the index to the next line in the file.
getNextToken() - Method in class misim.asm.AsmLine
Return this token, and advance the pointer to the next token.
getNextToken() - Method in class misim.editor.Line
Return this token, and advance the pointer to the next token.
getNextToken() - Method in interface misim.editor.TokenIterator
Return the next token, and advance the pointer to the next token.
getNthRegAddress(int) - Method in class misim.MachineState
Return the address of the Nth named register.
getNthRegName(int) - Method in class misim.MachineState
Return the name for the Nth named register.
getOpcode() - Method in class misim.Instruction
Return this instruction's opcode
getOpcode(int, int) - Method in interface misim.Aliases
Return the opcode for an instruction generated by this alias
getOpcode(int, int) - Method in class misim.microchip.PicAliases
Return the opcode for an instruction generated by this alias
getOutputStream() - Method in class misim.util.FileDetails
 
getPanelName() - Method in class misim.editor.TextPanel
Return the panelname
getParameter(int) - Method in class misim.MachineState
Return a given statistic for this machineState implementation.
getParameter(int, int) - Method in class misim.MachineState
Return a given statistic for the given device for this machineState implementation.
getParameter(int, int) - Method in class misim.microchip.PIC16X84
Return a given statistic for the given device for this machineState implementation.
getParamIndex(int, int, int) - Method in interface misim.Aliases
Return the index in the instruction parameter list for the given alias parameter.
getParamIndex(int, int, int) - Method in class misim.microchip.PicAliases
Return the index in the instruction parameter list for the given alias parameter.
getParent() - Method in class misim.asm.Context
Return the parent context for this context
getParser() - Method in class misim.editor.TextFile
 
getPC() - Method in class misim.MachineState
Get the current value for the Program Counter
getPinName(int, int, int) - Method in class misim.MachineState
Return the name of the given pin for this device
getPinName(int, int, int) - Method in class misim.microchip.PIC16X84
Return the name of the given pin for this device
getPixelPos(int) - Method in class misim.editor.Line
Return the pixel position of the given text column.
getPixelPos(int, int) - Method in class misim.editor.Token
Return the pixel position of the given character
getPort(String) - Method in class misim.MachineState
Return a Named port
getPortBits(char) - Method in class misim.PortMapper
Return the bitmask for this port bit
getPortCount() - Method in class misim.PortMapper
Return the number of ports that are mapped
getPortData(String, int, int) - Method in class misim.PortMapper
Prepare data to write the following bits to a given port.
getPortFor(char) - Method in class misim.PortMapper
Return the name of the port that maps this bit.
getPortMask(String, int) - Method in class misim.PortMapper
Prepare a mask to write the following bits to a given port This returns a value with bits set to one where the mapped bits exist on this port.
getPortName(int) - Method in class misim.PortMapper
Return the name of the given mapped port
getPortNames() - Method in class misim.PortMapper
Return the names of all mapped ports.
getPortPin(String, int) - Method in class misim.MachineState
Return the pin number that the given port bit is connected to
getPortPin(String, int) - Method in class misim.microchip.PIC16X84
Return the pin number that the given port bit is connected to
getPortsFor(String) - Method in class misim.PortMapper
Return a vector of the ports that the following bits are mapped to
getPrecedence() - Method in class misim.asm.TokenOperator
Return this operator's precedence.
getPrefs() - Method in class misim.editor.Token
Return the preferences object for this token
getProgramCounter() - Method in class misim.asm.Context
Return the current program counter
getReg(int) - Method in class misim.MachineState
Return the value of the given register or -1 if the register is not implemented.
getResult() - Method in class misim.util.SimpleDialog
 
getRunType() - Method in class misim.Processor
Get the run type, one of the RUN_ constants.
getSelectedAddress(int) - Method in class misim.ViewPanel
Return the address of the currently selected line in the processor view
getSelectedAddress(int) - Method in interface misim.ProcessorView
Return the address of the currently selected line in the processor view
getSelectedLine() - Method in class misim.editor.TextPanel
Return the currently selected line.
getSelectedObjects() - Method in class misim.editor.TextPanel
Return the currently selected line, if selectLine is true and a line is selected
getSetting(int) - Method in class misim.util.SettingsGroup
Return the setting at a given index in this group
getSetting(String) - Method in class misim.util.SettingsGroup
Retrieve a setting from this group by name.
getSetting(String, int) - Method in class misim.util.SettingsGroup
Retrieve a setting from this group by name and index.
getSettingBoolean(String, boolean) - Method in class misim.util.SettingsGroup
Get the value of a setting from this group by name.
getSettingIntValue(String, int) - Method in class misim.util.SettingsGroup
Get the value of a setting from this group by name.
getSettingsGroup(int) - Method in class misim.util.SettingsController
Get the SettingsGroup with the given index
getSettingsGroup(String) - Method in class misim.util.SettingsController
Get the named group
getSettingValue(String, String) - Method in class misim.util.SettingsGroup
Get the value of a setting from this group by name.
getSkip() - Method in class misim.asm.AsmLine
Return the skip flag for this line.
getSourceLine() - Method in class misim.asm.AsmLine
 
getState() - Method in class misim.Processor
Method to retrieve the state of this processor
getStreamReader(String) - Method in class misim.MiSimDE
Create an input stream reader from the given filename
getStreamReader(String) - Method in interface misim.util.RobustReaderIF
Create an input stream reader from the given filename
getTarget(String, int, String) - Method in class misim.editor.Node
 
getText() - Method in class misim.editor.TextFile
Return the contents of the text file as a string.
getTicks(long) - Method in class misim.MachineState
Return the number of clock ticks for the given time interval, assuming the current CPU clock rate..
getTitle() - Method in class misim.editor.TextPanel
Return the title for this editor panel
getToken() - Method in class misim.editor.EditorException
Get the token that was identified as the cause of this exception
getToken(int) - Method in class misim.editor.Line
 
getTokenVector() - Method in class misim.editor.Line
 
getType() - Method in class misim.MiSimException
Return the error type for this exception
getType() - Method in class misim.asm.MacroDefinition
Return the type of this iterator, as an integer.
getType() - Method in class misim.asm.Label
 
getType() - Method in class misim.asm.AsmLine
Return the type of this iterator
getType() - Method in class misim.editor.Token
Return the type of this token
getType() - Method in class misim.editor.TextFile
Return the type of this iterator, as an integer.
getType() - Method in interface misim.editor.LineIterator
Return the type of this iterator, as an integer.
getValue() - Method in class misim.util.Setting
Get the value of this setting
getValue() - Method in class misim.editor.Token
Return the value of the token
getValue() - Method in class misim.editor.Line
Return the line as a text string
getValue(Token) - Method in class misim.asm.Label
Get the numeric value for this label
getValue(Token) - Method in class misim.asm.Context
Return the value of the given label in the smallest possible scope
getValues() - Method in class misim.MiSimException
Return the array of string values for this exception
getVersion() - Static method in class misim.Version
Return the current version number as a string, for example "1.6.0".
getVersionInt() - Static method in class misim.Version
Return the current version number as an integer.
getW() - Method in class misim.MachineState
Read the W register.
getWarning(int) - Method in class misim.editor.Line
Return the given warning for this line, or null
getWarnings() - Method in class misim.asm.Assembler
Return the number of warnings encountered in the last assembly
getWidth() - Method in class misim.plugins.TVCanvas
 
getWidth() - Method in class misim.editor.Line
 
getWidth(String) - Method in class misim.editor.EditorPrefs
 
gieBit - Static variable in class misim.microchip.PIC84_Intcon
 
gotoFirstError(boolean) - Method in class misim.editor.TextPanel
Goto the first error in the file.
gotoLine(int, boolean) - Method in class misim.editor.TextPanel
Move the cursor to the given line and display it.
GridPanel - class misim.util.GridPanel.
 
GridPanel() - Constructor for class misim.util.GridPanel
 
GUIUtils - class misim.util.GUIUtils.
Various static methods for creating GUI objects and laying them out.
GUIUtils() - Constructor for class misim.util.GUIUtils
 

H

handleUpdate() - Method in class misim.Register
Subclasses should implement this to respond to changes made to the value of the register.
handleUpdate() - Method in class misim.Port
Dispatch a Port event to any listeners that are interested in it.
handleUpdate() - Method in class misim.microchip.PIC84_Fsr
 
handleUpdate() - Method in class misim.microchip.PIC84_Option
 
handleUpdate() - Method in class misim.microchip.PIC84_Tris
 
handleUpdate() - Method in class misim.microchip.PIC84_Status
 
handleUpdate() - Method in class misim.microchip.PIC84_EECon1
 
handleUpdate() - Method in class misim.microchip.PIC84_Tmr0
 
handleUpdate() - Method in class misim.microchip.PIC84_Pcl
 
handleUpdate() - Method in class misim.microchip.PIC84_EECon2
 
handleUpdate() - Method in class misim.microchip.PIC84_Intcon
 
handleUpdate() - Method in class misim.microchip.PIC84_PortB
 
hasChanged() - Method in class misim.editor.EditorPanel
Method to indicate whether this editor panel has been edited
hasChildren() - Method in class misim.asm.AsmLine
Indicate whether this line contains child lines
hasSelection() - Method in class misim.editor.TextPanel
Check to see if there is currently a selection that may be copied to the clipboard.
hex(int) - Method in class misim.plugins.KeyPlugin
 
hexFor - Static variable in class misim.plugins.SegmentPlugin
Binary representation of hex digits..

I

identifiers - Static variable in class misim.util.Txt
 
imageUpdate(Image, int, int, int, int, int) - Method in class misim.plugins.LCDPlugin
Respond to any image updates that we receive.
INFO_ABOUT - Static variable in class misim.util.Txt
 
INFO_BINARY - Static variable in class misim.util.Txt
 
INFO_BROWSER - Static variable in class misim.util.Txt
 
INFO_BUILD - Static variable in class misim.util.Txt
 
INFO_BUILT - Static variable in class misim.util.Txt
 
INFO_CHIPSET - Static variable in class misim.util.Txt
 
INFO_HEIGHT - Static variable in class misim.util.Txt
 
INFO_HOME - Static variable in class misim.util.Txt
 
INFO_INVOKE - Static variable in class misim.util.Txt
 
INFO_LOADING - Static variable in class misim.util.Txt
 
INFO_PICEM - Static variable in class misim.util.Txt
 
INFO_READY - Static variable in class misim.util.Txt
 
INFO_REG1 - Static variable in class misim.util.Txt
 
INFO_REG2 - Static variable in class misim.util.Txt
 
INFO_REG3 - Static variable in class misim.util.Txt
 
INFO_SORRY - Static variable in class misim.util.Txt
 
INFO_SOURCE - Static variable in class misim.util.Txt
 
INFO_URL - Static variable in class misim.util.Txt
 
INFO_WIDTH - Static variable in class misim.util.Txt
 
init() - Method in class misim.MiSimDE
Main initialisation method for the miSim DE Read settings and initialise the applet in a separate thread
init(Component, Vector) - Method in class misim.editor.EditorPrefs
 
init(String) - Method in class misim.Plugin
This is the method that is called to initialise (and display) the plugin.
init(String) - Method in class misim.plugins.BetterLed
This is the method that is called to initialise (and display) the plugin.
init(String) - Method in class misim.plugins.SegmentPlugin
This is the method that is called to initialise (and display) the plugin.
init(String) - Method in class misim.plugins.CapacitorDelay
 
init(String) - Method in class misim.plugins.TVFrame
This is the method that is called to initialise (and display) the plugin.
init(String) - Method in class misim.plugins.MonitorPlugin
This is the method that is called to initialise (and display) the plugin.
init(String) - Method in class misim.plugins.Lcd2Plugin
 
init(String) - Method in class misim.plugins.BreadBoard
 
init(String) - Method in class misim.plugins.LCDPlugin
This is the method that is called to initialise the plugin.
init(String) - Method in class misim.plugins.MotorPlugin
 
init(String) - Method in class misim.plugins.LedArrayPlugin
This is the method that is called to initialise (and display) the plugin.
init(String) - Method in class misim.plugins.Switch5Plugin
 
init(String) - Method in class misim.plugins.KeyPlugin
 
init(String) - Method in class misim.plugins.SwitchPlugin
This is the method that is called to initialise (and display) the plugin.
init(String) - Method in class misim.plugins.LedPlugin
This is the method that is called to initialise (and display) the plugin.
init(String, EditorPrefs, int, boolean) - Method in class misim.editor.Token
 
initUI(Vector) - Method in class misim.MiSimDE
Create and layout all the GUI elements for the miSim DE
inputBits - Variable in class misim.Port
 
insert(CursorPos, char, Parser, EditorPrefs, LineFactory) - Method in class misim.editor.Line
Insert a character into the current line at a given column.
insert(CursorPos, String, Parser, EditorPrefs, LineFactory) - Method in class misim.editor.Line
Insert a string into the current line at a given column.
insertCharacter(Line, int, char) - Method in class misim.asm.AssemblyParser
 
insertLine(Line) - Method in class misim.asm.MacroDefinition
Insert a new line at the current line index.
insertLine(Line) - Method in class misim.asm.AsmLine
Insert a new line at the current line index.
insertLine(Line) - Method in class misim.editor.TextFile
Insert a new line at the current line index.
insertLine(Line) - Method in interface misim.editor.LineIterator
Insert a new line at the current line index.
Instruction - class misim.Instruction.
The Instruction class is the basis for all emulated instructions.
Instruction() - Constructor for class misim.Instruction
 
instructionCount() - Method in class misim.asm.AsmLine
Return the number of instructions defined by this line
instructionSet - Variable in class misim.MachineState
The instruction set for this machine
InstructionSet - interface misim.InstructionSet.
The InstructionSet interface provides a means to describe a particular architecture's instruction set.
InstructionSet14 - class misim.microchip.InstructionSet14.
The InstructionSet interface provides a means to describe a particular architecture's instruction set.
InstructionSet14() - Constructor for class misim.microchip.InstructionSet14
This creates an array of instances of the Instruction classes, ready for decoding loaded software.
Intcon - Static variable in class misim.microchip.PIC16X84
 
inteBit - Static variable in class misim.microchip.PIC84_Intcon
 
interruptOnStep() - Method in class misim.Processor
Return the value of the Interrupt On Step flag, which indicates if interrupts should be emulated for the Step and Over functions.
intfBit - Static variable in class misim.microchip.PIC84_Intcon
 
intString(int) - Static method in class misim.Util
Return the given value as a hexidecimal string of the format "0xNN.."
intValue(Context) - Method in class misim.asm.TokenNumber
Return the integer value of this token
invokeInterrupt() - Method in class misim.microchip.PIC84_Intcon
Call the interrupt handler, clearing the global interrupt enable flag and putting the current program counter location onto the stack.
isAddressValid(int) - Method in class misim.Processor
Return true if this address is valid - ie.
isAssignment() - Method in class misim.asm.TokenOperator
Indicate if this operator is an assignment operator
isDefined() - Method in class misim.asm.Label
 
isFocusTraversable() - Method in class misim.plugins.TVCanvas
 
isNamed(int) - Method in class misim.MachineState
Return true if this register has a name, false otherwise.
isNewFile() - Method in class misim.util.FileDetails
 
isOneOf(String) - Method in class misim.Instruction
Test to see if this instruction is one of a list of instructions The list is of the standard Pic Mnemonics, and does not change if the mnemonic style changes.
isUnary() - Method in class misim.asm.TokenOperator
Indicate whether this operator should be treated as a unary operator.
isWebFile() - Method in class misim.util.FileDetails
 
isWindowsPlatform() - Static method in class misim.util.BrowserControl
Try to determine whether this application is running under Windows or some other platform by examing the "os.name" property.
itemStateChanged(ItemEvent) - Method in class misim.ViewPanel
Respond to a selection event in the main list view
itemStateChanged(ItemEvent) - Method in class misim.BreakpointManager
Respond to a selection event in the breakpoint list view
itemStateChanged(ItemEvent) - Method in class misim.plugins.BreadBoard
 
itemStateChanged(ItemEvent) - Method in class misim.plugins.Switch5Plugin
 

J

JVM_1_0 - Static variable in class misim.Util
 
JVM_1_1 - Static variable in class misim.Util
 
JVM_1_2 - Static variable in class misim.Util
 
JVM_1_3 - Static variable in class misim.Util
 
JVM_1_4 - Static variable in class misim.Util
 
JVM_1_5 - Static variable in class misim.Util
 
JVM_UNKNOWN - Static variable in class misim.Util
 

K

KeyPlugin - class misim.plugins.KeyPlugin.
 
KeyPlugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.KeyPlugin
 
keyPressed(KeyEvent) - Method in class misim.plugins.TVCanvas
 
keyPressed(KeyEvent) - Method in class misim.plugins.TVFrame
 
keyPressed(KeyEvent) - Method in class misim.editor.TextPanel
 
keyReleased(KeyEvent) - Method in class misim.plugins.TVCanvas
 
keyReleased(KeyEvent) - Method in class misim.plugins.TVFrame
 
keyReleased(KeyEvent) - Method in class misim.editor.TextPanel
 
keyTyped(KeyEvent) - Method in class misim.plugins.TVCanvas
 
keyTyped(KeyEvent) - Method in class misim.plugins.TVFrame
 
keyTyped(KeyEvent) - Method in class misim.editor.TextPanel
 
keyTyped(KeyEvent) - Method in class misim.editor.EditorPanel
 

L

Label - class misim.asm.Label.
A lebel defines the value of a text label in the assembly listing.
LABEL_ADDRESS - Static variable in class misim.asm.Label
 
LABEL_CONSTANT - Static variable in class misim.asm.Label
 
LABEL_UNKNOWN - Static variable in class misim.asm.Label
 
LABEL_VARIABLE - Static variable in class misim.asm.Label
 
Label(String, int) - Constructor for class misim.asm.Label
Construct a new undefined label for the given text and type
Label(String, int, int) - Constructor for class misim.asm.Label
Construct a new defined label for the given text, value and type.
labelExists(String) - Method in class misim.asm.Context
Test to see if a given label has been defined.
language - Variable in class misim.MiSimDE
This variable stores the language setting for the application..
Lcd2Font - class misim.plugins.Lcd2Font.
 
Lcd2Font() - Constructor for class misim.plugins.Lcd2Font
 
Lcd2Plugin - class misim.plugins.Lcd2Plugin.
 
Lcd2Plugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.Lcd2Plugin
 
LCDPlugin - class misim.plugins.LCDPlugin.
The LCD Plugin emulates a HD44780 compatible LCD display controller, driving an LCD character display.
LCDPlugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.LCDPlugin
Constructor for the plugin.
LedArrayPlugin - class misim.plugins.LedArrayPlugin.
The LedArray Plugin emulates four LEDs connected to Port B, bits 0-3.
LedArrayPlugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.LedArrayPlugin
Constructor for the plugin.
LedPlugin - class misim.plugins.LedPlugin.
The LED Plugin is a simple plugin that emulates an LED connected to Port B, bit 0.
LedPlugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.LedPlugin
Constructor for the plugin.
limpa_lcd() - Method in class misim.plugins.Lcd2Plugin
 
Line - class misim.editor.Line.
The Line class represents a single line of a file.
LINE_ADDED - Static variable in class misim.editor.Undoable
 
LINE_DELETED - Static variable in class misim.editor.Undoable
 
LINE_REMOVED - Static variable in class misim.editor.Undoable
 
LINE_SPLIT - Static variable in class misim.editor.Undoable
 
Line() - Constructor for class misim.editor.Line
Constructor, creates a new line with no tokens
Line(Vector) - Constructor for class misim.editor.Line
Constructor, creates a new line with the given vector of tokens
LineFactory - interface misim.editor.LineFactory.
The LineFactory interface specifies methods to create new instances of the Line class, or it's subclasses.
LineIterator - interface misim.editor.LineIterator.
 
lines() - Method in class misim.editor.TextFile
Return the number of lines in this file
LIST_ALL - Static variable in interface misim.asm.FirstPassIF
 
LIST_NONE - Static variable in interface misim.asm.FirstPassIF
 
LIST_SKIP - Static variable in interface misim.asm.FirstPassIF
 
literal - Variable in class misim.Instruction
 
loadBinary() - Method in class misim.MiSimDE
Prompt the user and load a hex file.
loadBinary(InputStreamReader, LogListener) - Method in class misim.Processor
Read a binary file, initialising the processor memory and instruction arrays as appropriate
loadBinary(Processor, Vector, Point) - Method in class misim.FileHandler
 
loadListing(TextFile, boolean) - Method in class misim.ViewPanel
Load an assembled listing into the view.
logging - Variable in class misim.editor.TextPanel
The log listener for informing the user of events
LogListener - interface misim.util.LogListener.
The LogListener interface provides methods to respond to events that the user should be informed of - either by logging them or displaying them on screen in some way.

M

machineState - Variable in class misim.Register
The machineState that this register belongs to
machineState - Variable in class misim.Plugin
 
machineState - Variable in class misim.Instruction
 
MachineState - class misim.MachineState.
MachineState stores the information about the microcontroller being emulated - its stack, registers and EEPROM.
MachineState(String, InstructionSet, Aliases) - Constructor for class misim.MachineState
MachineState constructor.
MACRO_ITERATOR - Static variable in class misim.asm.MacroDefinition
The type of this line iterator
MacroDefinition - class misim.asm.MacroDefinition.
 
MacroDefinition(Vector, Vector) - Constructor for class misim.asm.MacroDefinition
 
MAIN_GROUP - Static variable in class misim.util.SettingsController
Constant name for the main group read from the settings file
main(String[]) - Static method in class misim.MiSimDE
Main method to start the emulator as a stand alone application
main(String[]) - Static method in class misim.util.TxtParser
Main method invoked to read the message file and generate a java class file that provides message retrieval and internationalisation.
map_ddram_lcd() - Method in class misim.plugins.Lcd2Plugin
 
MAX_PARAMS - Static variable in class misim.Instruction
 
MAX_PORT_ID - Static variable in class misim.Port
 
messages - Static variable in class misim.util.Txt
 
misim - package misim
 
misim.asm - package misim.asm
 
misim.editor - package misim.editor
 
misim.microchip - package misim.microchip
 
misim.plugins - package misim.plugins
 
misim.util - package misim.util
 
MiSimDE - class misim.MiSimDE.
MiSimDE - the main class that presents the miSim GUI, either as an Applet, or as an independent application.
MiSimDE() - Constructor for class misim.MiSimDE
Default Instantiation method which sets a flag that the class is being run as an applet.
MiSimDE(boolean, Frame, String, String) - Constructor for class misim.MiSimDE
Instantiation method which allows the caller to indicate whether the class is being run as an applet
MiSimException - exception misim.MiSimException.
The MiSimException class is used throughout miSim to indicate error conditions or report particular events.
MiSimException(int) - Constructor for class misim.MiSimException
Create a new MiSimException with the given error type.
MiSimException(int, int) - Constructor for class misim.MiSimException
Create a new MiSimException with the given error type, and the given integer parameter.
MiSimException(int, String) - Constructor for class misim.MiSimException
Create a new MiSimException with the given error type, and the given String parameter.
MiSimException(int, String[]) - Constructor for class misim.MiSimException
Create a new MiSimException with the given error type, and the given String parameters.
mnemonic - Variable in class misim.Instruction
 
MNU_ADD_BREAK - Static variable in class misim.util.Txt
 
MNU_ASSEMBLE - Static variable in class misim.util.Txt
 
MNU_BREAKPOINTS - Static variable in class misim.util.Txt
 
MNU_CLEAR_BREAK - Static variable in class misim.util.Txt
 
MNU_CLOSE - Static variable in class misim.util.Txt
 
MNU_COPY - Static variable in class misim.util.Txt
 
MNU_CUT - Static variable in class misim.util.Txt
 
MNU_GOTO - Static variable in class misim.util.Txt
 
MNU_GOTO_LINE - Static variable in class misim.util.Txt
 
MNU_LOADBIN - Static variable in class misim.util.Txt
 
MNU_NEW - Static variable in class misim.util.Txt
 
MNU_OPEN - Static variable in class misim.util.Txt
 
MNU_PASTE - Static variable in class misim.util.Txt
 
MNU_PREF - Static variable in class misim.util.Txt
 
MNU_QUIT - Static variable in class misim.util.Txt
 
MNU_REDO - Static variable in class misim.util.Txt
 
MNU_REMOVE_BREAK - Static variable in class misim.util.Txt
 
MNU_SAVE - Static variable in class misim.util.Txt
 
MNU_SAVEAS - Static variable in class misim.util.Txt
 
MNU_SAVEBIN - Static variable in class misim.util.Txt
 
MNU_SEARCH - Static variable in class misim.util.Txt
 
MNU_SEARCH_AGAIN - Static variable in class misim.util.Txt
 
MNU_UNDO - Static variable in class misim.util.Txt
 
mod_lcd(int) - Method in class misim.plugins.Lcd2Plugin
 
MonitorPlugin - class misim.plugins.MonitorPlugin.
The Monitor Plugin displays the state of the microcontrollers registers and EEPROM whenever Emulation is stopped.
MonitorPlugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.MonitorPlugin
Constructor for the plugin.
MotorPlugin - class misim.plugins.MotorPlugin.
 
MotorPlugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.MotorPlugin
 
mouseClicked(MouseEvent) - Method in class misim.plugins.TVCanvas
 
mouseClicked(MouseEvent) - Method in class misim.editor.TextPanel
 
mouseDragged(MouseEvent) - Method in class misim.editor.TextPanel
Respond to a mouse dragged event.
mouseEntered(MouseEvent) - Method in class misim.plugins.TVCanvas
 
mouseEntered(MouseEvent) - Method in class misim.editor.TextPanel
 
mouseExited(MouseEvent) - Method in class misim.plugins.TVCanvas
 
mouseExited(MouseEvent) - Method in class misim.editor.TextPanel
 
mouseMoved(MouseEvent) - Method in class misim.editor.TextPanel
 
mousePressed(MouseEvent) - Method in class misim.plugins.TVCanvas
 
mousePressed(MouseEvent) - Method in class misim.editor.TextPanel
Respond to a mouse click.
mouseReleased(MouseEvent) - Method in class misim.plugins.TVCanvas
 
mouseReleased(MouseEvent) - Method in class misim.editor.TextPanel
 
moveCursor(CursorPos, boolean, boolean) - Method in class misim.editor.TextPanel
Process a new position for the cursor.
mysleep(long) - Method in class misim.plugins.CapacitorDelay
 

N

namedRegisters() - Method in class misim.MachineState
Return the number of registers that have been named.
newContext() - Method in class misim.asm.AsmLine
If there is a new context assigned to this line, return it, otherwise return null.
newFile() - Method in class misim.MiSimDE
Open a new editor window with an empty, undefined file
next - Variable in class misim.editor.Node
 
Node - class misim.editor.Node.
A Node is used to create a tree for fast searches for known words in a parsed text file.
Node() - Constructor for class misim.editor.Node
 
NONE - Static variable in class misim.editor.Undoable
 

O

OP_ADD_EQ - Static variable in class misim.asm.TokenOperator
 
OP_AND - Static variable in class misim.asm.TokenOperator
 
OP_AND_EQ - Static variable in class misim.asm.TokenOperator
 
OP_BIT_AND - Static variable in class misim.asm.TokenOperator
 
OP_BIT_OR - Static variable in class misim.asm.TokenOperator
 
OP_BIT_XOR - Static variable in class misim.asm.TokenOperator
 
OP_CLOSE - Static variable in class misim.asm.TokenOperator
 
OP_COMPLEMENT - Static variable in class misim.asm.TokenOperator
 
OP_DECREMENT - Static variable in class misim.asm.TokenOperator
 
OP_DIVIDE - Static variable in class misim.asm.TokenOperator
 
OP_DIVIDE_EQ - Static variable in class misim.asm.TokenOperator
 
OP_EQUAL - Static variable in class misim.asm.TokenOperator
 
OP_GREATER - Static variable in class misim.asm.TokenOperator
 
OP_GREATER_EQ - Static variable in class misim.asm.TokenOperator
 
OP_INCREMENT - Static variable in class misim.asm.TokenOperator
 
OP_L_SHIFT_EQ - Static variable in class misim.asm.TokenOperator
 
OP_LEFTSHIFT - Static variable in class misim.asm.TokenOperator
 
OP_LESS - Static variable in class misim.asm.TokenOperator
 
OP_LESS_EQ - Static variable in class misim.asm.TokenOperator
 
OP_MINUS - Static variable in class misim.asm.TokenOperator
 
OP_MINUS_EQ - Static variable in class misim.asm.TokenOperator
 
OP_MOD_EQ - Static variable in class misim.asm.TokenOperator
 
OP_MODULUS - Static variable in class misim.asm.TokenOperator
 
OP_MULTIPLY - Static variable in class misim.asm.TokenOperator
 
OP_NOT - Static variable in class misim.asm.TokenOperator
 
OP_NOT_EQUAL - Static variable in class misim.asm.TokenOperator
 
OP_OPEN - Static variable in class misim.asm.TokenOperator
 
OP_OR - Static variable in class misim.asm.TokenOperator
 
OP_OR_EQ - Static variable in class misim.asm.TokenOperator
 
OP_PLUS - Static variable in class misim.asm.TokenOperator
 
OP_R_SHIFT_EQ - Static variable in class misim.asm.TokenOperator
 
OP_RIGHTSHIFT - Static variable in class misim.asm.TokenOperator
 
OP_SET_EQ - Static variable in class misim.asm.TokenOperator
 
OP_TIMES_EQ - Static variable in class misim.asm.TokenOperator
 
OP_XOR_EQ - Static variable in class misim.asm.TokenOperator
 
opcode - Variable in class misim.Instruction
 
openFile() - Method in class misim.MiSimDE
Open an existing file in a new editor window
OPERAND_TYPE_ADDRESS - Static variable in class misim.Instruction
 
OPERAND_TYPE_BITS - Static variable in class misim.Instruction
 
OPERAND_TYPE_ERROR - Static variable in class misim.Instruction
 
OPERAND_TYPE_FLAG - Static variable in class misim.Instruction
 
OPERAND_TYPE_LITERAL - Static variable in class misim.Instruction
 
OPERAND_TYPE_NONE - Static variable in class misim.Instruction
 
OPERAND_TYPE_SOURCE_DEST - Static variable in class misim.Instruction
 
OPERAND_TYPE_TRIS - Static variable in class misim.Instruction
 
optimise() - Method in class misim.Processor
Optimise the loaded binary by looking for 'shortcuts' for emulation.
Option - Static variable in class misim.microchip.PIC16X84
 
optionalParams() - Method in class misim.Instruction
Return the number of optional parameters for this instruction
optionalParams(int) - Method in interface misim.Aliases
Return the number of optional parameters for this alias
optionalParams(int) - Method in class misim.microchip.PicAliases
Return the number of optional parameters for this alias
optLoop - Variable in class misim.Instruction
 
output - Variable in class misim.util.FileDetails
 
outputMask - Variable in class misim.Port
 
overPic() - Method in class misim.Processor
Single step the processor, unless the command is a call, in which case execute the entire called routine.
owner - Variable in class misim.Plugin
 

P

PACKAGE_DIP - Static variable in class misim.MachineState
Indicates that this device is available in a DIP package - may be OR'd with other package types
PACKAGE_PLCC - Static variable in class misim.MachineState
Indicates that this device is available in a PLCC package - may be OR'd with other package types
PACKAGE_QFP - Static variable in class misim.MachineState
Indicates that this device is available in a QFP package - may be OR'd with other package types
PACKAGE_SOIC - Static variable in class misim.MachineState
Indicates that this device is available in a SOIC package - may be OR'd with other package types
paddedTab - Variable in class misim.editor.EditorPrefs
A Pre-prepared 'tab' mad up of spaces
pageBit - Static variable in class misim.Instruction
 
pageBit - Static variable in class misim.microchip.PIC84_Status
 
paint(Graphics) - Method in class misim.plugins.TVCanvas
 
paint(Graphics) - Method in class misim.editor.TextPanel
 
PARAM_BANK_SIZE - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the size of each memory bank (byte offset to next bank start)
PARAM_BANKS - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the number of memory banks
PARAM_BIT_CP0 - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit mask for the Config code protection bit 0
PARAM_BIT_DP0 - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit mask for the Data code protection bit 0
PARAM_BIT_FOSC0 - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit mask for the Config oscillator selection bit 0
PARAM_BIT_FOSC1 - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit mask for the Config oscillator selection bit 1
PARAM_BIT_PWRTE - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit mask for the Config power-up timer flag
PARAM_BIT_PWRTEI - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit mask for the Config power-up timer flag (inverted sense)
PARAM_BIT_WDTE - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit mask for the Config watchdog timer flag
PARAM_CONFIG_ADDR - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the address of the config data
PARAM_CONFIG_START - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the start address for the config/test program memory area
PARAM_CONFIG_WORD - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit flags indicating the CPU features that can be configured by the first config word
PARAM_DATA_SIZE - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the size of data memory (bytes)
PARAM_DEVICES - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the number of devices supported by this processor implementation
PARAM_EEPROM_SIZE - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the size of EEPROM memory (bytes)
PARAM_EEPROM_START - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the start address for the eeprom data memory area
PARAM_ID_ADDR - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the start address of the ID data (words)
PARAM_ID_SIZE - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the number of ID data words
PARAM_ID_WIDTH - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the how many bits of each ID word are valid
PARAM_INSTR_WIDTH - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the instruction bit width
PARAM_PACKAGES - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the bit flags for the package types this device is supplied in
PARAM_PINS - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the number of pins for this device
PARAM_PROG_SIZE - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the size of program memory (words)
PARAM_STACK_SIZE - Static variable in class misim.MachineState
Parameter ID for getParameter() - Returns the stack size
parse(Token) - Method in class misim.asm.AssemblyParser
Read a Token and attempt to promote it into a sequence of Tokens appropriate for the particular parser.
parse(Token) - Method in class misim.editor.Parser
Read a Token and attempt to promote it into a sequence of Tokens appropriate for the particular parser.
parse(Token) - Method in class misim.editor.BasicParser
Read a Token and attempt to promote it into a sequence of Tokens appropriate for the particular parser.
parseGroup(SettingsGroup) - Method in class misim.util.TxtParser
Read all of the settings in the given group into the global Vectors of messages and identifiers.
parseGroup(SettingsGroup, String[], String[]) - Static method in class misim.util.TxtBaseClass
 
parseMacro(AsmLine, Context) - Method in class misim.asm.MacroDefinition
Parse a reference to this macro, reading the parameters into the paramList.
Parser - class misim.editor.Parser.
 
Parser() - Constructor for class misim.editor.Parser
 
pasteClipboard() - Method in class misim.editor.EditorPanel
Paste the current clipboard contents into the cursor position.
pc - Variable in class misim.MachineState
The Program Counter
Pcl - Static variable in class misim.Regs
The Program counter low byte register (address 0x02)
PCLatH - Static variable in class misim.microchip.PIC16X84
 
pdBit - Static variable in class misim.microchip.PIC84_Status
 
PIC16X84 - class misim.microchip.PIC16X84.
This extends the Processor class to emulate a complete PIC16F84 microcontroller.
PIC16X84(SettingsGroup, String) - Constructor for class misim.microchip.PIC16X84
Constructor - create the given device, using the current settings
PIC84_BANK_SIZE - Static variable in class misim.microchip.PIC16X84
 
PIC84_EECon1 - class misim.microchip.PIC84_EECon1.
This extends Register to implement the EEPRom EECon1 register functions
PIC84_EECon1(MachineState, Register, Register, PIC84_EECon2, PIC84_Intcon) - Constructor for class misim.microchip.PIC84_EECon1
 
PIC84_EECon2 - class misim.microchip.PIC84_EECon2.
This extends Register to implement the EEPRom EECon2 register functions
PIC84_EECon2(MachineState) - Constructor for class misim.microchip.PIC84_EECon2
 
PIC84_Fsr - class misim.microchip.PIC84_Fsr.
This extends Register to implement the FSR Indirection register functions
PIC84_Fsr(MachineState) - Constructor for class misim.microchip.PIC84_Fsr
 
PIC84_Intcon - class misim.microchip.PIC84_Intcon.
This extends Register to implement the Interrupt Control register functions
PIC84_Intcon(MachineState, PIC84_Tmr0, PIC84_Option, PIC84_Status) - Constructor for class misim.microchip.PIC84_Intcon
 
PIC84_Option - class misim.microchip.PIC84_Option.
This extends Register to implement the Option register functions
PIC84_Option(MachineState) - Constructor for class misim.microchip.PIC84_Option
 
PIC84_Pcl - class misim.microchip.PIC84_Pcl.
This extends Register to implement the Program counter Low 8 bit register functions
PIC84_Pcl(MachineState) - Constructor for class misim.microchip.PIC84_Pcl
 
PIC84_PortA - class misim.microchip.PIC84_PortA.
This extends Port to implement the Port A register functions
PIC84_PortA(MachineState, PIC84_Intcon, PIC84_Option, PIC84_Tmr0, Register) - Constructor for class misim.microchip.PIC84_PortA
 
PIC84_PortB - class misim.microchip.PIC84_PortB.
This extends Port to implement the Port B register functions
PIC84_PortB(MachineState, PIC84_Intcon, PIC84_Option, Register) - Constructor for class misim.microchip.PIC84_PortB
 
PIC84_Status - class misim.microchip.PIC84_Status.
This extends Register to implement the Status register functions
PIC84_Status(MachineState) - Constructor for class misim.microchip.PIC84_Status
 
PIC84_Tmr0 - class misim.microchip.PIC84_Tmr0.
This extends Register to implement the Timer 0 register functions
PIC84_Tmr0(MachineState) - Constructor for class misim.microchip.PIC84_Tmr0
 
PIC84_Tris - class misim.microchip.PIC84_Tris.
This extends Register to implement the function of both Tris registers
PIC84_Tris(MachineState) - Constructor for class misim.microchip.PIC84_Tris
 
PicAliases - class misim.microchip.PicAliases.
 
PicAliases() - Constructor for class misim.microchip.PicAliases
 
PICEM_FILECHANGED - Static variable in class misim.util.Txt
 
PICEM_RUNNING - Static variable in class misim.util.Txt
 
PIXEL_GAP - Static variable in class misim.plugins.LCDPlugin
 
PIXEL_HEIGHT - Static variable in class misim.plugins.LCDPlugin
 
PIXEL_WIDTH - Static variable in class misim.plugins.LCDPlugin
 
PLG_ARRAY_ABOUT - Static variable in class misim.util.Txt
 
PLG_BREAD_ABOUT - Static variable in class misim.util.Txt
 
PLG_LCD_ABOUT - Static variable in class misim.util.Txt
 
PLG_LCD_HELP - Static variable in class misim.util.Txt
 
PLG_LCD_SIZE - Static variable in class misim.util.Txt
 
PLG_LED_ABOUT - Static variable in class misim.util.Txt
 
PLG_LED_HELP - Static variable in class misim.util.Txt
 
PLG_MEMORY_ABOUT - Static variable in class misim.util.Txt
 
PLG_SEG_ABOUT - Static variable in class misim.util.Txt
 
PLG_SEG_HELP - Static variable in class misim.util.Txt
 
PLG_SIMPLE_ABOUT - Static variable in class misim.util.Txt
 
PLG_SWITCH_ABOUT - Static variable in class misim.util.Txt
 
PLG_SWITCH_HELP - Static variable in class misim.util.Txt
 
PLG_TV_ABOUT - Static variable in class misim.util.Txt
 
Plugin - class misim.Plugin.
If you want to add a new device to the miSim DE, you must implement the Plugin interface.
PLUGIN_GUI - Static variable in class misim.Plugin
 
PLUGIN_NONE - Static variable in class misim.Plugin
 
PLUGIN_SELF - Static variable in class misim.Plugin
 
Plugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.Plugin
Constructor for the plugin.
PluginPanel - class misim.util.PluginPanel.
 
PluginPanel() - Constructor for class misim.util.PluginPanel
 
PLUGINS_ADD - Static variable in class misim.util.Txt
 
PLUGINS_CONFIG - Static variable in class misim.util.Txt
 
PLUGINS_CURRENT - Static variable in class misim.util.Txt
 
PLUGINS_EXISTS - Static variable in class misim.util.Txt
 
PLUGINS_NAME - Static variable in class misim.util.Txt
 
PLUGINS_SELECTED - Static variable in class misim.util.Txt
 
PLUGINS_UPDATED - Static variable in class misim.util.Txt
 
Port - class misim.Port.
The Port class extends Register to emulate microcontroller Ports, with associated I/O capabilities.
Port_A - Static variable in class misim.Port
 
Port_B - Static variable in class misim.Port
 
Port_C - Static variable in class misim.Port
 
Port_D - Static variable in class misim.Port
 
Port_E - Static variable in class misim.Port
 
Port(MachineState, int) - Constructor for class misim.Port
Constructor method, sets machine state and bit width
PortA - Static variable in class misim.microchip.PIC16X84
 
PortAId - Static variable in class misim.Port
 
PortB - Static variable in class misim.microchip.PIC16X84
 
PortBId - Static variable in class misim.Port
 
PortCId - Static variable in class misim.Port
 
PortDId - Static variable in class misim.Port
 
PortEId - Static variable in class misim.Port
 
portEvent(int, long, int) - Method in interface misim.PortListener
This method is called when the state of a port changes.
portEvent(int, long, int) - Method in class misim.plugins.BetterLed
This method is called when the state of a port changes.
portEvent(int, long, int) - Method in class misim.plugins.SegmentPlugin
This method is called when the state of a port changes.
portEvent(int, long, int) - Method in class misim.plugins.CapacitorDelay
 
portEvent(int, long, int) - Method in class misim.plugins.TVCanvas
This method is called when the state of a port changes.
portEvent(int, long, int) - Method in class misim.plugins.Lcd2Plugin
 
portEvent(int, long, int) - Method in class misim.plugins.BreadBoard
 
portEvent(int, long, int) - Method in class misim.plugins.LCDPlugin
This method is called when the state of a port changes.
portEvent(int, long, int) - Method in class misim.plugins.MotorPlugin
 
portEvent(int, long, int) - Method in class misim.plugins.LedArrayPlugin
This method is called when the state of a port changes.
portEvent(int, long, int) - Method in class misim.plugins.LedPlugin
This method is called when the state of a port changes.
portIdentifier - Variable in class misim.Port
 
PortListener - interface misim.PortListener.
Anything that wants to respond to changes on the Pics port should implement the PortListener interface.
PortMapper - class misim.PortMapper.
The port mapper class provides a convenient way to map a set of port data to a set of inputs, with a simple mapping string.
PortMapper(MachineState, String, String) - Constructor for class misim.PortMapper
Create a new PortMapper.
PREF_ACCURATELY - Static variable in class misim.util.Txt
 
PREF_CLOCK - Static variable in class misim.util.Txt
 
PREF_EMULATE - Static variable in class misim.util.Txt
 
PREF_FAST - Static variable in class misim.util.Txt
 
PREF_FAST_LOOP - Static variable in class misim.util.Txt
 
PREF_HEADING - Static variable in class misim.util.Txt
 
PREF_INTERRUPT - Static variable in class misim.util.Txt
 
PREF_REP_CLOCK - Static variable in class misim.util.Txt
 
PREF_REP_FAST - Static variable in class misim.util.Txt
 
PREF_REP_INTR - Static variable in class misim.util.Txt
 
PREF_REPORT - Static variable in class misim.util.Txt
 
PREF_SPEED - Static variable in class misim.util.Txt
 
prepare(int, int) - Method in class misim.PortMapper
Update the port mapper's view of the port, so that data can be read from it with the read or readBit methods.
prepare(long) - Method in class misim.BreakpointManager
Prepare for emulation, beginning at the given clock count
prepare(long) - Method in interface misim.ClockListener
Prepare for emulation, beginning at the given clock count
prepare(long) - Method in class misim.plugins.BreadBoard
 
prepare(long) - Method in class misim.plugins.LCDPlugin
Prepare for emulation, beginning at the given clock count
prepare(long) - Method in class misim.microchip.PIC84_EECon1
Prepare for emulation, beginning at the given clock count
prepare(long) - Method in class misim.microchip.PIC84_Intcon
Prepare for emulation of interrupts - mainly by tracking the clock cycles that have occurred each time the main handling routine is called
prepare(String, RobustReaderIF, TxtBaseClass, String[], String[]) - Static method in class misim.util.TxtBaseClass
Prepare the class to provide internationalisation functions.
preprocess(LineIterator, Hashtable) - Method in interface misim.asm.FirstPassIF
Read the next line from the given line iterator.
preprocess(LineIterator, Hashtable) - Method in class misim.asm.Assembler
Read the next line from the given line iterator.
previousToken() - Method in class misim.asm.AsmLine
move to the previous token.
previousToken() - Method in class misim.editor.Line
move to the previous token.
previousToken() - Method in interface misim.editor.TokenIterator
move to the previous token.
print_ddram() - Method in class misim.plugins.Lcd2Plugin
 
processAssignment(AsmLine, Token, Context) - Method in class misim.asm.TokenOperator
 
processCommand(AsmLine, Token, Context, Hashtable, Hashtable, LineIterator, TextFile, FirstPassIF, Processor) - Method in class misim.asm.TokenCommand
Process this command token in the given line and context If the line changes the conditional assembly status, (can only be to false, as conditional must be true to assemble this line) this will return a negative value.
processControlKey(KeyEvent) - Method in class misim.editor.TextPanel
Handle a control key press - specifically, the copy event.
processControlKey(KeyEvent) - Method in class misim.editor.EditorPanel
Handle a control key press
processInstruction(int, long) - Method in class misim.plugins.LCDPlugin
 
processKey(int, KeyEvent, CursorPos, boolean) - Method in class misim.editor.TextPanel
 
processKey(int, KeyEvent, CursorPos, boolean) - Method in class misim.editor.EditorPanel
 
Processor - class misim.Processor.
The Processor class extends MachineState to provide functions for managing the contents of the microcontroller's program memory and running the emulation.
Processor(SettingsGroup, String, InstructionSet, Aliases) - Constructor for class misim.Processor
Constructor for the processor, Creates eeprom areas for instructions and data, and resets the machine state
ProcessorListener - interface misim.ProcessorListener.
The ProcessorListener is informed when the emulation starts or stops.
processorStateChange(int, String) - Method in class misim.MiSimDE
ProcessorListener Interface implementation to respond to changes in the state of the processor (in particular starting and stopping of the emulation thread, which happens asynchronously.
processorStateChange(int, String) - Method in interface misim.ProcessorListener
Called when the emulation starts or stops.
processorStateChange(int, String) - Method in class misim.plugins.MonitorPlugin
ProcessorListener Interface implementation to respond to changes in the state of the processor (in particular starting and stopping of the emulation thread, which happens asynchronously.
processorStateChange(int, String) - Method in class misim.plugins.Lcd2Plugin
 
processorStateChange(int, String) - Method in class misim.plugins.BreadBoard
 
ProcessorView - interface misim.ProcessorView.
The ProcessorView interface is implemented by the ViewWindow, and allows other classes to control the display of the Processor's state.
programMemorySize - Variable in class misim.Processor
This specifies the instruction memory size
promptGotoLine() - Method in class misim.editor.EditorPanel
Goto a requested line in the current text file.
promptSearch(boolean) - Method in class misim.editor.EditorPanel
Search for a string in the current text.
promptToLoad(String, String, Vector, Point) - Method in class misim.FileHandler
 
promptToSave(String, String, String) - Method in class misim.FileHandler
 

R

rbieBit - Static variable in class misim.microchip.PIC84_Intcon
 
rbifBit - Static variable in class misim.microchip.PIC84_Intcon
 
read(String) - Method in class misim.PortMapper
Read the data from the port mapper for the given set of characters.
readBit - Static variable in class misim.Instruction
 
readBit(char) - Method in class misim.PortMapper
Return the bit value for a single mapped character Note that characters that have no mapping defined are read as '0'.
readConfig(String) - Method in class misim.Plugin
This method should read the given config parameter string and update its own settings to match it.
readConfig(String) - Method in class misim.plugins.BetterLed
This method should read the given config parameter string and update its own settings to match it.
readConfig(String) - Method in class misim.plugins.SegmentPlugin
This method should read the given config parameter string and update its own settings to match it.
readConfig(String) - Method in class misim.plugins.CapacitorDelay
 
readConfig(String) - Method in class misim.plugins.TVFrame
This method should read the given config parameter string and update its own settings to match it.
readConfig(String) - Method in class misim.plugins.MonitorPlugin
This method should read the given config parameter string and update its own settings to match it.
readConfig(String) - Method in class misim.plugins.Lcd2Plugin
 
readConfig(String) - Method in class misim.plugins.BreadBoard
 
readConfig(String) - Method in class misim.plugins.LCDPlugin
This method should check whether config parameters are valid
readConfig(String) - Method in class misim.plugins.MotorPlugin
 
readConfig(String) - Method in class misim.plugins.LedArrayPlugin
This method should read the given config parameter string and update its own settings to match it.
readConfig(String) - Method in class misim.plugins.Switch5Plugin
 
readConfig(String) - Method in class misim.plugins.KeyPlugin
 
readConfig(String) - Method in class misim.plugins.SwitchPlugin
This method should read the given config parameter string and update its own settings to match it.
readConfig(String) - Method in class misim.plugins.LedPlugin
This method should read the given config parameter string and update its own settings to match it.
reader - Variable in class misim.Plugin
 
readFile(EditorPrefs) - Method in class misim.editor.TextFile
 
readInstruction(int) - Method in class misim.Processor
Read an instruction from the given address.
readSettings(BufferedReader, Vector) - Method in class misim.MiSimDE
Read the settings from the first part of the settings file, stopping at the end, or when a line starting with the text 'plugins' is encountered.
readSettings(BufferedReader, Vector) - Method in class misim.util.SettingsController
Read a settings file.
readText(String, String) - Method in class misim.util.TxtParser
Read a settings file, and call parseGroup to parse all settings groups in that file into messages and identifiers, then generate the Txt.java file that stores and retrieves these messages.
readyToWrite() - Method in class misim.microchip.PIC84_EECon2
 
rebuildPortMasks() - Method in class misim.Port
This rebuilds the masks for identifying when a significant event has occured on the processor ports.
redo(CursorPos) - Method in class misim.editor.Undoable
 
redo(Undoable, CursorPos) - Method in class misim.editor.Line
 
redo(Undoable, CursorPos) - Method in class misim.editor.TextFile
Redo a change made to the file
redo(Undoable, CursorPos) - Method in interface misim.editor.UndoIF
 
redrawText(Graphics) - Method in class misim.editor.TextPanel
 
refresh() - Method in class misim.editor.TextPanel
Redraw the text panel
reg - Variable in class misim.Instruction
 
regChar(int) - Method in class misim.MachineState
Return the contents of the given register as a character.
regDest - Variable in class misim.Instruction
 
Register - class misim.Register.
A Register is an object that represents a memory location in the microcontroller.
Register(MachineState) - Constructor for class misim.Register
Basic constructor initialises the machineState and sets this to be a simple register - ie.
regName(int) - Method in class misim.MachineState
Get the name of a processor register.
regOffset - Variable in class misim.MachineState
The offset into the current register bank
regs - Variable in class misim.MachineState
The register memory array
Regs - class misim.Regs.
Constants class to identify the registers that are implemented for all devices of the class we emulate.
Regs() - Constructor for class misim.Regs
 
regString(int) - Method in class misim.MachineState
Return the value of the register as a String.
removeAllLines() - Method in class misim.editor.TextFile
Remove all lines from the file
removeClockListener(ChainedClockListener) - Method in class misim.MachineState
Remove a chained clock listener from this machine..
removeItemListener(ItemListener) - Method in class misim.editor.TextPanel
Remove an item listener from this panel.
removeLine(int) - Method in class misim.editor.TextFile
Remove a line from the file
removePortListener() - Method in class misim.plugins.Lcd2Plugin
 
removePortListener(PortListener) - Method in class misim.Port
Remove a port listener from this port.
removePortListener(PortListener) - Method in class misim.MachineState
Remove port listener - this asks all ports to remove the given port listener.
removeProcessorListener(ProcessorListener) - Method in class misim.Processor
Remove a processor listener from this processor.
removeResetListener(ResetListener) - Method in class misim.MachineState
Remove a ResetListener from this device
removeSetting(Setting) - Method in class misim.util.SettingsGroup
Remove a setting from this group
report(String) - Method in class misim.MiSimDE
Logging method that only displays the given message on the bottom panel of the application
report(String) - Method in interface misim.util.LogListener
Logging method that only displays the given message on the bottom panel of the application
requestFocus() - Method in class misim.editor.TextPanel
When the panel requests focus, pass it onto the canvas
requiredParams() - Method in class misim.Instruction
Return the number of required parameters to this instruction
requiredParams(int) - Method in interface misim.Aliases
Return the number of required parameters for this alias
requiredParams(int) - Method in class misim.microchip.PicAliases
Return the number of parameters this alias requires
RESET_AS_PROGRAMMED - Static variable in class misim.MachineState
Flag to indicate a reset to the full original programmed values
RESET_MCLR - Static variable in class misim.MachineState
Flag to indicate a reset on MCLR
RESET_POWER_UP - Static variable in class misim.MachineState
Flag to indicate a reset on power up
RESET_WATCHDOG - Static variable in class misim.MachineState
Flag to indicate a reset on the watchdog timer
reset() - Method in class misim.BreakpointManager
Respond to any reset event for the processor
reset() - Method in class misim.plugins.BreadBoard
 
reset(int) - Method in class misim.Processor
Reset the processor, including the data stored in the eeprom, to the values originally loaded.
reset(int) - Method in interface misim.ResetListener
The processor has been reset
reset(int) - Method in class misim.plugins.LCDPlugin
The processor has been reset
reset(int) - Method in class misim.microchip.PIC84_EECon1
The processor has been reset
resetChanged() - Method in class misim.editor.EditorPanel
Clear the flag that indicates that the file has been edited.
resetData() - Method in class misim.Processor
 
resetLineIndex() - Method in class misim.asm.MacroDefinition
Reset the current line index to the beginning of the source
resetLineIndex() - Method in class misim.asm.AsmLine
Reset the current line index to the beginning of the source
resetLineIndex() - Method in class misim.editor.TextFile
Reset the current line index to the beginning of the file
resetLineIndex() - Method in interface misim.editor.LineIterator
Reset the current line index to the beginning of the source
ResetListener - interface misim.ResetListener.
The ResetListener interface allows a class to respond to reset events for the processor.
resetMachine(int) - Method in class misim.MachineState
Reset the machineState registers according to the given reset type
resetRegs(Register[], int) - Method in class misim.MachineState
Reset all registers to their power-on values
resetRegs(Register[], int) - Method in class misim.microchip.PIC16X84
Reset all registers to their power-on values
resetTokenIndex() - Method in class misim.editor.Line
Reset the token iterator index
resetTokenIndex() - Method in interface misim.editor.TokenIterator
Reset the token iterator index
returnHome() - Method in class misim.plugins.LCDPlugin
Move the cursor to the home position.
RobustReaderIF - interface misim.util.RobustReaderIF.
This interface provides methods that will provide access to files and other resources, regardless of whether the reader is implemented as an applet or application.
rootContext() - Method in class misim.asm.Context
Return the root context for this context
row - Variable in class misim.editor.CursorPos
The Row for the cursor.
RUN_ACCURATELY - Static variable in class misim.Processor
Constant that defines that the processor should attempt to emulate a specific clock speed.
RUN_FAST - Static variable in class misim.Processor
Constant that defines that the processor should run as fast as possible, at the cost of some accuracy
RUN_OVER - Static variable in class misim.Processor
Constant that defines that the processor should emulate a single instruction, or in the case of a CALL instruction, a single called routine
RUN_SPEED - Static variable in class misim.Processor
Constant that defines that the processor should attempt to emulate a specific clock speed.
run() - Method in class misim.MiSimDE
Run method to initialise the applet in a separate thread..
run() - Method in class misim.Processor
Execute some pic instructions depending on the current run type.
run() - Method in class misim.editor.TextPanel
========================================================================= Thread handler for displaying cursor
runAccurately() - Method in class misim.Processor
Try to run full emulation at an accurate speed, including any clock listeners.
runFastest() - Method in class misim.Processor
Run the emulator as fast as possible, at the expense of some accuracy.
runOver() - Method in class misim.Processor
Run the emulator until a given breakpoint is reached.
runPic() - Method in class misim.Processor
Initialise the emulator to run for an indefinite time, then call startThread() to run the emulator in a separate thread.
runToSpeed() - Method in class misim.Processor
This method attempts to run the processor at a given clock speed.

S

saveBinary(Processor) - Method in class misim.FileHandler
 
saveFile() - Method in class misim.editor.TextFile
 
saveFile(boolean) - Method in class misim.MiSimDE
If the current tab is the processor view, prompt the user and save a disassembly of the program loaded into the processor.
search(String, CursorPos, boolean, boolean) - Method in class misim.editor.TextFile
Search for the given text from the cursor position.
SegmentPlugin - class misim.plugins.SegmentPlugin.
The Segment Plugin emulates one or two seven segment displays connected to Port B.
SegmentPlugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.SegmentPlugin
Constructor for the plugin.
selectAddress(int) - Method in class misim.ViewPanel
Select the line that represents the given address, and make sure that line is visible.
selectAddress(int) - Method in interface misim.ProcessorView
Select the line that represents the given address, and make sure that line is visible.
selectLine(boolean) - Method in class misim.editor.TextPanel
Set whether the current cursor position selects the entire line (and extended selections are therefore not supported), or not.
selfTerminating - Variable in class misim.editor.Node
 
setAddress(int) - Method in class misim.asm.AsmLine
Set the address for the data or instructions that occur on this line
setAddresses(int[], int) - Method in class misim.MachineState
Initialise the address label hashtable with default labels for the given set of 'important' addresses.
setAddressName(int, String) - Method in class misim.MachineState
 
setAliases(Aliases) - Method in class misim.MachineState
Set the Aliases object that defines any aliases for this processor
setAlternative(Instruction) - Method in class misim.asm.TokenInstruction
 
setApplet(Applet) - Static method in class misim.util.BrowserControl
 
setAssignment(Token, int) - Method in class misim.asm.AsmLine
Set an assignment for this line.
setBreakpoint(boolean) - Method in class misim.asm.AsmLine
Set whether this line has a breakpoint or not
setBreakpoint(int, boolean) - Method in class misim.ViewPanel
Set the given address to have a breakpoint, or remove a set breakpoint
setBreakpoint(int, boolean) - Method in interface misim.ProcessorView
Set the given address to have a breakpoint, or remove a set breakpoint
setBrowser(String) - Static method in class misim.util.BrowserControl
Set the browser name for unix systems
setButtonLabel(int, int, String) - Method in class misim.util.BotPanel
 
setButtonLabel(int, int, String) - Method in class misim.util.PluginPanel
 
setCGRamAddress(int) - Method in class misim.plugins.LCDPlugin
Write the CG Ram address.
setChoices(Vector) - Method in class misim.util.SimpleDialog
 
setClockListener(ClockListener) - Method in class misim.MachineState
Set the clock listener for this machine.
setClockRate(long) - Method in class misim.MachineState
Set the clock rate, in hz for emulation.
setClocks(long) - Method in class misim.MachineState
Set the current clock cycle count.
setColAuxValue(int, String) - Method in class misim.util.PluginPanel
 
setColBinValue(int, String) - Method in class misim.util.PluginPanel
 
setColDecValue(int, String) - Method in class misim.util.PluginPanel
 
setColHexValue(int, String) - Method in class misim.util.PluginPanel
 
setColName(int, String) - Method in class misim.util.PluginPanel
 
setColStrValue(int, String) - Method in class misim.util.PluginPanel
 
setConfig(int) - Method in class misim.Processor
Set the configuration word for this device
setContext(Context) - Method in class misim.asm.AsmLine
Set a new context for this and subsequent lines
setCursor(boolean) - Method in class misim.editor.TextPanel
Set the cursor to be hidden or displayed
setCursorAddress(int) - Method in class misim.plugins.LCDPlugin
Write the cursor address.
setDefaults(SettingsGroup) - Method in class misim.editor.EditorPrefs
 
setDirectory(String) - Method in class misim.util.FileDetails
 
setEeprom(int, Instruction) - Method in class misim.Processor
 
setFactory(LineFactory) - Method in class misim.editor.TextFile
 
setFastLoop(boolean) - Method in class misim.Processor
 
setFilename(String) - Method in class misim.util.FileDetails
 
setGrid(int, int) - Method in class misim.util.ButtonPanel
 
setGrid(int, int) - Method in class misim.util.GridPanel
 
setGridButton(int, int) - Method in class misim.util.BotPanel
 
setGridText(String, int, int) - Method in class misim.util.PluginPanel
 
setIncludeDir(String) - Method in class misim.FileHandler
 
setInstructionSet(InstructionSet) - Method in class misim.MachineState
Set the InstructionSet object that defines the instructions for this processor
setInterruptOnStep(boolean) - Method in class misim.Processor
Set the value of the Interrupt On Step flag, which indicates if interrupts should be emulated for the Step and Over functions.
setKey(int, char) - Method in class misim.plugins.TVCanvas
 
setLabel(String, int, int) - Method in class misim.util.ButtonPanel
 
setLanguage(String, RobustReaderIF) - Method in class misim.util.Txt
 
setLineNumber(int) - Method in class misim.asm.AsmLine
 
setList(boolean) - Method in class misim.asm.AsmLine
Set the list flag for this line.
setList(int) - Method in interface misim.asm.FirstPassIF
Set the flag that indicates whether current lines added to the listing should be visible or not.
setList(int) - Method in class misim.asm.Assembler
Set the flag that indicates whether current lines added to the listing should be visible or not.
setListener(boolean) - Method in class misim.plugins.TVCanvas
 
setLocal(Token) - Method in class misim.asm.Context
 
setMachineState(MachineState) - Method in class misim.Plugin
Update the machine that this plugin is related to.
setMachineState(MachineState) - Method in class misim.Instruction
 
setMaxWidth(int) - Method in class misim.editor.TextFile
Test the new maximum display width of the file, and if it is larger than the existing maximum, set the maximum width to the new value
setMessage(String) - Method in class misim.util.SimpleDialog
 
setNext(ClockListener) - Method in class misim.BreakpointManager
Set the next event handler in the chain.
setNext(ClockListener) - Method in interface misim.ChainedClockListener
Set the next event handler in the chain.
setNext(ClockListener) - Method in class misim.plugins.BreadBoard
 
setNext(ClockListener) - Method in class misim.plugins.LCDPlugin
Set the next event handler in the chain.
setNext(ClockListener) - Method in class misim.microchip.PIC84_EECon1
Set the next event handler in the chain.
setParser(Parser) - Method in class misim.editor.TextFile
 
setPC(int) - Method in class misim.MachineState
Set a new value for the Program Counter.
setPC(int) - Method in class misim.Processor
Set a new value for the Program Counter.
setPluginTitle(String) - Method in class misim.Plugin
Set the title of this plugin
setPluginTitle(String) - Method in class misim.plugins.Lcd2Plugin
 
setPluginTitle(String) - Method in class misim.plugins.KeyPlugin
 
setPortBits(int) - Method in class misim.Port
Set the bits being applied to this port by an external device, this performs a logical OR of the given data.
setPortReg(Port) - Method in class misim.microchip.PIC84_Tris
 
setPreprocessed(Vector) - Method in class misim.asm.AsmLine
Setting a preprocessed vector of tokens replaces this line's token iterator list with the new preprocessed version.
setProcessor(Processor) - Method in class misim.ViewPanel
Set a new processor for the viewPanel and the breakpointManager.
setProcessor(Processor) - Method in class misim.BreakpointManager
Set a new processor for the breakpointManager.
setProgramCounter(int) - Method in class misim.asm.Context
Set the current program counter to a valid value
setRadix(int) - Method in class misim.asm.Context
Set the current default radix
setReg() - Method in class misim.ViewPanel
Set a processor register from the GUI TextFields
setReg(int, int) - Method in class misim.MachineState
Set the value of a given register.
setRegisters(Register[], String[], Hashtable) - Method in class misim.MachineState
Create and assign the registers that the device implements.
setRegisters(Register[], String[], Hashtable) - Method in class misim.microchip.PIC16X84
Create and assign the registers that the device implements.
setRegName(int, String) - Method in class misim.MachineState
Set the name for a given register.
setRunType(int) - Method in class misim.Processor
Set the run type for emulation, one of the RUN_ constants.
setSkip(boolean) - Method in class misim.asm.AsmLine
Set the skip flag for this line.
setSourceLine(Line) - Method in class misim.asm.AsmLine
 
setState(int) - Method in class misim.Processor
Set the processor state to a new value
setText(String) - Method in class misim.util.SimpleDialog
 
setText(String, int, int) - Method in class misim.util.GridPanel
 
Setting - class misim.util.Setting.
A Setting represents a name value pair that may be stored and read from a file by a SettingsController.
SETTING_CLOCK - Static variable in class misim.Processor
 
SETTING_EXPANDTABS - Static variable in class misim.editor.EditorPrefs
 
SETTING_FAST_LOOP - Static variable in class misim.Processor
 
SETTING_FONT - Static variable in class misim.editor.EditorPrefs
Setting names
SETTING_FONTSIZE - Static variable in class misim.editor.EditorPrefs
 
SETTING_INTERRUPT - Static variable in class misim.Processor
 
SETTING_RUN_TYPE - Static variable in class misim.Processor
 
SETTING_TABWIDTH - Static variable in class misim.editor.EditorPrefs
 
SETTING_UPPERCASE - Static variable in class misim.editor.EditorPrefs
 
Setting(String, String) - Constructor for class misim.util.Setting
Constructor.
SettingsController - class misim.util.SettingsController.
This class is intended to read and write settings generating SettingsGroups, containing individual settings.
SettingsController() - Constructor for class misim.util.SettingsController
Constructor to create an empty Settings object
SettingsController(BufferedReader, Vector) - Constructor for class misim.util.SettingsController
Constructor to create a Settings object and populate it with settings from the given file
SettingsGroup - class misim.util.SettingsGroup.
A SettingsGroup contains a named collection of settings
SettingsGroup(String) - Constructor for class misim.util.SettingsGroup
Constructor.
setTitle(String) - Method in class misim.editor.TextPanel
Set the title for this editor panel
setType(int) - Method in class misim.asm.Label
 
setUnary(boolean) - Method in class misim.asm.TokenOperator
Set whether this operator is unary or not.
setupGrid(int, int) - Method in class misim.util.PluginPanel
 
setupGridButtons(int, int) - Method in class misim.util.PluginPanel
 
setValue(int) - Method in class misim.Instruction
This method sets the data value of this instruction - that is, it decodes the binary form of the instruction into its possible components
setValue(int, Token) - Method in class misim.asm.Label
Set the numeric value for this label
setValue(String) - Method in class misim.util.Setting
Set the value for this setting
setValue(Token, int) - Method in class misim.asm.Context
Set the value of the given label in the smallest possible scope
setW(int) - Method in class misim.MachineState
Set a new value for the W register
showBreakpoints() - Method in class misim.BreakpointManager
Show the current set of breakpoints, by re-adding them to the view.
showDialog() - Method in class misim.util.SimpleDialog
 
showErrors(boolean) - Method in class misim.editor.TextPanel
Set whether errors should be shown or not
showPlugin(boolean) - Method in class misim.Plugin
This is called when the user wants the Plugin to display or hide itself.
showPlugin(boolean) - Method in class misim.plugins.BetterLed
This is called when the user wants the Plugin to display or hide itself.
showPlugin(boolean) - Method in class misim.plugins.SegmentPlugin
This is called when the user wants the Plugin to display or hide itself.
showPlugin(boolean) - Method in class misim.plugins.CapacitorDelay
 
showPlugin(boolean) - Method in class misim.plugins.TVFrame
This is called when the user wants the Plugin to display or hide itself.
showPlugin(boolean) - Method in class misim.plugins.MonitorPlugin
This is called when the user wants the Plugin to display or hide itself.
showPlugin(boolean) - Method in class misim.plugins.Lcd2Plugin
 
showPlugin(boolean) - Method in class misim.plugins.BreadBoard
 
showPlugin(boolean) - Method in class misim.plugins.LCDPlugin
This is called when the user wants the Plugin to display or hide itself.
showPlugin(boolean) - Method in class misim.plugins.MotorPlugin
 
showPlugin(boolean) - Method in class misim.plugins.LedArrayPlugin
This is called when the user wants the Plugin to display or hide itself.
showPlugin(boolean) - Method in class misim.plugins.Switch5Plugin
 
showPlugin(boolean) - Method in class misim.plugins.KeyPlugin
 
showPlugin(boolean) - Method in class misim.plugins.SwitchPlugin
This is called when the user wants the Plugin to display or hide itself.
showPlugin(boolean) - Method in class misim.plugins.LedPlugin
This is called when the user wants the Plugin to display or hide itself.
simple - Variable in class misim.Register
If this is set to false, handleUpdate is called by the emulator whenever the register value may have changed
SimpleDialog - class misim.util.SimpleDialog.
 
SimpleDialog(Frame, String, int) - Constructor for class misim.util.SimpleDialog
 
sleep - Variable in class misim.MachineState
The Sleep flag
stack - Variable in class misim.MachineState
The call stack
stackPtr - Variable in class misim.MachineState
The Stack Pointer
startThread() - Method in class misim.Processor
Start the processor running in a separate thread.
STATE_CLEAR - Static variable in class misim.Processor
 
STATE_HALTED - Static variable in class misim.Processor
 
STATE_LOADED - Static variable in class misim.Processor
 
STATE_RUNNING - Static variable in class misim.Processor
 
STATE_STOPPED - Static variable in class misim.Processor
 
Status - Static variable in class misim.Regs
The status register (address 0x03)
STATUS_ASM_FILE - Static variable in class misim.util.Txt
 
STATUS_ASSEMBLED - Static variable in class misim.util.Txt
 
STATUS_ASSEMBLING - Static variable in class misim.util.Txt
 
STATUS_LOADED_BIN - Static variable in class misim.util.Txt
 
STATUS_LOADED_SRC - Static variable in class misim.util.Txt
 
STATUS_LOADING - Static variable in class misim.util.Txt
 
STATUS_READY - Static variable in class misim.util.Txt
 
STATUS_RUNNING - Static variable in class misim.util.Txt
 
STATUS_SAVED - Static variable in class misim.util.Txt
 
STATUS_SAVING - Static variable in class misim.util.Txt
 
STATUS_STEPPED - Static variable in class misim.util.Txt
 
stepOver - Variable in class misim.Instruction
 
stepPic() - Method in class misim.Processor
Single step the processor, executing a single instruction.
stop() - Method in class misim.MiSimDE
 
stopThread() - Method in class misim.Processor
 
stringValue() - Method in class misim.asm.TokenString
Return the String value of this token
Switch5Plugin - class misim.plugins.Switch5Plugin.
 
Switch5Plugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.Switch5Plugin
 
SwitchPlugin - class misim.plugins.SwitchPlugin.
The Switch Plugin emulates a switch (toggle or momentary) connected to a port bit of the microcontroller.
SwitchPlugin(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.SwitchPlugin
Constructor for the plugin.

T

t0ieBit - Static variable in class misim.microchip.PIC84_Intcon
 
t0ifBit - Static variable in class misim.microchip.PIC84_Intcon
 
tabPixelWidth - Variable in class misim.editor.EditorPrefs
The number of spaces that represent a tab character
tabWidth - Variable in class misim.editor.EditorPrefs
The number of spaces that represent a tab character
target - Variable in class misim.editor.Node
 
text - Variable in class misim.editor.Token
The text value of this token
TEXT_ADDED - Static variable in class misim.editor.Undoable
 
TEXT_DELETED - Static variable in class misim.editor.Undoable
 
TEXT_REMOVED - Static variable in class misim.editor.Undoable
 
TextFile - class misim.editor.TextFile.
 
TextFile(String, boolean) - Constructor for class misim.editor.TextFile
Constructor - create a new file
TextFile(String, String, boolean) - Constructor for class misim.editor.TextFile
 
TextPanel - class misim.editor.TextPanel.
The text panel implements an uneditable display of text from a file.
TextPanel(TextFile, EditorPrefs, LogListener) - Constructor for class misim.editor.TextPanel
Note that the creator must not use the loglistener to notify error events, as this text panel may be the view onto the log itself.
textValueChanged(TextEvent) - Method in class misim.ViewPanel
Respond to a change in the flagValue text field Parse this and the flag number text field and see if the value is the same as the given flag.
textValueChanged(TextEvent) - Method in class misim.plugins.CapacitorDelay
 
TITLE_LOAD_BIN - Static variable in class misim.util.Txt
 
TITLE_LOAD_SRC - Static variable in class misim.util.Txt
 
TITLE_PREF - Static variable in class misim.util.Txt
 
TITLE_SAVE - Static variable in class misim.util.Txt
 
TITLE_SAVE_BIN - Static variable in class misim.util.Txt
 
TITLE_SAVE_LIST - Static variable in class misim.util.Txt
 
Tmr0 - Static variable in class misim.Regs
The timer register (address 0x01)
tmrCounter - Variable in class misim.microchip.PIC84_Intcon
 
tmrPrescaler - Variable in class misim.microchip.PIC84_Option
 
tmrWriteDelay - Variable in class misim.microchip.PIC84_Tmr0
 
toBit - Static variable in class misim.microchip.PIC84_Status
 
Token - class misim.editor.Token.
A Token represents a section of text in a file.
Token() - Constructor for class misim.editor.Token
 
Token(String, EditorPrefs) - Constructor for class misim.editor.Token
 
TokenAlias - class misim.asm.TokenAlias.
 
TokenAlias(String, int, EditorPrefs) - Constructor for class misim.asm.TokenAlias
 
TokenColon - class misim.asm.TokenColon.
 
TokenColon(String, EditorPrefs) - Constructor for class misim.asm.TokenColon
 
TokenComma - class misim.asm.TokenComma.
 
TokenComma(String, EditorPrefs) - Constructor for class misim.asm.TokenComma
 
TokenCommand - class misim.asm.TokenCommand.
 
TokenCommand(String, int, EditorPrefs) - Constructor for class misim.asm.TokenCommand
 
TokenComment - class misim.asm.TokenComment.
 
TokenComment(String, EditorPrefs) - Constructor for class misim.asm.TokenComment
 
tokenIndex - Variable in class misim.editor.Line
The index for the TokenIterator interface
TokenInstruction - class misim.asm.TokenInstruction.
 
TokenInstruction(String, Instruction, EditorPrefs) - Constructor for class misim.asm.TokenInstruction
 
TokenIterator - interface misim.editor.TokenIterator.
The TokenIterator interface provides a way to request tokens in sequence from a file or line.
TokenListing - class misim.asm.TokenListing.
 
TokenListing(String, EditorPrefs) - Constructor for class misim.asm.TokenListing
 
TokenNumber - class misim.asm.TokenNumber.
 
TokenNumber(String, EditorPrefs) - Constructor for class misim.asm.TokenNumber
 
TokenOperator - class misim.asm.TokenOperator.
 
TokenOperator(String, int, EditorPrefs) - Constructor for class misim.asm.TokenOperator
 
tokens - Variable in class misim.editor.Line
The vector of tokens that this line contains
TokenString - class misim.asm.TokenString.
 
TokenString(String, EditorPrefs) - Constructor for class misim.asm.TokenString
 
TokenWhitespace - class misim.editor.TokenWhitespace.
 
TokenWhitespace(String, EditorPrefs) - Constructor for class misim.editor.TokenWhitespace
 
toString() - Method in class misim.MiSimException
Return a String that describes the MiSimException.
toString() - Method in class misim.Register
Return the value of this register as a hex string
toString() - Method in class misim.Instruction
The returns the disassembled version of the instruction
toString() - Method in class misim.microchip.PIC84_Status
 
toString() - Method in class misim.editor.EditorException
 
TrisA - Static variable in class misim.microchip.PIC16X84
 
TrisB - Static variable in class misim.microchip.PIC16X84
 
trisBankOffset - Variable in class misim.MachineState
The offset of the tris register bank, used by tris instructions
turnToCard(String) - Method in class misim.MiSimDE
Turn the card layout to the given card, and indicate the current card by changing the colour of the buttons that run along the top of the cards as 'tabs'
TVCanvas - class misim.plugins.TVCanvas.
The TVCanvas class is used by the TVFrame plugin to display a video signal generated in software by a microcontroller.
TVCanvas(Component, MachineState) - Constructor for class misim.plugins.TVCanvas
 
TVFrame - class misim.plugins.TVFrame.
The TVFrame Plugin emulates a video display connected to the microcontroller.
TVFrame(Component, MachineState, RobustReaderIF, String) - Constructor for class misim.plugins.TVFrame
Constructor for the plugin.
Txt - class misim.util.Txt.
Machine generated class, supplies all text displayed by the application and supports internationalisation.
Txt() - Constructor for class misim.util.Txt
 
TxtBaseClass - class misim.util.TxtBaseClass.
The TxtBaseClass provides core functionality for the Txt class.
TxtBaseClass() - Constructor for class misim.util.TxtBaseClass
 
TxtParser - class misim.util.TxtParser.
TxtParser generates the Txt.java internationalisation class from a message file.
TxtParser() - Constructor for class misim.util.TxtParser
Constructor, which simply initialises the global message and identifier Vectors.
type - Variable in class misim.Instruction
 
TYPE_ALIAS - Static variable in class misim.editor.Token
 
TYPE_COLON - Static variable in class misim.editor.Token
 
TYPE_COMMA - Static variable in class misim.editor.Token
 
TYPE_COMMAND - Static variable in class misim.editor.Token
 
TYPE_COMMENT - Static variable in class misim.editor.Token
 
TYPE_INSTRUCTION - Static variable in class misim.editor.Token
 
TYPE_LISTING - Static variable in class misim.editor.Token
 
TYPE_NUMBER - Static variable in class misim.editor.Token
 
TYPE_OPERATOR - Static variable in class misim.editor.Token
 
TYPE_STRING - Static variable in class misim.editor.Token
 
TYPE_TOKEN - Static variable in class misim.editor.Token
Constants for the token types
TYPE_WHITESPACE - Static variable in class misim.editor.Token
 

U

undefine() - Method in class misim.asm.Label
 
undefineVariables() - Method in class misim.asm.Context
Undefine variables in preparation for the second assembly pass, as their value is not global
undo(CursorPos) - Method in class misim.editor.Undoable
 
undo(Undoable, CursorPos) - Method in class misim.editor.Line
 
undo(Undoable, CursorPos) - Method in class misim.editor.TextFile
Undo a change made to the file
undo(Undoable, CursorPos) - Method in interface misim.editor.UndoIF
 
Undoable - class misim.editor.Undoable.
The undoable class is used to store editor events that may subsequently be undone.
Undoable(UndoIF, int, int, Object, int, int) - Constructor for class misim.editor.Undoable
 
UndoIF - interface misim.editor.UndoIF.
 
updateBreakpoint(boolean, boolean) - Method in class misim.BreakpointManager
Add or remove a breakpoint at a given address.
updateButtons() - Method in class misim.ViewPanel
Pass the request to update menu buttons on to the breakpoint manager
updateButtons() - Method in class misim.BreakpointManager
 
updateConfig(String) - Method in class misim.plugins.Lcd2Plugin
 
updateConfig(String) - Method in class misim.plugins.KeyPlugin
 
updatedOnDisk() - Method in class misim.editor.TextFile
Check to see if the file has been updated on disk since the last time it was read.
updateLcd(int) - Method in class misim.plugins.Lcd2Plugin
 
updateMonitor() - Method in class misim.plugins.MonitorPlugin
Update the monitor view
updateMonitor() - Method in class misim.plugins.BreadBoard
 
updatePic() - Method in class misim.plugins.SwitchPlugin
 
updateScrollbars() - Method in class misim.editor.TextPanel
Update the scrollbars to reflect the current file size and the position of the view on that file.
updateSetting(Setting) - Method in class misim.util.SettingsGroup
Update the first setting that matches this setting by name in this group.
uppercaseCommands - Variable in class misim.editor.EditorPrefs
Flag to indicate if commands should be displayed as uppercase
USER_ACK - Static variable in class misim.util.SimpleDialog
 
USER_CHOICE - Static variable in class misim.util.SimpleDialog
 
USER_CONFIRM - Static variable in class misim.util.SimpleDialog
 
USER_INPUT - Static variable in class misim.util.SimpleDialog
 
USER_THREE - Static variable in class misim.util.SimpleDialog
 
Util - class misim.Util.
Static utility class for formating strings.
Util() - Constructor for class misim.Util
 

V

val - Variable in class misim.Register
The value of this register
validateAddress(int) - Method in class misim.Processor
Validate that the given address has been initialised correctly.
validReg(int) - Method in class misim.MachineState
Check to see if this register is implemented
Version - class misim.Version.
Machine managed class that provides version and build information in various formats for miSim to read and display.
Version() - Constructor for class misim.Version
 
VIEW_ADDRESS - Static variable in class misim.util.Txt
 
VIEW_GONE - Static variable in class misim.util.Txt
 
VIEW_PC - Static variable in class misim.util.Txt
 
VIEW_STATUS - Static variable in class misim.util.Txt
 
VIEW_W - Static variable in class misim.util.Txt
 
ViewPanel - class misim.ViewPanel.
The ViewPanel displays the contents of the Processor, as a listing either generated during assembly of a file, or by disassembling a pre-compiled binary.
ViewPanel(Processor, EditorPrefs, boolean, LogListener, Color) - Constructor for class misim.ViewPanel
Constructor.

W

w - Variable in class misim.MachineState
The W register
WARN_ADDRESS_PAGE - Static variable in class misim.util.Txt
 
WARN_DATA_VALUE - Static variable in class misim.util.Txt
 
WARN_DESTINATION_F - Static variable in class misim.util.Txt
 
WARN_FLAG_VALUE - Static variable in class misim.util.Txt
 
WARN_LITERAL_VALUE - Static variable in class misim.util.Txt
 
WARN_PROCESSOR - Static variable in class misim.util.Txt
 
WARN_TRIS_VALUE - Static variable in class misim.util.Txt
 
warningCount() - Method in class misim.editor.Line
Return the number of warnings for this line
wasCancelled() - Method in class misim.util.SimpleDialog
 
wasNo() - Method in class misim.util.SimpleDialog
 
wdPrescaler - Variable in class misim.microchip.PIC84_Option
 
wdTimer - Variable in class misim.MachineState
The watchdog timer value
wordString(int) - Static method in class misim.Util
Return the given value as a four character hex string
writeData(int, int) - Method in class misim.Processor
Write byte data to the chip.
writeFile(String) - Method in class misim.util.TxtParser
Generate the Java source file for Txt.java, containing the get() method, and all of the message identifiers and values.
writeInstruction(int, Instruction) - Method in class misim.Processor
Write an instruction to the given address in this processor.
writePort(int, int) - Method in class misim.Port
Set the data applied to this port according to the given mask and input.
writeToPort(Port, String, int) - Method in class misim.PortMapper
Write the given data to this port, mapping only the supplied bits.

X

x - Variable in class misim.editor.CursorPos
The pixel column for the cursor.

Z

zeroBit - Static variable in class misim.MachineState
The value of teh zero flag bit in the status register
zeroBit - Static variable in class misim.Instruction
 

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