Renesas M16C/6NN Manuel d'utilisateur Page 22

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 37
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 21
E8a Emulator Section 6 Notes on Using the E8a Emulator
18. Exceptional step execution
a) Software interrupt instruction
Step execution cannot be performed in the internal processing of instructions (undefined, overflow, BRK and
INT) which generate a software interrupt continuously in the program.
Example: INT instruction
b) INT instruction
To debug the user program with the INT instruction, set a PC break for the internal processing of the INT
instruction and execute the program with the GO command.
Example:
19. “Go to cursor” function
The “Go to cursor” function is actualized using an address match break. Therefore, when you execute the “Go to
cursor” command, all the address match breaks you set become invalid, while all the PC breaks remain valid.
20. Note on PC break point
When downloading a user program after modifying it, the set address of PC break may not be corrected normally
depending on the modification. Therefore, break points other than the set PC breaks may shift. After downloading
a user program, check the setting of PC breaks in the event point window and reset it. If a low-speed clock such as
the sub clock is used as the operation clock of the MCU, setting or canceling PC breaks may take time. Use address
match breaks as the first choice.
REJ10J1640-0400
Rev.4.00 Page 19 of 31
NOP
NOP
INT #3
NOP
JMP MAIN
INT_3:
NOP
NOP
NOP
REIT
Program should be stopped at this address.
Passes through if the STEP execution is carried out.
NOP
INT #3
NOP
JMP MAIN
INT_3:
N
OP Break
N
OP
REIT
Execute using GO command.
Apr 30, 2010
Vue de la page 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 36 37

Commentaires sur ces manuels

Pas de commentaire