1
SR_REF2
Nunuhara Cabbage edited this page 2022-06-30 14:30:18 -07:00

SR_REF2

Instruction Arguments

None.

Stack Arguments

int32 pageno - The heap index of the structure page

Description

Copy a structure object on the stack.

Example

PUSHLOCALPAGE ; stack: [pageno]
PUSH 0x0      ; stack: [pageno, 0]
REF           ; stack: [v1] where v1 = the structure at localpage[0]
SR_REF2       ; stack: [v2] where v2 = a copy of v1