Stop At Address - Motorola M68HC11EVBU User Manual

Universal evaluation board
Hide thumbs Also See for M68HC11EVBU:
Table of Contents

Advertisement

STOPAT

4.6.15 Stop at Address

STOPAT <address>
where:
<address>
The STOPAT command causes a user program to be executed one instruction at at time until the
specified address is encountered. Execution begins with the current user PC address and stops
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. (e.g., 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.
Refer to example program shown on page 4-16 for the following
STOPAT command example. The RD command was used prior to
this example to set the user PC register to $0100.
Example:
>STOPAT 0108<CR>
P-0108 Y-DEFE X-F4FF A-44 B-FE C-90 S-0047
>
M68HC11EVBU/D
The specified user program counter (PC) stop address.
Execute example program until $0108 is reached.
NOTE
OPERATING INSTRUCTIONS
Stop at Address
4-29

Advertisement

Table of Contents
loading

This manual is also suitable for:

M68hc11evbdM68hc11evbu/d

Table of Contents