C51 COMPILER V9.59.0.0 CLOCK 10/13/2018 20:41:27 PAGE 1 C51 COMPILER V9.59.0.0, COMPILATION OF MODULE CLOCK OBJECT MODULE PLACED IN .\Objects\clock.obj COMPILER INVOKED BY: C:\Keil_v5\C51\BIN\C51.EXE clock.c OPTIMIZE(8,SPEED) BROWSE DEBUG OBJECTEXTEND PRINT(.\Listings\clo -ck.lst) TABS(2) OBJECT(.\Objects\clock.obj) line level source 1 #include 2 #define uint unsigned int 3 #define uchar unsigned char 4 5 sbit k1=P1^1; 6 sbit k2=P1^2; 7 sbit k3=P1^3; 8 sbit k4=P1^4; 9 sbit k5=P1^5; 10 sbit k6=P1^6; 11 12 void display(); 13 uchar code duan[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e}; 14 uchar code wei[]={0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe}; 15 uint second, minute, hour, one, ten, hundred, thousand, tthousand, oht, t; 16 17 void times(uint z) 18 { 19 1 uint i,j; 20 1 for(i=0; i