Page 1 of 1

EnableASM missing instructions

Posted: Sun Aug 24, 2014 11:25 am
by STARGĂ…TE
I miss some ASM (SSE) instructions in combination with EnableASM:

Code: Select all

EnableASM

ProcedureDLL.i V4_Add(*InOut, *In)
	MOV eax, [p.p_InOut]
	MOV edx, [p.p_In]
	MOVUPS xmm0, [eax] ; << Syntax error !!
	MOVUPS xmm1, [edx]
	ADDPS  xmm0, xmm1
	MOVUPS [eax], xmm0
	ProcedureReturn
EndProcedure

DisableASM
It is possible to add this SSE-instructions ?

Re: EnableASM missing instructions

Posted: Sun Aug 24, 2014 11:44 am
by wilbert
Just this morning I was thinking about doing the same request :)
It would indeed be nice if support for these instructions could be added.
Another issue is labels. When you define a PB label and use a JMP instruction with the name of the label, it doesn't work.
It would make sense if a !jmp with the exclamation mark would be left alone and wihtout the exclamation mark would be able to handle a PB label.

Re: EnableASM missing instructions

Posted: Sun Aug 24, 2014 1:25 pm
by luis
@STARGATE since this is not a feature request, maybe it was really intended as a question.

In that case, you can use SSE instructions by using the "!" passthrough to send the instructions directly to FASM.