Next Chapter | Previous Chapter | Contents | Index
The
directive (see
section 4.6.4) includes one of
the standard macro packages included with the NASM distribution and
compiled into the NASM binary. It operates like the
directive (see
section 4.6.1), but the included
contents is provided by NASM itself.
The names of standard macro packages are case insensitive, and can be quoted or not.
altreg
: Alternate Register NamesThe
standard macro package provides
alternate register names. It provides numeric register names for all
registers (not just
-
), the
Intel-defined aliases
-
for the low
bytes of register (as opposed to the NASM/AMD standard names
-
), and the
names
-
(by
analogy with
-
)
for
,
,
, and
.
Example use:
%use altreg proc: mov r0l,r3h ; mov al,bh ret
See also section 11.1.