3
.STRUCTDEC
Nunuhara Cabbage edited this page 2020-05-02 08:05:12 -07:00

.STRUCTDEC <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

Decrement the value of a struct member.

Macro Expansion

.STRUCTDEC struct_name member_name

Expands to,

PUSHSTRUCTPAGE
PUSH <memberno>
DEC

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