OP Here
Sometimes for certain instructions it also gives the "Symbol ... redefined" error
Here is my input file:---------------------------
? 1 cvtsi2sd xmm1,[eax]
2 cvtsi2sd xmm1,dword [eax]
3 cvtsi2sd xmm1,qword [eax]
4
5 cvtsi2sd xmm1,[rax]
6 cvtsi2sd xmm1,dword [rax]
7 cvtsi2sd xmm1,qword [rax]
8
9 ;********************************************#
10
11 vcvtsi2sd xmm1,xmm2, [eax]
12 vcvtsi2sd xmm1,xmm2,dword [eax]
13 vcvtsi2sd xmm1,xmm2,qword [eax]
14
15 vcvtsi2sd xmm1,xmm2, [rax]
16 vcvtsi2sd xmm1,xmm2,dword [rax]
17 vcvtsi2sd xmm1,xmm2,qword [rax]
18
----------------------------------------------------
This is my output from nasm:----------------------------
?in3.s:11: error: parser: instruction expected
in3.s:12: error: symbol `vcvtsi2sd' redefined
in3.s:12: error: parser: instruction expected
in3.s:13: error: symbol `vcvtsi2sd' redefined
in3.s:13: error: parser: instruction expected
in3.s:15: error: symbol `vcvtsi2sd' redefined
in3.s:15: error: parser: instruction expected
in3.s:16: error: symbol `vcvtsi2sd' redefined
in3.s:16: error: parser: instruction expected
in3.s:17: error: symbol `vcvtsi2sd' redefined
in3.s:17: error: parser: instruction expected
----------------------------------------------------------