_srtflst.asm

来自「开放源码的编译器open watcom 1.6.0版的源代码」· 汇编 代码 · 共 37 行

ASM
37
字号
	include ..\cwlib.inc
	scode

;-------------------------------------------------------------------------------
;
;Sort a file list into alpha-numeric order.
;
;Calling:
;
;SortFileList(filelist);
;
;On Entry:
;
;filelist	- pointer to file list to sort.
;
;On Exit:
;
;ALL registers preserved.
;
;File names are not case converted so upper case names will appear at the top
;of the list.
;
_SortFileList	proc	syscall filelist:dword
	public _SortFileList
	push	esi
	mov	esi,filelist
	call	SortFileList
	pop	esi
	ret
_SortFileList	endp


	efile
	end


⌨️ 快捷键说明

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