Renesas M3T-MR100 Uživatelský manuál Strana 231

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 304
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 230
- 217 -
1. At the beginning of file, be sure to include "mr100.inc" which is in the system directory.
2. For the symbol indicating the handler start address, make the external declaration.
51
3. Always use the RTS instruction (subroutine return instruction) to return from cyclic han-
dlers and alarm handlers.
For examples:
.INCLUDE mr100.inc ----- (1)
.GLB cychand ----- (2)
cychand:
:
; handler process
:
rts ----- (3)
Figure 7.10 Example Handler Written in Assembly Language
51
Use the .GLB pseudo-directive.
Zobrazit stránku 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 303 304

Komentáře k této Příručce

Žádné komentáře