User manual
Monitor12 (MON12) User Manual 05/30/01
12
MONITOR COMMAND DESCRIPTIONS
BF - BLOCK FILL MEMORY
BF <address1> <address2> <data>
where:
<address1> Lower limit for fill operation.
<address2> Upper limit for fill operation.
<data> Fill pattern hexadecimal value.
The BF command allows the user to repeat a specific byte throughout a memory
range. If an invalid address is specified, an invalid address message "rom-xxxx"
is displayed. (xxxx = invalid address).
EXAMPLES DESCRIPTION
>BF 0200 0230 FF Fill each byte of memory from 0200 through 0230 with
data pattern FF.
>BF 0200 0200 0 Set location 0200 to 0. (Use MM command also)
BR - BREAKPOINT SET or CLEAR
BR [-][<address>]...
where:
[<address>] by itself sets a breakpoint at this address.
[-] by itself removes (clears) all breakpoints.
[-] proceeding [<address.]... removes individual or multiple addresses
from breakpoint table.
The BR command sets the address into the breakpoint address table. During
program execution, a halt occurs to the program execution immediately preceding
the execution of any instruction address in the breakpoint table. A maximum of
four breakpoints may be set. After setting the breakpoint, the current
breakpoint addresses, if any, are displayed. Whenever the G, CALL, or P
commands are invoked, the monitor program inserts breakpoints into the user code
at the addresses specified in the breakpoint table.
Breakpoints are accomplished by the placement of a software interrupt (SWI) at
each address specified in the breakpoint address table. The SWI service routine
saves and displays the internal machine state, then restores the original
instructions at the breakpoint location before returning control back to the
monitor program.