用芯片AT89C51做的简单的万年历

源代码在线查看: load.bat

软件大小: 331 K
上传用户: rubyist
关键词: 89C C51 AT 89
下载地址: 免注册下载 普通下载 VIP

相关代码

				@ECHO OFF
				REM           Will be invoked by BOOT.BAT.
				REM           Do not run LOAD.BAT directly!
				REM
				IF (%6)==() GOTO USAGE
				IF NOT (%7)==() GOTO USAGE
				REM initialize serial port %1 to baudrate %2:
				MODE %1:%2,N,8,1,P
				IF ERRORLEVEL 1 GOTO END
				REM reset target system over printer port %4:
				RESET %4 %5
				IF ERRORLEVEL 1 GOTO END
				REM assemble program:
				ASEM %6
				IF ERRORLEVEL 1 GOTO END
				REM upload Intel-HEX file to target system:
				ECHO U >%1
				ECHO .
				ECHO      uploading file %6.HEX ...
				ECHO .
				COPY %6.HEX %1
				REM start program at location %3:
				ECHO G %3 >%1
				GOTO END
				:USAGE
				ECHO .
				ECHO      usage:         BOOT source
				ECHO .
				:END
							

相关资源