一个叫spasm的东西
说明如下:
Enclosed is a zip file of 2 programs originally written for CPM
but has an attached 8080 emulator and runs under MS-DOS (windows)
The first program is SPASM - single pass assembler. The syntax for
the assembler source is 8080 opcodes and is close to the ASM.COM
that came with CPM 2.2 It produces relocatable code, but doesn't
use the EXTRN or PUBLIC - instead uses IMPORT but not for variables
but for modules. I'll be able to provide some nice code written for
this assembler including a floating point package (written for the
SPL compiler). The syntax is SPASM filename with filename in ZCPR format
drive/user etc. You can specify options afterwards. /S will generate a
listing to screen. /F will generate a listing file (and, I believe, /L will
send it to a printer). The synax for SLINK filename or SLINK
comfile=objects. There are some options which from memory - until I find the
documentation - include /M generate map file, /C:hhhh start code at
someplace instead of default 100H, /D:hhhh start data at instead of after
code and /S to use prior file as library file. The programs here are .EXE
and run under MS-DOS directly. SPASM produces a .OBJ from .ASM, SLINK
produces .COM from .OBJ (and .LIB).
说明如下:
Enclosed is a zip file of 2 programs originally written for CPM
but has an attached 8080 emulator and runs under MS-DOS (windows)
The first program is SPASM - single pass assembler. The syntax for
the assembler source is 8080 opcodes and is close to the ASM.COM
that came with CPM 2.2 It produces relocatable code, but doesn't
use the EXTRN or PUBLIC - instead uses IMPORT but not for variables
but for modules. I'll be able to provide some nice code written for
this assembler including a floating point package (written for the
SPL compiler). The syntax is SPASM filename with filename in ZCPR format
drive/user etc. You can specify options afterwards. /S will generate a
listing to screen. /F will generate a listing file (and, I believe, /L will
send it to a printer). The synax for SLINK filename or SLINK
comfile=objects. There are some options which from memory - until I find the
documentation - include /M generate map file, /C:hhhh start code at
someplace instead of default 100H, /D:hhhh start data at instead of after
code and /S to use prior file as library file. The programs here are .EXE
and run under MS-DOS directly. SPASM produces a .OBJ from .ASM, SLINK
produces .COM from .OBJ (and .LIB).
C:/>forum http://cks.5d6d.com
conneting...
cks>http://cks.5d6d.com
cks>
cks>open
cks>username:tinlin
cks>password:*********
cks>
conneting...
cks>http://cks.5d6d.com
cks>
cks>open
cks>username:tinlin
cks>password:*********
cks>

