1
.LOCALREF
Nunuhara Cabbage edited this page 2020-05-01 20:58:50 -07:00

.LOCALREF <varname>

Macro Arguments

ident varname - Name of the local variable

Stack Arguments

None.

Description

Get the value of a local variable (putting it on the stack).

Macro Expansion

.LOCALREF my_var

Expands to,

PUSHLOCALPAGE
PUSH <varno>
REF

where <varno> is the index of the variable my_var in the local page of the current function.