C51 COMPILER V8.04   C_BANK0                                                               05/20/2006 16:10:31 PAGE 1   


C51 COMPILER V8.04, COMPILATION OF MODULE C_BANK0
OBJECT MODULE PLACED IN C_bank0.OBJ
COMPILER INVOKED BY: C:\keil\C51\BIN\C51.EXE C_bank0.c OMF2 BROWSE MOD517(NOAU) VARBANKING(1) DEBUG CODE

line level    source

   1          /*------------------------------------------------------------------------------
   2          C_BANK0.C
   3          
   4          Copyright 1995-2005 Keil Software, Inc.
   5          ------------------------------------------------------------------------------*/
   6          
   7          #include <stdio.h>
   8          
   9          extern void func2(void);
  10          
  11          unsigned long ul;
  12          
  13          void func0(void) {
  14   1        printf("FUNCTION IN BANK 0 CALLS A FUNCTION IN BANK 2 \n");
  15   1        func2 ();
  16   1      }
  17          
  18          void intrp0 (void)  interrupt 0  {
  19   1        ;
  20   1      }
  21          
C51 COMPILER V8.04   C_BANK0                                                               05/20/2006 16:10:31 PAGE 2   

ASSEMBLY LISTING OF GENERATED OBJECT CODE


             ; FUNCTION func0 (BEGIN)
                                           ; SOURCE LINE # 13
                                           ; SOURCE LINE # 14
0000 7BFF              MOV     R3,#0FFH
0002 7A00        R     MOV     R2,#HIGH ?SC_0
0004 7900        R     MOV     R1,#LOW ?SC_0
0006 120000      E     LCALL   _printf
                                           ; SOURCE LINE # 15
0009 020000      E     LJMP    func2
             ; FUNCTION func0 (END)

             ; FUNCTION intrp0 (BEGIN)
                                           ; SOURCE LINE # 18
                                           ; SOURCE LINE # 20
0000 32                RETI    
             ; FUNCTION intrp0 (END)



MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     16    ----
   CONSTANT SIZE    =     48    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =      4    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
   EDATA SIZE       =   ----    ----
   HDATA SIZE       =   ----    ----
   XDATA CONST SIZE =   ----    ----
   FAR CONST SIZE   =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
