[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to link source files with Merlin Pro 2.43???



> Can anyone tell me how to "link" source files?  In other words, when a
> source file is assembling, I would like for it to "link" in another
source
> file which is stored on the same diskette.

My Merlin documentation says that the "PUT" pseudo-op reads the named file
and inserts it at the location of the opcode.

PUT (PUT a text file in assembly)

DOS 3.3
  PUT sourcefile   (PUTs file T.SOURCEFILE)
  PUT !sourcefile   (PUTs file SOURCE)
  PUT !source,d2  (PUTs file SOURCE from drive 2)

ProDOS
  PUT sourcefile    (PUTs file SOURCEFILE.S)
  PUT /pre/source  (PUTs file SOURCE.S from subdirectory PRE)