[gameprogrammer] Re: Pushing on stack in assembly

  • From: "Chris Nystrom" <cnystrom@xxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Sat, 22 Mar 2008 12:02:58 -0500

On Sat, Mar 22, 2008 at 9:56 AM, Kevin Jenkins
<gameprogrammer@xxxxxxxxxx> wrote:
> Because it is otherwise impossible.

I wrote a simple RPC protocol in C that had variable amounts of
parameters. Bascially the first thing I passed was an INT to identify
the procedure and then since I knew the procedue I knew the number and
types of parameters to pull out of the stream. It worked great, but I
ended up using messages instead of RPC because messageas were faster.

You might also be able to use a token to describe the end of the
parameter list, or a value right at the start that descripe what is to
follow. I am a little fuzzy about what you are trying to do that is
impossible. Maybe you could describe in more detail the problem you
are trying to solve?

Chris

-- 
E-Mail: Chris Nystrom <cnystrom@xxxxxxxxx>
Saving the world from web programming.
http://www.newio.org - AIM: nystromchris

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: