The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: RuiLoureiro on December 26, 2008, 03:31:06 PM

Title: MMX error
Post by: RuiLoureiro on December 26, 2008, 03:31:06 PM
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       
Title: Re: MMX error
Post by: RuiLoureiro on December 26, 2008, 07:39:57 PM
    Solved:

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

Rui
Title: Re: MMX error
Post by: Dj Ninja on December 28, 2008, 03:42:28 PM
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.