[gameprogrammer] Re: Pushing on stack in assembly
- From: Kevin Jenkins <gameprogrammer@xxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sat, 22 Mar 2008 07:56:43 -0700
Because it is otherwise impossible.
Chris Nystrom wrote:
On 3/22/08, Kevin Jenkins <gameprogrammer@xxxxxxxxxx> wrote:
I'm writing code to support variadic remote procedure calls in RakNet.
I concatenate the parameter list of a function to an array of bytes.
On the recipient, I read the length of the array, push this amount on
the stack, and copy the memory onto the stack. I then call the function.
Problem is, my assembly sucks.
Why are you using assembly?
Chris
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: Pushing on stack in assembly
- From: ®£$ǖ\"v@M$Ħ ¢© $.
- [gameprogrammer] Re: Pushing on stack in assembly
- From: Chris Nystrom
- References:
- [gameprogrammer] Pushing on stack in assembly
- From: Kevin Jenkins
- [gameprogrammer] Re: Pushing on stack in assembly
- From: Chris Nystrom
Other related posts:
- » [gameprogrammer] Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
- » [gameprogrammer] Re: Pushing on stack in assembly
On 3/22/08, Kevin Jenkins <gameprogrammer@xxxxxxxxxx> wrote:
I'm writing code to support variadic remote procedure calls in RakNet. I concatenate the parameter list of a function to an array of bytes. On the recipient, I read the length of the array, push this amount on the stack, and copy the memory onto the stack. I then call the function. Problem is, my assembly sucks.
Why are you using assembly? Chris
- [gameprogrammer] Re: Pushing on stack in assembly
- From: ®£$ǖ\"v@M$Ħ ¢© $.
- [gameprogrammer] Re: Pushing on stack in assembly
- From: Chris Nystrom
- [gameprogrammer] Pushing on stack in assembly
- From: Kevin Jenkins
- [gameprogrammer] Re: Pushing on stack in assembly
- From: Chris Nystrom