[comp.sys.amiga.programmer] Help! Trying to assemble program.

mjl@ut-emx.uucp (Maurice LeBrun) (04/18/91)

[burp]

Hello Net,

I am trying to assemble the assembly output of Absoft Fortran, so I can
hopefully link a Fortran code with some C programs.  However, the Lattice
assember doesn't like some of the instructions!  Here is an example:

        csect   code     (I had to add this by hand)

        XDEF    .PLMTEX
.PLMTEX:        ...
        ...
        XREF    .ISLEN
        MOVE.L  #.ISLEN-L00003,D1

          ^-- Error: invalid operands for this opcode

L00003: JSR     L00003(PC,D1.L)
	...

The islen() function is external to this file.  Why isn't this legal, and
what can I do about it?  (Note: I don't have much experience in 68000
assembly language.) Many thanks in advance.  Please MAIL since I can't read
news from here. 

Maurice LeBrun                      mjl@fusion.ph.utexas.edu
Naka Fusion Research Establishment
JAERI, Japan