Program Execution (G, Gb) - Renesas MCU Board for 4513/4514 Group MCUs M34514T-MCU User Manual

Mcu board for 4513/4514 group mcus
Table of Contents

Advertisement

5.9 Program Execution (G, GB)

The PC4504 and M34514T-MCU's hardware are subject to the following restrictions with respect
to the operation of the program execution commands (G and GB).
(1) Continuous description of instructions
Program example 5.3
If a break is set at POINT, execution is halted immediately before the XAM instruction at
address POINT+2.
Program example 5.4
POINT:
POINT+1:
POINT+2:
If a forced or external trigger break is applied at POINT, execution is halted at POINT +1.
When resuming program execution after the break, make sure that the start address is at
POINT+2, an address immediately after the continuous description of instructions is
discontinued.
Hardware breakpoints set in a continuous description of instructions following one after another
do not cause a break to occur in the continuous description of instructions. A break occurs only
after fetching the address where the continuous description of instructions is discontinued. (See
Program example 5.3)
However, a break does occur even in a continuous description of instructions when an external
trigger break or forced break is encountered. For execution to be resumed in this case, you need
to make sure that the execution start address is next to the continuous description of instructions.
(See Program example 5.4)
LA
POINT:
LA
LA
POINT+2:
XAM
LA
LA
LA
XAM
0
1
; Continuous description of instructions
2
3
0
1
; Continuous description of instructions
2
3
( 34 / 42 )

Advertisement

Table of Contents
loading

Table of Contents