Remote Processing CAMBASIC User Manual

Page 185

Advertising
background image

Program debugging - 2

50 NEXT
60 TROFF
70 END
80 S = 0
90 INC H
100 RETURN

RUN

.30..40..90..100..50..40..90..100..50..40..90..100..50..60.

USING MON TO EXAMINE MEMORY

When sto ring data in to mem ory, it is sometim es necessar y to verify th at a block is cor rect. You can d isplay 128 bytes at a
time with the MON "D" command.

The syntax is:

M O N > D address [segmen t]

where address is the starting address in hexadecimal. The command will display 8 lines of 16 bytes. The optional
segment parameter can be used to view memory segments above segment 0. The segment is entered in hexadecim al.

The program will pause at the end of each display. Pr essing the space bar will cause another block to be displayed.
Pressing < ENT ER> returns you to the Immediate Mode. Pressing < ESC> during the listing will abort the display.

Advertising