beautypg.com

Figure 15. break control dialog, Figure 16. break before timing diagram, Break before (after) – Zilog Z51F0811 User Manual

Page 26: Break before execution, Break after execution

background image

UM024002-0512

The Z8051 On-Chip Debugger

Z8051 On-Chip Debugger and In-System Programmer

User Manual

18

Break BEFORE (AFTER)

The Break BEFORE (AFTER) function prompts the user to select a PC breakpoint event
either before or after execution. When selecting this menu option, the Break Control dia-
log box appears, prompting the user to choose one of these two conditions; see Figure 15.

Selecting

Break before execution

causes a PC breakpoint when the PC reaches the PC

breakpoint address; however, a PC breakpoint position will not be executed, as illustrated
in the timing diagram shown in Figure 16.

Selecting

break after execution

causes a PC breakpoint to occur when the PC reaches the

PC breakpoint address, and a PC breakpoint position is executed, as illustrated in the tim-
ing diagram shown in Figure 17.

Figure 15. Break Control Dialog

Figure 16. Break BEFORE Timing Diagram

PC

Break
PC

PC+1 PC+2 PC+3

Fetch
signal

명령

operand

명령

operan
d

Break
detect

Handl
e

This manual is related to the following products: