嵌入式C语言程序设计——使用MCS-51

源代码在线查看: ex5-4.ls1

软件大小: 470 K
上传用户: cdsdccscs
关键词: MCS 51 嵌入式C 语言程序设计
下载地址: 免注册下载 普通下载 VIP

相关代码

				A51 MACRO ASSEMBLER  EX5_4                                                                06/18/2004 11:42:48 PAGE     1
				
				
				MACRO ASSEMBLER A51 V7.08a
				OBJECT MODULE PLACED IN ex5-4.OBJ
				ASSEMBLER INVOKED BY: C:\KEIL\C51\BIN\A51.EXE ex5-4.src PR(.\ex5-4.ls1) EP DEBUG
				
				LOC  OBJ            LINE     SOURCE
				
				                       1     ; .\ex5-4.SRC generated from: ex5-4.C
				                       2     ; COMPILER INVOKED BY:
				                       3     ;        C:\KEIL\C51\BIN\C51.EXE ex5-4.C BROWSE DEBUG OBJECTEXTEND SRC(.\ex5-4.SRC)
				                       4     
				                       5     $nomod51 
				                       6     
				                       7     NAME    EX5_4
				                       8     
				  0080                 9     P0      DATA    080H
				  0090                10     P1      DATA    090H
				  00A0                11     P2      DATA    0A0H
				  00B0                12     P3      DATA    0B0H
				  00D6                13     AC      BIT     0D0H.6
				  00B4                14     T0      BIT     0B0H.4
				  00B5                15     T1      BIT     0B0H.5
				  00AF                16     EA      BIT     0A8H.7
				  00A8                17     IE      DATA    0A8H
				  0080                18     P0_0    BIT     080H.0
				  0090                19     P1_0    BIT     090H.0
				  0081                20     P0_1    BIT     080H.1
				  00D1                21     FL      BIT     0D0H.1
				  00A0                22     P2_0    BIT     0A0H.0
				  0091                23     P1_1    BIT     090H.1
				  0082                24     P0_2    BIT     080H.2
				  00B0                25     P3_0    BIT     0B0H.0
				  00A1                26     P2_1    BIT     0A0H.1
				  0092                27     P1_2    BIT     090H.2
				  0083                28     P0_3    BIT     080H.3
				  00B1                29     P3_1    BIT     0B0H.1
				  00A2                30     P2_2    BIT     0A0H.2
				  0093                31     P1_3    BIT     090H.3
				  0084                32     P0_4    BIT     080H.4
				  00B2                33     P3_2    BIT     0B0H.2
				  00A3                34     P2_3    BIT     0A0H.3
				  0094                35     P1_4    BIT     090H.4
				  0085                36     P0_5    BIT     080H.5
				  00B7                37     RD      BIT     0B0H.7
				  00B3                38     P3_3    BIT     0B0H.3
				  00A4                39     P2_4    BIT     0A0H.4
				  0095                40     P1_5    BIT     090H.5
				  0086                41     P0_6    BIT     080H.6
				  00B4                42     P3_4    BIT     0B0H.4
				  00A5                43     P2_5    BIT     0A0H.5
				  0096                44     P1_6    BIT     090H.6
				  0087                45     P0_7    BIT     080H.7
				  00B5                46     P3_5    BIT     0B0H.5
				  00AC                47     ES      BIT     0A8H.4
				  00A6                48     P2_6    BIT     0A0H.6
				  0097                49     P1_7    BIT     090H.7
				  00B6                50     P3_6    BIT     0B0H.6
				  00A7                51     P2_7    BIT     0A0H.7
				  00B8                52     IP      DATA    0B8H
				  00B7                53     P3_7    BIT     0B0H.7
				  0098                54     RI      BIT     098H.0
				  00D7                55     CY      BIT     0D0H.7
				  00B2                56     INT0    BIT     0B0H.2
				  00B3                57     INT1    BIT     0B0H.3
				  0099                58     TI      BIT     098H.1
				A51 MACRO ASSEMBLER  EX5_4                                                                06/18/2004 11:42:48 PAGE     2
				
				  00BC                59     PS      BIT     0B8H.4
				  0081                60     SP      DATA    081H
				  00D2                61     OV      BIT     0D0H.2
				  00B6                62     WR      BIT     0B0H.6
				  0099                63     SBUF    DATA    099H
				  0087                64     PCON    DATA    087H
				  0098                65     SCON    DATA    098H
				  0089                66     TMOD    DATA    089H
				  0088                67     TCON    DATA    088H
				  0089                68     IE0     BIT     088H.1
				  008B                69     IE1     BIT     088H.3
				  00F0                70     B       DATA    0F0H
				  00E0                71     ACC     DATA    0E0H
				  00A9                72     ET0     BIT     0A8H.1
				  00AB                73     ET1     BIT     0A8H.3
				  008D                74     TF0     BIT     088H.5
				  00AD                75     ET2     BIT     0A8H.5
				  008F                76     TF1     BIT     088H.7
				  009A                77     RB8     BIT     098H.2
				  008C                78     TH0     DATA    08CH
				  00A8                79     EX0     BIT     0A8H.0
				  0088                80     IT0     BIT     088H.0
				  008D                81     TH1     DATA    08DH
				  00AA                82     EX1     BIT     0A8H.2
				  009B                83     TB8     BIT     098H.3
				  008A                84     IT1     BIT     088H.2
				  00D0                85     P       BIT     0D0H.0
				  009F                86     SM0     BIT     098H.7
				  008A                87     TL0     DATA    08AH
				  009E                88     SM1     BIT     098H.6
				  008B                89     TL1     DATA    08BH
				  009D                90     SM2     BIT     098H.5
				  00B9                91     PT0     BIT     0B8H.1
				  00D3                92     RS0     BIT     0D0H.3
				  00BB                93     PT1     BIT     0B8H.3
				  00D4                94     RS1     BIT     0D0H.4
				  00BD                95     PT2     BIT     0B8H.5
				  008C                96     TR0     BIT     088H.4
				  008E                97     TR1     BIT     088H.6
				  00B8                98     PX0     BIT     0B8H.0
				  00BA                99     PX1     BIT     0B8H.2
				  0083               100     DPH     DATA    083H
				  0082               101     DPL     DATA    082H
				  009C               102     REN     BIT     098H.4
				  00B0               103     RXD     BIT     0B0H.0
				  00B1               104     TXD     BIT     0B0H.1
				  00D5               105     F0      BIT     0D0H.5
				  00D0               106     PSW     DATA    0D0H
				                     107     ?PR?delay?EX5_4      SEGMENT CODE 
				                     108     ?PR?timer0_isr?EX5_4 SEGMENT CODE 
				                     109     ?PR?timer0_initialize?EX5_4              SEGMENT CODE 
				                     110     ?PR?main?EX5_4       SEGMENT CODE 
				                     111     ?C_INITSEG           SEGMENT CODE 
				                     112     ?DT?EX5_4            SEGMENT DATA 
				                     113             EXTRN   CODE (?C_STARTUP)
				                     114             PUBLIC  i
				                     115             PUBLIC  timer0_tick
				                     116             PUBLIC  seven_seg
				                     117             PUBLIC  main
				                     118     
				----                 119             RSEG  ?DT?EX5_4
				0000                 120           seven_seg:   DS   20
				0014                 121         timer0_tick:   DS   1
				0015                 122                   i:   DS   1
				                     123     
				----                 124             RSEG  ?C_INITSEG
				A51 MACRO ASSEMBLER  EX5_4                                                                06/18/2004 11:42:48 PAGE     3
				
				0000 14              125             DB      014H
				0001 00       F      126             DB      seven_seg
				0002 00C0            127             DW      000C0H
				0004 00F9            128             DW      000F9H
				0006 00A4            129             DW      000A4H
				0008 00B0            130             DW      000B0H
				000A 0099            131             DW      00099H
				000C 0092            132             DW      00092H
				000E 0082            133             DW      00082H
				0010 00F8            134             DW      000F8H
				0012 0080            135             DW      00080H
				0014 0090            136             DW      00090H
				                     137     
				0016 01              138             DB      001H
				0017 00       F      139             DB      i
				0018 00              140             DB      000H
				                     141     
				                     142     ; /*    莱ノ絛ㄒ 5-4 
				                     143     ;       夹肈:           絛ㄒ  5-4
				                     144     ;       			

相关资源