| delorie.com/archives/browse.cgi | search |
| From: | "Stefan Viljoen" <rylan AT intekom DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Help interfacing DJGPP and NASM again... |
| Date: | Sun, 14 Nov 1999 07:07:43 +0200 |
| Organization: | The South African Internet Exchange |
| Lines: | 32 |
| Message-ID: | <80lhcm$5bh$3@ctb-nnrp1.saix.net> |
| References: | <s2q3mqdehsq93 AT news DOT supernews DOT com> <833dua9iz9 DOT fsf AT mercury DOT st DOT hmc DOT edu> |
| NNTP-Posting-Host: | pc36-01-p28.nt.saix.net |
| X-Trace: | ctb-nnrp1.saix.net 942557398 5489 155.239.194.28 (14 Nov 1999 05:29:58 GMT) |
| X-Complaints-To: | abuse AT saix DOT net |
| NNTP-Posting-Date: | 14 Nov 1999 05:29:58 GMT |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Nate Eldredge <neldredge AT hmc DOT edu> wrote in message news:833dua9iz9 DOT fsf AT mercury DOT st DOT hmc DOT edu... > "Groman" <groman AT tfz DOT net> writes: > > > hello.. could somebody please help me with this? > > > > I have the following NASM function which I call from my DJGPP program: > > > > _testfunc: > > push ebp > > mov edx, [esp+4] > > mov ecx, [esp+8] > > add edx,ecx > > mov eax,edx > > leave > > ret If the original poster wants to take a look, I have some code on my site (that Nate helped me with - doubt he remembers!) that does exactly this - get parameters off the stack and use them in the NASM module. The plasma demo does this with a putpixel routine... -- This message courtesy of RylanNet rylan AT intekom DOT co DOT za http://home.intekom.com/rylan/ -- StarWars for ever!.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |