Renesas MCU Board for PC4400 Emulator System M34282T5-OPT Informations techniques Page 28

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 40
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 27
( 26 / 38 )
(2) Skip instructions (e.g. SNZP, INY, DEY, SZB, SEAM, SZC and RTS)
In cases when a skip instruction skips the next instruction, a break point set in the skipped
instruction does not cause execution to halt. (See Program examples 5.3 and 5.4)
Program example 5.3
LXY 0,0
SZD
POINT: B jmp_adr ; Skip when D(0) = 0
POINT_A: TAM 0
If a break point is set at POINT,
D(0) = 0: Execution is halted immediately before the instruction at POINT.
D(0) = 1: Execution is NOT halted because the instruction at POINT is skipped.
To halt execution immediately after a skip instruction, set break points at POINT and POINT_A.
Program example 5.4
RC
INY
POINT: TABP ; Skip when (Y) = 0
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.
Vue de la page 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 39 40

Commentaires sur ces manuels

Pas de commentaire