Call arguments
Jump to navigation
Jump to search
All arguments for called functions are pushed onto stack in order of appearance in function signature. In other words, top of the stack contains the last argument.
E.g. a c-like call
setpos(posx, posy, posz);
Is represented by
PUSHV [posx]
PUSHV [posy]
PUSHV [posz]
CALLPOPA [setpos]