0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-11-08 23:27:15 -05:00

Fix matching of branch instructions with prefixes and sizes

Matching of branch instructions with prefixes and sizes is, to say the
least, tricky. Work through it, and add a new macro to help.

Fixes: https://github.com/netwide-assembler/nasm/issues/144
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin (Intel)
2025-10-10 13:03:33 -07:00
parent 2c71e67762
commit a7457e66cf
22 changed files with 6875 additions and 100 deletions

View File

@@ -54,10 +54,9 @@ It is the production version of NASM since 2025.
\b Hopefully fix building with OpenWatcom.
\b Generate a warning, promoted to error by default, on the use of
\c{a64} or \c{o64} prefixes in 16- or 32-bit mode or \c{a16}
prefixes in 64-bit mode. Those prefixes are not encodable; if
demoted to a warning or suppressed the prefix is ignored, but
likely will generate additional, harder to debug, error messages.
\c{o64} prefixes in 16- or 32-bit mode. If demoted to a warning or
suppressed the prefix is ignored, but likely will trigger
subsequent, harder to debug, error messages.
\S{cl-3.00} Version 3.00