1
F_ASSIGN
Nunuhara Cabbage edited this page 2019-11-05 18:29:31 -08:00

F_ASSIGN

Instruction Arguments

None.

Stack Arguments

int32 pageno - The id of the page containing the variable to assign to
int32 varno - The index of the variable to assign to
float value - The value to assign to the variable

Description

Assign a value to a variable.

Example

PUSHLOCALPAGE   ; stack: [pagno]
PUSH 0x0        ; stack: [pageno, 0]
PUSH 0x42200000 ; stack: [pageno, 0, 40.0]
ASSIGN          ; stack: [1], and page[varno] = 40.0