汇编小程序
源代码在线查看: project.lst
A51 MACRO ASSEMBLER PROJECT 07/07/2012 18:58:32 PAGE 1
MACRO ASSEMBLER A51 V8.02a
OBJECT MODULE PLACED IN project.OBJ
ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\A51.EXE project.asm SET(SMALL) DEBUG EP
LOC OBJ LINE SOURCE
0000 1 ORG 000H
0000 0130 2 AJMP MAIN
0030 3 ORG 0030H
0030 7580FE 4 MAIN: MOV P0,#0FEH
0033 1141 5 ACALL DEL
0035 7580FF 6 MOV P0,#0FFH
0038 1141 7 ACALL DEL
003A 85FF80 8 MOV P0,0FFH
003D 1141 9 ACALL DEL
003F 0130 10 AJMP MAIN
0041 7D04 11 DEL: MOV R5,#04H
0043 7EFF 12 DEL1: MOV R6,#0FFH
0045 7FFF 13 DEL2: MOV R7,#0FFH
0047 DFFE 14 DEL3: DJNZ R7,DEL3
0049 DEFA 15 DJNZ R6,DEL2
004B DDF6 16 DJNZ R5,DEL1
004D 22 17 RET
18 END
A51 MACRO ASSEMBLER PROJECT 07/07/2012 18:58:32 PAGE 2
SYMBOL TABLE LISTING
------ ----- -------
N A M E T Y P E V A L U E ATTRIBUTES
DEL. . . . . . . . C ADDR 0041H A
DEL1 . . . . . . . C ADDR 0043H A
DEL2 . . . . . . . C ADDR 0045H A
DEL3 . . . . . . . C ADDR 0047H A
MAIN . . . . . . . C ADDR 0030H A
P0 . . . . . . . . D ADDR 0080H A
REGISTER BANK(S) USED: 0
ASSEMBLY COMPLETE. 0 WARNING(S), 0 ERROR(S)