Artifact dc067b321bf4e4a89b2c44345fff06e54561b99fd851c8d07a74f9aa2bf3ae70:
- File
r34.1/plot/header.mac
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 918) [annotate] [blame] [check-ins using] [more...]
if1 LARGE equ 1 ; define your memory model here ifdef SMALL ; default, so do nothing else ifdef MEDIUM LARGE_CODE equ 1 else ifdef COMPACT LARGE_DATA equ 1 else ifdef LARGE LARGE_DATA equ 1 LARGE_CODE equ 1 else %out No memory model defined--assuming SMALL endif ; LARGE endif ; COMPACT endif ; MEDIUM endif ; SMALL beginproc macro procname ifdef LARGE_CODE procname proc far else procname proc near endif ; LARGE_CODE endm ; beginproc endif ; if1 _TEXT SEGMENT BYTE PUBLIC 'CODE' _TEXT ENDS _DATA SEGMENT WORD PUBLIC 'DATA' _DATA ENDS CONST SEGMENT WORD PUBLIC 'CONST' CONST ENDS _BSS SEGMENT WORD PUBLIC 'BSS' _BSS ENDS DGROUP GROUP CONST, _BSS, _DATA assume cs:_text, ds:dgroup, ss:dgroup, es:dgroup ; define X as the offset of first argument on stack frame ifdef LARGE_CODE X equ 6 ; return offset and segment + old BP else X equ 4 ; return offset + old BP endif ; LARGE_CODE