The MAXQ simulator target interface provides access to CrossStudio's MAXQ simulator. This target interface supports program loading and debugging.

###### Diagnostic property group

Jump Counting Enabled
  Enables simulator to count jump instructions.
Trace Buffer Size
  The number of instruction trace entries to keep.

###### Memory property group

Code Size
  The size (in bytes) of program memory.
Data Size
  The size (in bytes) of data memory.
Default Memory Value
  The default byte value that simulator memory is initialized to.
Utility ROM file
  The (macro expanded) name of the file containing the utility ROM code.

###### Peripherals property group

Enable Peripheral File
  Enables the Peripheral File property.
Interrupt poll interval
  The number of cycles that are executed between checks for an interrupt.
Multiplier
  Simulate a hardware multiplier.
Peripheral File
  The file containing the JavaScript peripheral simulation. This file is executed when the simulator is connected to. This file must contain JavaScript functions
  - reset() - this is called on reset and should reset all state.
  - pollForInterrupts(elapsedCycleCount) - this is called to check for interrupts. It is passed the elapsed number of cycles since the last time it was called. It should return -1 if no interrupt is outstanding or the interrupt number between 0 to 15 if an interrupt is outstanding.
  - loadPeripheral(address) - this is called when a memory read is made to a peripheral register and should return a value.
  - storePeripheral(address,value) - this is called when a memory write is made to a peripheral register together with the value that has been written.
  Please refer to the default peripheral simulation file contained in the targets/msp430peripherals.js for an example that simulates the hardware multiplier and some TimerA capabilities.