www.digitalmars.com         C & C++   DMDScript  

c++.dos.32-bits - Re: Linking with external asm

reply "Gisle Vanem" <giva bgnett.no> writes:
"Gisle Vanem" <giva bgnett.no> wrote in message news:...
 I'm having problems linking with external assembly modules. It looks as if
 external assembly routines are never called despite being called from C.
 I'm using the latest compiler 8.29.5 and Borland's tasm v.3.2.
 ..
 .MODEL FLAT,C

Bummer, I changed this to ".MODEL SMALL,C" and everything works now. Gisle V.
Jul 09 2002
parent "Walter" <walter digitalmars.com> writes:
"Gisle Vanem" <giva bgnett.no> wrote in message
news:ageqv1$2so8$1 digitaldaemon.com...
 "Gisle Vanem" <giva bgnett.no> wrote in message news:...
 I'm having problems linking with external assembly modules. It looks as


 external assembly routines are never called despite being called from C.
 I'm using the latest compiler 8.29.5 and Borland's tasm v.3.2.
 ..
 .MODEL FLAT,C

Bummer, I changed this to ".MODEL SMALL,C" and everything works now.

The DOSX memory model has 3 separate segments, and so is not flat.
Jul 09 2002