delorie.com/archives/browse.cgi | search |
From: | silkwodj AT my-dejanews DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: linking from nasm |
Date: | Thu, 15 Oct 1998 02:46:04 GMT |
Organization: | Deja News - The Leader in Internet Discussion |
Lines: | 19 |
Message-ID: | <703nld$7ts$1@nnrp1.dejanews.com> |
References: | <Pine DOT GSO DOT 3 DOT 96L DOT 981012134800 DOT 4282A-100000 AT unixs3 DOT cis DOT pitt DOT edu> <Pine DOT GSO DOT 3 DOT 96 DOT 981012223701 DOT 24539B-100000 AT delta DOT ds2 DOT pg DOT gda DOT pl> |
NNTP-Posting-Host: | 204.170.214.164 |
X-Article-Creation-Date: | Thu Oct 15 02:46:04 1998 GMT |
X-Http-User-Agent: | Mozilla/4.0 [en] (Win95; I) |
X-Http-Proxy: | 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client 204.170.214.164 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>>void main() >>{ >> int a = myfunc(); >> cout << a; >>} I have been following Matt Mastracci's tutorial with success. On this basis I would have enclosed the global declaration in Nasm inside square brackets. [GLOBAL myfunc]. It is a shame that the original link to Matt's tutorial has been broken. I assume he has now graduated from the U. of Calgary? Does anyone know where to find this now? Another item for Mark. You will probably be happier if you pass an int to myfunc like int a = myfunc(5) or something. That way you will recognize what you get back in a. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |