2 ; Copyright (c) 1999 Greg Haerr <greg@censoft.com>
3 ; asm.h - all asm*.s TC/MC/Aztec assembly include file
5 ; 7/26/92 v6.3 TSC support
6 ; 11/17/92 original version
8 ; #define __LARGE__, __MEDIUM__, __SMALL__ for model
9 ; #define AZTEC, TURBOC, or MSC for C Compiler
13 ; include asm.h - start the assembly file
14 ; .header - create the code and data segs
15 ; .cseg - start the code segment
16 ; .cend - end the code segment
17 ; .dseg - start the data segment
18 ; .dend - end the data segment
19 ; .dsym name,type - declare global C data (type=word,byte)
20 ; .cextp name - reference an external C procedure, use model as type
21 ; .cextrn name,type- reference external C variable and type(word,byte)
22 ; .cproc name - declare a C-accessible procedure, use model as type
23 ; .cendp name - end C procedure
24 ; .center - enter C procedure (set up BP etc)
25 ; .cexit - exit C procedure (restore BP etc)
32 %OUT You must supply a model symbol, __LARGE__, __SMALL__, or __MEDIUM__
37 ; Check Compiler Symbol
50 %OUT You must supply a Compiler symbol, AZTEC, TURBOC, MSC or TSC.
57 ; Define other global symbols