Old fashion design for PC-104
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
C51 COMPILER V8.02 MAIN 02/07/2008 21:06:49 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE MAINOBJECT MODULE PLACED IN Main.OBJCOMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE Main.c OMF2 ROM(COMPACT) OPTIMIZE(9,SPEED) ORDER NOINTPROMOTE NOINTVECTOR
line level source
1 #include "StdAfx.h" 2 #include "Timer.h" 3 #include "SysClock.h" 4 #include "Ports.h" 5 #include "ISA.h" 6 #include "A2D.h" 7 8 void main(void) 9 { 10 1 // startup delay 11 1 XINT nStartup = 30000; 12 1 13 1 // enable VDD monitor and Clock missing 14 1 SFRPAGE = 0; 15 1 RSTSRC = 0x06; // PORSF = 1; 16 1 17 1 // disable software watchdog timer 18 1 WDTCN = 0x0DE; 19 1 WDTCN = 0x0AD; 20 1 21 1 // small delay 22 1 while( nStartup-- ); 23 1 24 1 // init hardware 25 1 SystemClock_Init(); 26 1 Port_Init(); 27 1 HiResTimer0_Init( 48 ); 28 1 HiResTimer1_Init( 48 ); 29 1 ADC0_Init(); 30 1 ISA_Init(); 31 1 32 1 // main loop 33 1 ISA_Serve(); 34 1 }
MODULE INFORMATION: STATIC OVERLAYABLE CODE SIZE = 61 ---- CONSTANT SIZE = ---- ---- XDATA SIZE = ---- 2 PDATA SIZE = ---- ---- DATA SIZE = ---- ---- 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)
|