Difference between revisions of "Va start"
From Unofficial QEdit Wiki Guide
(No difference)
|
Latest revision as of 07:38, 23 May 2014
Contents
Syntax
Syntax: va_start
- None
Use
Initializes a variable argument list.
Example
100: va_start
arg_pushl 00000001 //This will set R1 to 1 when passed the the variable argument function
arg_pushl 00000002 //This will set R2 to 2 when passed the the variable argument function
arg_pushl 00000003 //This will set R3 to 3 when passed the the variable argument function
va_call 110
va_end
ret
110: window_msg 'Register R1 = <r1>. Register R2 = <r2>. Register R3 = <r3>.'
winend
ret