NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: dalfonso01 on May 15, 2014, 12:06:27 PM
-
Hi,
I know some , but not all. I noticed that in vi (nasm.vim) this are all in a:
syn keyword nasmInstructnError CMPS MOVS LCS LODS STOS XLAT
instead of
syn keyword nasmStdInstruction ....
and that are not shown as the others but with a orange color.
I already know xlat at least, I was going in the subject these weeks.
I will ask to vi community about the reason, but are they all legal?
Thanks
Fabio D'Alfonso
-
With the exception of "xlat" (alias for "xlatb"), I don't think any of them are valid in Nasm. "cmpsb", "cmpsw", and "cmpsd" (etc.) are valid. Easiest way to tell is probably to try 'em.
Best,
Frank
-
Hi,
thanks.
I moved only XLAT out of the error directive to a standard instruction e left the others there. I will check later but meanwhile I trust you.
Thanks
Fabio D'Alfonso