📄 cstartkd.a96
字号:
;
; This is an example STARTUP file.
; @(#)cstart.a96 1.5
;
; To Assemble: asm196 cstart.a96 cmain
; The 'cmain' control will allow symbol 'main' to be used.
;
; If FPAL96 is used, enable the calling of 'fpinit'.
;
STARTUP MODULE CMAIN
RSEG
SP EQU 018H:WORD
Tmp0 EQU 01CH:WORD
CSEG AT 0C000H
EXTRN main:NULL
cstart:
PUBLIC cstart
LD SP,#STACK
;
; Some applications might want to do a CALL to main,
; and also have exit() calls.
; In that case enable the following:
LCALL main
_exit:
PUBLIC _exit
exit:
PUBLIC exit
_cstop:
PUBLIC _cstop ; public for debuggers to set a breakpoint
BR _cstop ; keep on looping
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -