home *** CD-ROM | disk | FTP | other *** search
- ((
- LOVE Forth Assembly Language Configuration File.
- This file must be named "ASSEMBLY.CFG" and must exist in the current directory.
- Experienced programmers are encouraged to customize this file to suit their
- own requirements.
- Example: Change output directories or drives to ramdrives.
- **** This file is for Microsoft's Macro Assembler V5.1 or above ****
- ))
-
- ( command" -- defines the command line used to execute your assembler. )
- ( -- always prefix this command line with /C and end it with \r )
- command" /C MASM /MX /T code4th.asm code4th.obj code4th.lst; >nul\r"
-
- ( inputfile" -- defines the path and filename of the file to be assembled. )
- inputfile" code4th.ASM\0"
-
- ( outputfile" -- defines the path and filename of the object file. )
- outputfile" code4th.OBJ\0"
-
- ( listfile" -- defines the path and filename of the assembly listing [optional]. )
- listfile" code4th.LST\0"
-
- ( errorfile" -- defines the path and filename of the assembly errors if any. )
- errorfile" code4th.LST\0"
-
- ( next" -- defines the macro that expands any occurance on'next' in the )
- ( assembly code into the LOVE Forth inline inner interpreter. )
- next" next\tmacro\r\n\tlodsw\r\n\tmov bx,ax\r\n\tjmp word ptr [bx]\r\n\tendm\r\n"
-
- ( codeheader" -- The string that contains the initial required segmentation )
- ( directive directives to begin assembly. )
- codeheader" \r\ncode\tsegment\r\n"
-
- ( codefooter" -- contains the required segmentation directives to end assembly. )
- codefooter" \r\ncode ends\r\n\tend"
-
-
- cseg$" \r\ncode\tsegment byte public 'CODE'\r\ncode ends"
- tseg$" \r\nthreads\tsegment word public 'THREADS'\r\nthreads ends"
- dseg$" \r\ndata\tsegment byte public 'DATA'\r\ndata ends"
- hseg$" \r\nheads\tsegment byte public 'HEADS'\r\nheads ends"
- sseg$" \r\nstacks\tsegment byte public 'STACKS'\r\nstacks ends"
- assume$" \r\n\tassume cs:code, ds:code, es:code\r\n\tpublic\r\n"
-