_flmknm.asm
来自「开放源码的编译器open watcom 1.6.0版的源代码」· 汇编 代码 · 共 43 行
ASM
43 行
include ..\cwlib.inc
scode
;-------------------------------------------------------------------------------
;
;Make a full drive:path\file name from a file list path string and specified
;file name.
;
;Calling:
;
;FileListMakeName(filelist,entry,buffer);
;
;On Entry:
;
;filelist - pointer to file list.
;entry - entry number to make name from.
;buffer - pointer to destination buffer.
;
;On Exit:
;
;ALL registers preserved.
;
;Name in a file list are just the 8.3 portion. A more useful name can be made
;by combineing the path string from the start of the list buffer with the file
;name which this routine does.
;
_FileListMakeName proc syscall filelist:dword, entry:dword, buffer:dword
public _FileListMakeName
pushm ecx,esi,edi
mov ecx,entry
mov esi,filelist
mov edi,buffer
call FileListMakeName
popm ecx,esi,edi
ret
_FileListMakeName endp
efile
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?