3
.STRUCTINC
Nunuhara Cabbage edited this page 2020-05-02 08:04:57 -07:00

.STRUCTINC <struct_type> <member_name>

Macro Arguments

ident struct_type - Name of the struct type
ident member_name - Name of the struct member

Stack Arguments

None.

Description

Increment the value of a struct member.

Macro Expansion

.STRUCTINC struct_name member_name

Expands to,

PUSHSTRUCTPAGE
PUSH <memberno>
INC

where <memberno> is the index of the member member_name in the struct page of the current function.