Download SH7060 E8000 Emulator HS7060EDD81H User`s Manual

Transcript
PC Value (BREAK_CONDITION_UBC1 to 4): A break occurs when the SH7060 program
counter (PC) value satisfies the specified condition. The break timing depends on the ;P option
setting as follows:
• PC value without option ;P (PC=1000): Break after execution
A break occurs after the instruction at the specified address is executed.
• PC value followed by option ;P (PC=1000;P): Break before execution
A break occurs before the instruction at the specified address is executed.
Break after execution
User program
Break
condition
is satisfied
1000
1002
1004
MOV
ADD
ADD
#0,R0
#1,R0
#1,R0
• Break condition: Break occurs after the
instruction at address H'1004
is executed
• Specification: PC = 1004
• At break: R0 = 2
Break before execution
• Break condition: Break occurs before the
instruction at address H'1004
is executed
• Specification: PC = 1004;P
• At break: R0 =1
Figure 1.11 Break with PC Value Specification
Rev. 0.1, 08/00, page 148 of 450