First page Back Continue Last page Overview Text

Notes:


The compiler listing generated for this example is shown starting below and continues onto the following page:

1 ; C Compiler for MC68HC12 [COSMIC Software]
2 ; Generator V4.5a - 29 Oct 2001
3 ; Optimizer V4.3r - 09 Oct 2001
4 xref _fact
31 ; 1 main()
31 ; 2 { fact(3);
32 switch .text
33 0000 _main:
39 0000 cc0003 ldd #3
40 0003 0701 jsr _fact
42 ; 3 }
45 0005 3d rts
75 ; 5 int fact (int n)
75 ; 6 { if (n==1) return 1;
76 switch .text