Break; Bp (Break Point Set) - Epson S5U1C62000A Manual

Epson cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

9.9.8 Break

bp
(break point set)
Function
This command sets or clears breakpoints using a program's execution address or address ranges.
Format
(1) >bp <break1> [<break2> [<break3> [<break4>]]]
(2) >bp
PC break set status
1. set
2. clear 3. clear all
.......... (guidance depends on the above selection, see examples)
>
<break1–4>:
Break address or address area; hexadecimal or symbol (IEEE-695 format only)
Condition:
0
Examples
Format (1)
>bp 100 200..300
Format (2)
(Set)
>bp
PC break: None.
1. set
2. clear
Set new PC break
Set new PC break
Set new PC break
(Clear)
>bp
0: 0100
1: 0200..0300
1. set
2. clear
Clear PC break : 150..250
Clear PC break :
(Clear all)
>bp
0 : 0100
1 : 0251..0300
1. set
2. clear
>bp
PC break: None.
1. set
2. clear
>
Notes
• All PC breaks are cleared by executing the bm command.
• The addresses must be specified within the range of the program memory area available for each
microcomputer model.
An error results if the input one is not a hexadecimal number or a valid symbol.
Error : invalid value.
An error results if the limit is exceeded.
Error : Program address out of range.
• The consecutive address area is set by entering as "<start address>..<end address>". An error results if
the start address is larger than the end address.
Error : end address < start address.
• When clearing PC break points, the specified addresses or areas that have not been set as PC
breakpoints are ignored. The break points within the specified area are cleared.
S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
... ? <1 | 2 | 3>
address
last program memory address
... Sets PC break points at address 0x100 and the area from 0x200 to 0x300.
* The direct input mode cannot clear the set break points.
3. clear all ... ? 1
? : 100
? : 200..300
? :
3. clear all ... ? 2
3. clear all ... ? 3
3. clear all ... ?
(direct input mode)
(guidance mode)
... "1. set" is selected.
... Address 0x100 is set as a breakpoint.
... Area 0x200–0x300 is set as a break area.
... Terminated by [Enter] key.
... "2. clear" is selected.
... Break area 0x150(0x200)–0x250 is cleared.
... Terminated by [Enter] key.
... "3. clear all" is selected.
... Terminated by [Enter] key.
EPSON
CHAPTER 9: DEBUGGER
175

Advertisement

Table of Contents
loading

Table of Contents