◄Up► ◄Contents► ◄Index► ◄Back► ──P-Code Instructions─────────────────────────────────────────────────────── Syntax Callxbb /* Call a virtual function */ Calls a virtual function. A pointer to the instance is expected to be on the stack. (The size of the pointer is near or far according to the class def.) The 2 or 3 bytes following the opcode contain the following values: * bit 7: 0 = near class, 1 = far class bits 4-6: unused (!) bits 0-3: "call mode" specifying the calling convention and return value size. The encoding of a "call mode" is the same as the existing encoding defined by the interpreter (and designed for fast execution). * A signed offset within the vtable, used to locate the function pointer. * [if cdecl] Parameter size to be popped on return. -♦-