#cdecl, #odecl, #idecl
Directive to define a Parameter list for an indirect call of methods using Icall. The directive defines number and type of parameters of parameters passed. Description:
- #cdecl: All parameters are passed via the stack.
- #odecl: 1. Parameter will be passed via Register block A, all others via the stack (Luna default).
- #idecl: 1. and 2. Parameter will be passed via Register block A and B, all others via the stack. However, the first parameter may not be an expression. It must be a single variable, address, constant or similar.
Syntax: #xdecl <datatype/void> Identifier( [<byRef/byVal>] <datatype>, .. ) See Icall for an example.