News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

SSE2 in masm32 v11.0

Started by kypck, April 22, 2012, 06:55:14 PM

Previous topic - Next topic

kypck

Hello, i try to use SSE2 in masm32, but it doesn't work. For example, this code:

.686   
.xmm
.model flat, stdcall

.data
m dd 4.5

.code
CVTSS2SD xmm(0), m
movss m, xmm(0)
..............................


give me this error: "error A2008: syntax error: xmm"

How to fix it??

jj2007

Syntax is xmm0, not xmm(0).

Welcome to the forum :thumbu

kypck

Thx :)

When i write xmm(0) it say: "undefined symbol xmm0".
It works right only with XMM0 or xmm(0)


jj2007

Early assembler versions are a bit picky re case of XMM. Try JWasm.

kypck

Problem solved by updating ml.exe to 6.15 and it's works good :)
Thx for your answers

hutch--

Its worth the effort to get the latest version of ML.EXE from Microsoft. The download is very large but you get the latest version of all of the Microsoft tools with it, CL, ML, LINK etc ....
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php