: help-breakpoints ( -- )
." bc ( bpid -- ) Clear breakpoint." cr
." bd ( bpid -- ) Disable breakpoint." cr
." be ( bpid -- ) Enable breakpoint." cr
." bl ( -- ) List breakpoints." cr
." bp ( addr -- ) Set a breakpoint." cr
." tc ( bpid -- ) Clear trap break." cr
." tl ( -- ) List trap breaks." cr
." tb ( addr -- ) Set a trap break." cr ;
: help-execution ( -- )
." go ( -- ) Resume execution." cr
." next ( -- ) Step to the next instruction, over branches." cr
." over ( -- ) Step to the next instruction, over branches (corrected version)." cr
." nospy ( -- ) Remove any installed step-spy." cr
." out ( -- ) Step out of the current routine." cr
." spy ( addr value -- ) Install a step-spy for *addr == value." cr
." step ( -- ) Step to the next instruction, into branches." cr
." to ( addr -- ) Run to the specified address." cr
." wait ( -- ) Wait for something to happen." cr ;
: help-memory ( -- )
." @byte ( addr -- n ) Fetch the 8-bit value at address." cr
." @word ( addr -- n ) Fetch the 16-bit value at address." cr
." @long ( addr -- n ) Fetch the 32-bit value at address." cr
." !byte ( byte addr -- n ) Store the 8-bit value to address." cr
." !word ( word addr -- n ) Store the 16-bit value to address." cr
." !long ( long addr -- n ) Store the 32-bit value to address." cr
." da ( addr count -- ) Dump ASCII." cr
." db ( addr count -- ) Dump bytes." cr
." dd ( addr count -- ) Dump double-words (longs)." cr
." dw ( addr count -- ) Dump words." cr
." dis ( addr count -- ) Disassemble." cr ;