Fix movzx instruction syntax

nasm 2.16 was happy with it but it generates a bunch of errors in nasm3.
The generated binaries remain the same.
This commit is contained in:
Paulo Matos committed 2025-11-19 15:04:16 +01:00
1 parent 5ee190a41e
commit 8c4f6b648e
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@
%macro set_cw_precision_rounding 2
sub rsp, 2
fnstcw [rsp]
movzx ax, [rsp]
movzx eax, word [rsp]
; Precision
and eax, ~(3 << 8)