单片机快速入门原程序
源代码在线查看: calldelay.ls1
A51 MACRO ASSEMBLER CALLDELAY 06/03/2006 16:48:36 PAGE 1
MACRO ASSEMBLER A51 V7.10
OBJECT MODULE PLACED IN CallDelay.OBJ
ASSEMBLER INVOKED BY: e:\Keil\C51\BIN\A51.EXE CallDelay.src PR(.\CallDelay.ls1) EP DEBUG
LOC OBJ LINE SOURCE
1 ; .\CallDelay.SRC generated from: CallDelay.c
2 ; COMPILER INVOKED BY:
3 ; e:\Keil\C51\BIN\C51.EXE CallDelay.c BROWSE DEBUG OBJECTEXTEND SRC(.\CallDelay.SRC)
4
5
6 NAME CALLDELAY
7
8 ?PR?Cfun1?CALLDELAY SEGMENT CODE
9 EXTRN CODE (Delay)
10 PUBLIC Cfun1
11 ;
12 ; extern void Delay(); //延时程序
13 ; void Cfun1()
14
---- 15 RSEG ?PR?Cfun1?CALLDELAY
0000 16 Cfun1:
17 USING 0
18 ; SOURCE LINE # 3
19 ; {
20 ; SOURCE LINE # 4
21 ; Delay();
22 ; SOURCE LINE # 5
0000 020000 F 23 LJMP Delay
24 ; END OF Cfun1
25
26 END
A51 MACRO ASSEMBLER CALLDELAY 06/03/2006 16:48:36 PAGE 2
SYMBOL TABLE LISTING
------ ----- -------
N A M E T Y P E V A L U E ATTRIBUTES
?PR?CFUN1?CALLDELAY C SEG 0003H REL=UNIT
CALLDELAY . . . . . N NUMB -----
CFUN1 . . . . . . . C ADDR 0000H R SEG=?PR?CFUN1?CALLDELAY
DELAY . . . . . . . C ADDR ----- EXT
REGISTER BANK(S) USED: 0
ASSEMBLY COMPLETE. 0 WARNING(S), 0 ERROR(S)