0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-09-22 10:43:39 -04:00
H. Peter Anvin (Intel) 5e3d741b00 preproc: introduce alias smacros, cleanups
Introduce "alias smacros", which are the smacro equivalent of
symlinks; when used with the various smacro-defining and undefining
directives, they affect the macro they are aliased to. Only explicit
%defalias, %idefalias, and %undefalias affect them.

This is intended for being able to rename macros while retaining the
legacy names.

This patch also removes an *astonishing* amount of duplicated
code:

1. Every caller to defined_smacro() and undef_smacro() would call
   get_ctx() to mangle the macro name; push that into those functions.
2. Common code to get an smacro identifier.
3. Every code path that returns DIRECTIVE_FOUND also has to do
   free_tlist(origline); make it do so.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2019-08-14 23:50:37 -07:00
2010-04-25 12:02:38 +04:00
2019-08-14 21:29:21 -07:00
2019-08-09 13:30:19 -07:00
2019-08-09 13:30:19 -07:00
2019-08-09 13:30:19 -07:00
2019-08-09 16:18:51 -07:00
2018-10-17 21:40:14 +03:00
2007-11-25 14:25:13 -08:00
2010-08-12 20:15:27 -07:00
2018-10-17 21:40:14 +03:00
2010-10-03 21:02:08 +04:00
2018-12-30 07:56:59 -08:00
2019-08-09 13:30:19 -07:00

NASM, the Netwide Assembler

master

Many many developers all over the net respect NASM for what it is: a widespread (thus netwide), portable (thus netwide!), very flexible and mature assembler tool with support for many output formats (thus netwide!!).

Now we have good news for you: NASM is licensed under the "simplified" (2-clause) BSD license. This means its development is open to even wider society of programmers wishing to improve their lovely assembler.

Visit our nasm.us website for more details. We are gradually moving services away from Sourceforge. For our remaining Sourceforge services see here.

With best regards, the NASM crew.

Description
A cross-platform x86 assembler with an Intel-like syntax.
https://www.nasm.us/
Readme BSD-2-Clause 12 MiB
Languages
Assembly 55.1%
C 39%
Perl 3.1%
Makefile 0.7%
M4 0.7%
Other 1.4%