0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00

preproc: add a %selbits() function

Although one can implement this "manually" in terms of %sel(), this
function is *really* useful for making multi-mode tests and allows for
better error checking.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin
2025-10-07 09:17:59 -07:00
parent e4044cfc48
commit f1b6d3188c
3 changed files with 73 additions and 23 deletions

View File

@@ -31,6 +31,8 @@ It is the production version of NASM since 2025.
now be specified for the same group; the resulting group includes
all sections specified in all \c{GROUP} directives for the group.
\b A new \c{%selbits()} preprocessor function. See \k{f_selbits}.
\S{cl-3.00} Version 3.00