home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!mcsun!news.funet.fi!aton.abo.fi!usenet
- From: PNIELSEN@FINABO.ABO.FI (Peter Nielsen Inf)
- Subject: Re: 32-bit programming using MASM 6.00b
- In-Reply-To: jawetzel@athena.mit.edu's message of Mon, 14 Dec 1992 13:18:17 GMT
- Message-ID: <1992Dec16.112731.12449@abo.fi>
- Sender: usenet@abo.fi (Usenet NEWS)
- Organization: Abo Akademi University, Finland
- References: <1992Dec14.131817.14808@athena.mit.edu>
- Date: Wed, 16 Dec 1992 11:27:31 GMT
- X-News-Reader: VMS NEWS 1.24
- Lines: 15
-
- In <1992Dec14.131817.14808@athena.mit.edu> jawetzel@athena.mit.edu writes:
- > Is there anyone out there who has experience assembling 32-bit OS/2 v2.0
- > programs using Microsoft's MASM 6.00b. I thought that I could use the
- > flat memory model but LINK386 chokes on the object code. LINK386 does not
- > complain if I use the normal segmented model but the EXE created generates
- > a 000E trap.
-
- Write a simple C-program and compile with generate assembly (icc /Fa)
- This gives you an excellent example on how to declare the CODE and DATA
- 'segments'... (Don't use the simplified .DATA and .CODE they will get you
- into a whole lot of trouble... like Oh yeah my progam works.... - NOT!)
- I have been using C SET/2 and MASM 6.00 with the flat model without problems...
-
- Peter Nielsen
- pnielsen@finabo.abo.fi
-