OPERATING INSTRUCTIONS
4-28
M68HC11EVB/D
STOPAT
Stop at Address
4.6.16 Stop at Address
STOPAT <address>
where:
<address>
The specified user program counter (PC) stop address.
The STOPAT command causes a user program to be executed one instruction at time until the
specified address is encountered. Execution begins with the current user PC address and stop just
before execution of the instruction at the specified stop address. The STOPAT command should
only be used when the current value of the user PC register is known. For example after a
breakpoint is reached or after an RD command is used to set the user PC.
The STOPAT command has an advantage over breakpoints in that a stop address can be a ROM
location while breakpoints only operate in RAM or EEPROM locations. Since the STOPAT
command traces one instruction at a time with a hidden return to the monitor after each user
instruction, some user programs will appear to execute slowly.
The stop address specified in the STOPAT command must be the address of an opcode just as
breakpoints can only be set at opcode addresses.
NOTE
Refer to example program shown on page 4-15 for the following
STOPAT command example. The RD command was used prior to
this example to set the user PC register to $C000.
EXAMPLE
DESCRIPTION
>STOPAT 0108<CR>
Execute example program until $0108 is reached.
P-0108 Y-DEFE X-F4FF A-04 B-FE C-90 S-0047
>
Содержание M68HC11EVB
Страница 9: ...CONTENTS x M68HC11EVB D ...
Страница 35: ...MONITOR PROGRAM 3 8 M68HC11EVB D ...
Страница 81: ...OPERATING INSTRUCTIONS 4 46 M68HC11EVB D ...
Страница 97: ...SUPPORT INFORMATION 6 12 M68HC11EVB D Figure 6 3 EVB Schematic Diagram Sheet 2 of 2 ...
Страница 103: ...APPLICATIONS B 2 M68HC11EVB D Figure B 1 Single Chip Mode Configuration ...