CHAPTER 13 S1C88 FAMILY DEBUGGER
156
EPSON
S5U1C88000C MANUAL II
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
13.9.7 Break
bp
(software breakpoint set)
Function
This command sets or clears software breakpoints at addresses where program execution is halted.
When a program fetches an instruction at any valid software breakpoint that has been set in a 1 MB
active break area, a break occurs immediately before that instruction is executed.
Format
>bp [<option>] <address>
↵
(direct input mode)
<option>:
Specify to clear, enable or disable breakpoints
- Clear breakpoint
+ Enable breakpoint (default)
_ Disable breakpoint
<address>: Break address; hexadecimal or symbol (IEEE-695 format only)
Condition:
0
≤
address
≤
last program memory address (0x7fffff)
Examples
>bp 200
↵
... Sets address 0x200 as a breakpoint.
>bp _ 200
↵
... Disables the breakpoint at address 0x200.
>bp - 200
↵
... Clears the breakpoint at address 0x200.
Notes
• If any address outside the 1 MB active break area set as the debugger's operating environment is
specified, no breaks can occur at that address, although the address is registered as an invalid
breakpoint. The 8 MB of code space is divided into eight 1 MB active break areas, one of which can be
selected as a break option (by using [Break | Setting...]). At debugger startup, a 1 MB area from 0x0 to
0x0fffff is automatically selected as the active break area.
• Up to a total of 64 breakpoints can be set. Any attempt to exceed this limit prompts a warning.
• The addresses must be specified within the range of the program memory area available for each
microcomputer model.
An error results if the limit is exceeded or the input one is not a hexadecimal number or a valid
symbol.
• Any attempt to set an address again that has already been set as a breakpoint will prompt a warning.
• Any attempt to clear an address where no breakpoints are set will result in an error being assumed.
• For a breakpoint, specify the start address of an instruction at which you want the program to break.
If an intermediate address of that instruction is specified, no breaks can occur.
• No breakpoints can be set individually in a software break area set by the bpa command (because all
addresses in that area already have breakpoints set). Any attempt to set a breakpoint at any address in
that area will result in an error being assumed.
• When a program or parameter file is loaded, the contents of all breaks set are cleared.