From: DavMac AT iname DOT com (Davin McCall) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP - real mode procedures. Date: Wed, 02 Jun 1999 01:25:02 GMT Organization: Monash Uni Lines: 28 Distribution: world Message-ID: <3754872e.8090925@newsserver.cc.monash.edu.au> References: NNTP-Posting-Host: damcc5.halls.monash.edu.au X-Trace: towncrier.cc.monash.edu.au 928286668 5175 130.194.198.138 (2 Jun 1999 01:24:28 GMT) X-Complaints-To: abuse AT monash DOT edu DOT au NNTP-Posting-Date: 2 Jun 1999 01:24:28 GMT X-Newsreader: Forte Free Agent 1.1/32.230 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com No, what he's got will work. You can do it either way, I believe the C standard says so. In any case, the following under DJGPP: ------ #include main() { int a[10]; printf( "%p %p\n", a, &a ); return 0; } ----- will print the same pointer value twice. Davin. On Tue, 1 Jun 1999 09:43:52 +0300 (IDT), Eli Zaretskii wrote: >This is wrong. You need to pass either "stack" or "&stack[0]" as the >last parameter. __________________________________________________________ *** davmac - sharkin'!! davmac AT iname DOT com *** my programming page: http://yoyo.cc.monash.edu.au/~davmac/