📄 crt0stub.asm
字号:
TITLE crt0stub - stub replacement for crt0*.* (QLib only)
;***
; crt0stub - stub replacement for crt0*.* (QLib only)
;
; Copyright <C> 1987, Microsoft Corporation
;
;Purpose:
; Quick Libs need the C startup for linking, but never execute it.
; This stub contains the appropriate PUBLICs so that the link will
; work, but contains no code.
;
; Note: Before this module can be linked into BQLB40 successfully
; it must be run through DOSSEG for C segment ordering.
;
;*******************************************************************************
DOSSEG ;[5]
extrn B$IEND:FAR ;[3]
_TEXT segment byte public 'CODE'
public __acrtused ; trick to force in startup
__acrtused = 9876h
assume cs:_TEXT
public _exit ;[3]
public __exit ;[3]
__astart:
__cinit:
__ctermsub:
_exit:
__exit:
jmp B$IEND ;[3] vector to B$IEND to stop execution
__cexit proc far ;[6]
public __cexit ;[6]
ret ;[6]
__cexit endp ;[6]
_TEXT ends
end __astart ; start address
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -