Multiple parameters
#9

Usually I jump around in the stack to avoid loops
But the normal way would to to push the arguments on the stack again
Push the parameters from right to left than the byte count and after that call the function
But that is bascially what y_va did (you will notice if you check out va_printf or va_format)
Quote:
Originally Posted by Threshold
Посмотреть сообщение
There are a lot of comments in y_va so it shouldn't be to difficult
If you need to lookup an emit code go to "Instruction reference" in pawn_implementer_guide.pdf
Reply


Messages In This Thread
Multiple parameters - by POL_george - 04.12.2016, 18:22
Re: Multiple parameters - by RyderX - 04.12.2016, 18:30
Re: Multiple parameters - by POL_george - 05.12.2016, 10:37
Re: Multiple parameters - by RyderX - 05.12.2016, 13:17
Re: Multiple parameters - by Threshold - 05.12.2016, 14:37
Re: Multiple parameters - by POL_george - 05.12.2016, 17:53
Re: Multiple parameters - by Konstantinos - 05.12.2016, 18:23
Re: Multiple parameters - by POL_george - 06.12.2016, 17:35
Re: Multiple parameters - by Nero_3D - 06.12.2016, 19:44
Re: Multiple parameters - by Konstantinos - 06.12.2016, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)