(大杂烩)proteus仿真MCS51一百例

源代码在线查看: port1 (2).lst

软件大小: 2.73M
上传用户: guolong1988112
关键词: proteus MCS 51 仿真
下载地址: 免注册下载 普通下载 VIP

相关代码

				A51 MACRO ASSEMBLER  PORT1__2_                                                            07/23/2006 14:40:22 PAGE     1
				
				
				MACRO ASSEMBLER A51 V8.00
				OBJECT MODULE PLACED IN Port1 (2).OBJ
				ASSEMBLER INVOKED BY: E:\Keil\C51\BIN\A51.EXE Port1 (2).asm SET(SMALL) DEBUG EP
				
				LOC  OBJ            LINE     SOURCE
				
				  0090                 1     KEYLEFT         BIT   P1.0                    
				  0091                 2     KEYRIGHT        BIT   P1.1
				  0092                 3     LEDLEFT         BIT   P1.2
				  0093                 4     LEDRIGHT        BIT   P1.3              ;位定义
				0000                   5             ORG    00H
				0000 D290              6             SETB   KEYLEFT                          
				0002 D291              7             SETB   KEYRIGHT         ;欲读数,先写1
				0004 A290              8     LOOP:   MOV    C,KEYLEFT
				0006 9292              9             MOV    LEDLEFT,C
				0008 A291             10             MOV    C,KEYRIGHT
				000A 9293             11             MOV    LEDRIGHT,C
				000C 020004           12             LJMP   LOOP
				                      13             END
				A51 MACRO ASSEMBLER  PORT1__2_                                                            07/23/2006 14:40:22 PAGE     2
				
				SYMBOL TABLE LISTING
				------ ----- -------
				
				
				N A M E             T Y P E  V A L U E   ATTRIBUTES
				
				KEYLEFT. . . . . .  B ADDR   0090H.0 A   
				KEYRIGHT . . . . .  B ADDR   0090H.1 A   
				LEDLEFT. . . . . .  B ADDR   0090H.2 A   
				LEDRIGHT . . . . .  B ADDR   0090H.3 A   
				LOOP . . . . . . .  C ADDR   0004H   A   
				P1 . . . . . . . .  D ADDR   0090H   A   
				
				
				REGISTER BANK(S) USED: 0 
				
								ASSEMBLY COMPLETE.  0 WARNING(S), 0 ERROR(S)
							

相关资源