User guide
140 CHAPTER 7. THE DEBUGGER
* ?
? Print list of debug commands
Gn Pn Rn Vn Variables
G P R V Pointers
n #b101 #o377 #x7FF ’c Constants
*e /e %e +e -e |e &e ^e Dyadic operators
!e Subscription
< > Shift left/right one place
SGn SPn SRn SVn Store in variable
= Print current value
Tn Print n consecutive locations
$c Set print style C, D, F, B, O, S, U or X
LL LH Set Low and High store limits
I Print current instruction
N Print next instruction
Q Quit
B 0Bn eBn List, Unset or Set breakpoints
C Continue execution
X Equivalent to G4B9C
Z Equivalent to P1B9C
\ Execute one instruction
, Move down one stack frame
. Move to current coroutine
; Move to parent coroutine
[ Move to first coroutine
] Move to next coroutine
*
The debugger has a current value that can be loaded, mo di fie d and displayed. For
example:
* 12 Set t he current value to 12
* -2 Subtract 2
* *3 Multiply by 3
* = 30 Display the current value
* < Shift left one place
* = 60 Display the current value
* 12 -2 *3 < = 60 Do it all on one line
*
Four areas of memory, namely: the global vector, the current stack frame, the Cint-
code register, and 10 scratch vari ables are easily accessed using the letters G, P, R, V,
respectively.