
9. C-PROGRAM MEMORY DISPLAY
AND DEBUG FUNCTION
B–61863E–1/06
APPLICATION
PROGRAMMING GUIDE
430
Use the below methods to confirm that a user-created C program operates
properly.
(1) Diagnose through external operation of the CRT display and signal
states.
(2) Diagnose using the task monitor functions (see Edition II, Section
4.4).
(3) Execute the program up to a particular point (break point), then
diagnose by checking internal data (program work area).
The debug function enables diagnosis using the method described in (3).
(1) Break points : Up to 4
(2) Dump data : Up to 8 locations
(3) Total size of dump data : Up to 256 bytes (up to 32 bytes each)
Press the [DEBUG] soft key to display the parameter screen for the debug
function. When a break (execution interrupt) occurs due to a break
condition, press the [D.DUMP] soft key on the parameter screen to
display the contents of the CPU registers and specified internal data.
Press the [D.PRM] soft key to return to the parameter screen from the
screen displaying this data.
After parameters have been set and a break is being awaited, ”DBG”
blinks on the lower right of the PMC screen. Also, each breakpoint (BP1
to BP4: displayed in reverse video) is displayed at the bottom of the
debug function screen. When a break condition is fulfilled and a break
occurs, ”BRK” blinks on the lower right of the PMC screen.
Soft keys correspond to functions as follows:
BRK.NOD.DUMP EXEC INIT
GDT USRMEM
RET
DEBUG
BRK.NOD.PRM
RET
9.3
DEBUG FUNCTION
9.3.1
Specifications
9.3.2
Screen Display and
Operations