News:

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

MMX error

Started by RuiLoureiro, December 26, 2008, 03:31:06 PM

Previous topic - Next topic

RuiLoureiro

Hi
    I am using MMX registers but when i assemble ASM file i get this:

Assembling: C:\MASM32\RCLLIB3\Cnv2.asm
C:\MASM32\RCLLIB3\Cnv2.asm(648) : error A2006: undefined symbol : mm0
C:\MASM32\RCLLIB3\Cnv2.asm(649) : error A2006: undefined symbol : mm1
C:\MASM32\RCLLIB3\Cnv2.asm(650) : error A2006: undefined symbol : mm2
C:\MASM32\RCLLIB3\Cnv2.asm(651) : error A2006: undefined symbol : mm3
C:\MASM32\RCLLIB3\Cnv2.asm(700) : error A2006: undefined symbol : mm0
C:\MASM32\RCLLIB3\Cnv2.asm(701) : error A2006: undefined symbol : mm1
C:\MASM32\RCLLIB3\Cnv2.asm(702) : error A2006: undefined symbol : mm2
C:\MASM32\RCLLIB3\Cnv2.asm(703) : error A2006: undefined symbol : mm3

The Cnv2 file begin with this:
;====================================
; Ficheiro:     Cnv2.asm
; «««««««««««««««««««««««««««««««««««
    .686
   .mmx   
    .model flat, stdcall            ; memory model & calling convention
    option casemap :none      ; case sensitive

    Whats going on ?
    Thanks
Rui       

RuiLoureiro

    Solved:

   .686
   .model flat, stdcall            ; memory model & calling convention
    option casemap :none      ; case sensitive
   .mmx

Rui

Dj Ninja

place the .mmx (and .xmm) directive(s) below option casemap:none - i had some problems with this because i placed .mmx and .xmm above option casemap.