copyuc.asm

来自「汇编编程艺术」· 汇编 代码 · 共 25 行

ASM
25
字号
		include		stdlib.a
		includelib	stdlib.lib

cseg		segment		byte public 'CODE'
		assume		cs:cseg, ds:nothing, es:dseg, ss:sseg

; Note: The constants CR (0dh) and LF (0ah) appear within the
; stdlib.a include file.

tab		equ	09h

MainPgm 	proc	far

; Properly set up the segment registers:

		mov	ax, seg dseg
		mov	es, ax			;Leave DS pointing at PSP

;---------------------------------------------------------------

; First, parse the command line to get the filename:

		mov	es:GotName1, 0		;Init flags that tell us if
		mov	es:GotName2, 0		; we誺e parsed the filenames 
		mov	es:ConvertLC,0		; and the 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?