/[avr-libc]/avr-libc/doc/api/assembler.dox
ViewVC logotype

Diff of /avr-libc/doc/api/assembler.dox

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by joerg_wunsch, Sun Aug 14 21:44:54 2005 UTC revision 1.8 by joerg_wunsch, Fri Nov 4 22:55:15 2005 UTC
# Line 1  Line 1 
1  /* Copyright (c) 2002,2004, Joerg Wunsch  /* Copyright (c) 2002,2004,2005 Joerg Wunsch
2     All rights reserved.     All rights reserved.
3    
4     Redistribution and use in source and binary forms, with or without     Redistribution and use in source and binary forms, with or without
# Line 113  main: Line 113  main:
113  1:  1:
114          rjmp    1b                              ; Note [6]          rjmp    1b                              ; Note [6]
115    
116          .global SIG_OVERFLOW0                   ; Note [7]          .global TIMER0_OVF_vect                 ; Note [7]
117  SIG_OVERFLOW0:  TIMER0_OVF_vect:
118          ldi     inttmp, 256 - tmconst + fuzz          ldi     inttmp, 256 - tmconst + fuzz
119          out     _SFR_IO_ADDR(TCNT0), inttmp     ; Note [8]          out     _SFR_IO_ADDR(TCNT0), inttmp     ; Note [8]
120    
# Line 254  interrupt sevice needs to be saved, usua Line 254  interrupt sevice needs to be saved, usua
254    
255  \par Note [10]  \par Note [10]
256    
257  As explained in \ref avr_interrupts "Interrupts and Signals", a global "catch-all" interrupt  As explained in \ref avr_interrupts "Interrupts", a global "catch-all" interrupt
258  handler that gets all unassigned interrupt vectors can be installed  handler that gets all unassigned interrupt vectors can be installed
259  using the name \c __vector_default.  This must be \c .global, and  using the name \c __vector_default.  This must be \c .global, and
260  obviously, should end in a \c reti instruction.  (By default, a jump  obviously, should end in a \c reti instruction.  (By default, a jump

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26