1
.GLOBALINC
Nunuhara Cabbage edited this page 2020-05-01 21:11:52 -07:00

.GLOBALINC <varname>

Macro Arguments

ident varname - Name of the global variable

Stack Arguments

None.

Description

Increment the value of a global variable.

Macro Expansion

.GLOBALINC my_var

Expands to,

PUSHGLOBALPAGE
PUSH <varno>
INC

where <varno> is the index of the global variable my_var.