For information about the generic components of the IAR C-SPY
Intel 8051 Simulator, refer to the Readme
file for IAR C-SPY Debugger
Examples on how to use the macro language to simulate different
peripherals, refer to Example of macro
file usage
The Load device description file, -p, option will load a text file into the CS8051. This description file can contain information about SFRs and interrupt simulation.
If SFR information is loaded with this description file, a SFR Window will be enabled. In this SFR Window you can set and group different SFRs. If no SFR information is provided, the SFR Window will be disabled.
If the interrupt information is provided with the description file, the interrupt system will be enabled. If interrupt information is missing, no interrupts can be simulated by the CS8051.
New session option '-d driverName' has been implemented for choosing a particular driver (simulator, ROM monitor etc.) if more than one is installed.
The way of passing session parameters has been modified, so that it is now possible to choose the C-SPY driver and processor options every time a new file is loaded.
Interrupt vector name
bit in SCON
-----------------------------------------
serial port ti
RI
0x23 ti
TI
0x0023 ti
TI
serial port ri
TI
0x23 ri
RI
0x0023 ri
RI
This is now changed to:
Interrupt vector name
bit in SCON
-----------------------------------------
serial port ti
TI
0x23 ti
TI
0x0023 ti
TI
serial port ri
RI
0x23 ri
RI
0x0023 ri
RI