Article View: comp.lang.modula2
Article #2670Re: Calling asm routines from modula2
From: Peter Moylan
Date: Wed, 02 Aug 1995 22:57
Date: Wed, 02 Aug 1995 22:57
17 lines
1101 bytes
1101 bytes
Damon J. Rand (D.Rand@cantva.canterbury.ac.nz) wrote:
>Could someone please tell me if there is a relatively easy way to call
>an assembly routine from the topspeed modula2 compiler v3?
> It doesn't seem to work very well if you compile some assembly with
>tasm and then add a
>#link compile(asm.obj)
I don't think "link compile" is a valid project command. Try
#pragma link(asm.obj)
I presume that you already know that for this to work you also
need an ASM.DEF file.
--
Peter Moylan peter@ee.newcastle.edu.au
file://ee.newcastle.edu.au/pub/www/Moylan.html
Technical Details
Message-ID:
<3vovt2$ldb@seagoon.newcastle.edu.au>Path:
arc1-ca.pugleaf.net!fourier.newcastle.edu.au!peterReferences:
<3uvpo5$bs3@cantua.canterbury.ac.nz>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!fourier.newcastle.edu.au!peter From: peter@fourier.newcastle.edu.au (Peter Moylan) Newsgroups: comp.lang.modula2 Subject: Re: Calling asm routines from modula2 Date: 2 Aug 1995 22:57:38 GMT Organization: The University of Newcastle Message-ID: <3vovt2$ldb@seagoon.newcastle.edu.au> References: <3uvpo5$bs3@cantua.canterbury.ac.nz> Reply-To: peter@tesla.newcastle.edu.au NNTP-Posting-Host: fourier.newcastle.edu.au X-Newsreader: TIN [version 1.2 PL2]