ALIAS directive creates an alias for a symbol.
is the name of the symbol to create an alias for.
is the name of the alias to be created.
be defined in the source file before creating an alias for it. Properties
set by the
are not inherited by
so you must use
you want to make the alias available outside the current source
file. Apart from the properties set by the
baz bar PROC BX lr ENDP ALIAS bar,foo ; foo is an alias for bar EXPORT bar EXPORT foo ; foo and bar have identical properties ; because foo was created using ALIAS EXPORT baz ; baz and bar are not identical ; because the size field of baz is not set
EXPORT bar IMPORT car ALIAS bar,foo ; ERROR - bar is not defined yet ALIAS car,boo ; ERROR - car is external bar PROC BX lr ENDP