mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
Officially the syntax for TEST is "rm,reg"; however TEST is commutative in every aspect, and as such "reg,mem" is an equivalent form that NASM has also supported in the past. Reinstate it properly. Fixes: https://bugzilla.nasm.us/show_bug.cgi?id=3392962 Reported-by: E. C. Masloch <pushbx@ulukai.org> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>