Renesas M34502T-MCU Computer Hardware User Manual


 
( 30 / 38 )
(2) Skip instructions (e.g. SNZP, INY, DEY, SZB, SEAM, SZC and RTS instructions)
When a skip instruction skips the next instruction, a breakpoint set in the skipped instruction does
not break. (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.
Program example 5.6