_crbtmp.asm
来自「开放源码的编译器open watcom 1.6.0版的源代码」· 汇编 代码 · 共 43 行
ASM
43 行
include ..\cwlib.inc
scode
;------------------------------------------------------------------------------
;
;Create a new bitmap.
;
;Calling:
;
;CreateBitmap(bflags,wide,depth);
;
;On Entry:
;
;bflags - bitmap flags entry.
;wide - bitmap width.
;depth - bitmap depth.
;
;On Exit:
;
;Carry set on error and EAX=0 else,
;
;EAX - pointer to bitmap.
;
;ALL other registers preserved.
;
_CreateBitmap proc syscall bflags:dword, wide:dword, depth:dword
public _CreateBitmap
pushm ebx,ecx,edx
mov ebx,bflags
mov ecx,wide
mov edx,depth
call CreateBitmap
popm ebx,ecx,edx
ret
_CreateBitmap endp
efile
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?