delorie.com/archives/browse.cgi | search |
Date: | Thu, 17 Jul 1997 18:14:12 +0000 |
From: | Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz> |
Subject: | Re: Argument Passing |
To: | Benjamin D Chambers <chambers DOT ben AT juno DOT com> |
Cc: | djgpp AT delorie DOT com |
Reply-to: | billc AT blackmagic DOT tait DOT co DOT nz |
Message-id: | <33CE60F4.5D9E@blackmagic.tait.co.nz> |
Organization: | Tait Electronics NZ |
MIME-version: | 1.0 |
References: | <19970716 DOT 223813 DOT 7879 DOT 0 DOT chambers DOT ben AT juno DOT com> |
Benjamin D Chambers wrote: > > If I were to write an assembly version of one of my functions, should I > assume the arguments are pushed, (in order), on the stack? ie: > int f(int oo, int bar); > I would first pop bar then oo? No, oo, the bar (C pushes in reverse order). > (PS About how many messages a day does the mailing list average now?) I get 40-100, so about 70 I guess. Bill -- Leave others their otherness.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |