Made the constant following the "interrupt" keyword optional. If omitted,
[fw/sdcc] / doc / sdccman.lyx
index caab861aa9a729d193f0df4fdcd56e3e281558f2..d92760d642b55d1a6178abb14fa9fbac7dd10435 100644 (file)
@@ -7394,7 +7394,7 @@ void timer_isr (void) interrupt 1 using 1
 }
 \layout Standard
 
-The number following the 
+The optional number following the 
 \emph on 
 interrupt
 \begin_inset LatexCommand \index{interrupt}
@@ -7404,8 +7404,8 @@ interrupt
 
 \emph default 
  keyword is the interrupt number this routine will service.
- The compiler will insert a call to this routine in the interrupt vector
- table for the interrupt number specified.
+ When present, the compiler will insert a call to this routine in the
interrupt vector table for the interrupt number specified.
  The 
 \emph on 
 using
@@ -11295,9 +11295,10 @@ will generate the following code:
 \SpecialChar ~
 \SpecialChar ~
  mov\SpecialChar ~
+\SpecialChar ~
  a,(_gint + 1) 
 \newline 
-000C 33\SpecialChar ~
+000C 23\SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
@@ -11323,39 +11324,12 @@ will generate the following code:
 \SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
- rlc\SpecialChar ~
- a 
-\newline 
-000D E4\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
+ rl\SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
-\SpecialChar ~
- 64\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
- clr\SpecialChar ~
  a 
 \newline 
-000E 13\SpecialChar ~
+000D 54 01\SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
@@ -11370,10 +11344,7 @@ will generate the following code:
 \SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
-\SpecialChar ~
- 65\SpecialChar ~
+ 64\SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
@@ -11381,8 +11352,8 @@ will generate the following code:
 \SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
rrc\SpecialChar ~
- a 
andl\SpecialChar ~
+ a,#0x01 
 \newline 
 000F F5*02\SpecialChar ~
 \SpecialChar ~
@@ -11399,7 +11370,7 @@ will generate the following code:
 \SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
- 66\SpecialChar ~
+ 65\SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
 \SpecialChar ~
@@ -11408,6 +11379,7 @@ will generate the following code:
 \SpecialChar ~
 \SpecialChar ~
  mov\SpecialChar ~
+\SpecialChar ~
  _foo_hob_1_1,a
 \layout Standard