beautypg.com

Renesas MCU Board for 4513/4514 Group MCUs M34514T-MCU User Manual

Page 35

background image

( 35 / 42 )

Program example 5.6

(2) Skip instructions (e.g. SNZP, INY, DEY, SZB, SEAM, SZC and RTS)

When a skip instruction skips the next instruction, a breakpoint set in the skipped instruction does
not cause execution to halt. (See Program examples 5.5 and 5.6)

Program example 5.5

RC

SC

SZC

SZC

POINT:

TABP

POINT:

TABP

POINTA:

TAM

0

POINTA:

TAM 0

A breakpoint set at address POINT causes execution to halt immediately before address

POINTA in only the case of the instruction shown on the right side.

RC

; Skip instructions

INY

POINT:

TABP

LA

0

If a break with pass count is set at address POINT, the count is taken and execution is

halted only when the instruction at address POINT is executed.