RPL Debugging, Memory Test Panel
The Memory Test Panel monitors the value of memory
objects in the emulator. Only a single object can be monitored, but it may
be any number of nibbles in length. This could span multiple calculator
objects if the objects were next to each other.
To use the Memory Test Panel, enter an address in the first window (in this example FFFCF). A symbolic name may also be used instead of a numeric address. Type a value to check for at the given address. The value may have many hex nibbles. For each nibble given, one nibble of memory will be checked. The last panel is a mask for values. It will be ANDed with the memory value before any comparisons are made.
The three windows then are:
Mem EQ Check Box
If the Mem EQ check box is checked, a break occurs
when:
(memory AND mask) = value
If the Mem EQ check box is not checked, a break occurs when:
(memory AND mask) <> value
Memory Changed Break
A Memory Changed Break will occur when an RPL
instruction is performed and the memory matches the conditions above.
When this occurs, emulation will stop, the RPL Debugging Window will open and
a dialog box will appear.
Click OK in the dialog box, then after inspecting the RPL Debugging Window, click Continue to continue debugging the program. If the memory has not changed, another break will occur immediately so the Memory Test boxes should be cleared to allow execution to continue. The easiest way to do this may be to check or uncheck the Mem EQ check box.