8.4.2Debugging Through Simulation

Before the debugging, SysCall.DLL (for simulation) must be copied to the directory of Windows￿System. Since the same name, SysCall.DLL, is used for actual debugging and for simulation, please pay your attention not to make copy for wrong one. When you execute the sample program, window will appear on screen of IT-2000. It is monitoring window for the simulation.

Fig. 8.4

Under this condition the program simply waits for key input. The backlight is off. To confirm this condition use the monitor function of the simulator. In this condition press the "1" key. The sample program shown above is designed so that the backlight is turned on if it receives "1". The result is shown below. Now, the monitoring window indicates that the backlight is ON.

147

Page 147
Image 147
Casio IT-2000W manual Debugging Through Simulation