Open vcheckzen opened 1 year ago
Hi @vcheckzen ! It would appear you are correct. Apparently that code wasn't exercised by the test, so I didn't catch and correct it. Later versions have the correct opcode.
Feel free to submit a pull request for the fix since you found it.
Jim
https://github.com/DoctorWkt/acwj/blob/14e9397369dcd428ee7ba6dcf290407403f4c4e7/08_If_Statements/cgn.c#L157C68-L157C68
movzb
cannot be recognised by nasm, it should be substituted bymovzx
according to the nasm doc.