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

asm: new --bits option to set the processor mode on the command line

This is really just a shorthand for the --before option, but it is
really convenient for quickly writing multimode tests.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin
2025-10-07 09:56:20 -07:00
parent 2c63ab038c
commit fa43d8e01d
3 changed files with 27 additions and 3 deletions

View File

@@ -33,6 +33,9 @@ It is the production version of NASM since 2025.
\b A new \c{%selbits()} preprocessor function. See \k{f_selbits}.
\b A new \c{--bits} option as convenience shorthand for \c{--before
"BITS ..."}. See \k{opt-bits}.
\S{cl-3.00} Version 3.00