1
PUSHSTRUCTPAGE
Nunuhara Cabbage edited this page 2019-11-05 21:30:32 -08:00

PUSHSTRUCTPAGE

Instruction Arguments

None.

Stack Arguments

None.

Description

Push the index of the current struct page onto the stack. The struct page is the 'this' object in the context of a method call.

Example

To obtain the value of a struct member in a method call,

PUSHSTRUCTPAGE ; stack: [pageno]
PUSH 0x3       ; stack: [pageno, 3]
REF            ; stack: [v], where v is the value of structpage[3]