how can i do to use it in tasm
it is tasm 5.0r (the patched 5.0)
how can i implement the MMX instructions if tasm assambler do not support it

i 'd really want to use tasm
please help me thanks
Posted on 2002-12-02 14:38:57 by Thor0Asgard
Thor0Asgard, I dont know much about Tasm. But IIRC it doesnt
support mmx/xmm directives. You need a macro wich you can find here:
http://www.agner.org/assem/macros.zip
Posted on 2002-12-02 14:47:18 by natas
here's a log file of my prog making

Turbo Assembler Version 5.0r Copyright (c) 1988, 1996 Borland International
Serial No: Tester:

Assembling file: test.asm
MMXDEF packssdw, 06BH
*Warning* e:\inc\MMX.ASI(148) MMXDEF(1) Reserved word used as symbol: PACKSSDW
MMXDEF packsswb, 063H
*Warning* e:\inc\MMX.ASI(149) MMXDEF(1) Reserved word used as symbol: PACKSSWB
MMXDEF packuswb, 067H
*Warning* e:\inc\MMX.ASI(150) MMXDEF(1) Reserved word used as symbol: PACKUSWB
MMXDEF paddb, 0FCH
*Warning* e:\inc\MMX.ASI(151) MMXDEF(1) Reserved word used as symbol: PADDB
MMXDEF paddd, 0FEH
*Warning* e:\inc\MMX.ASI(152) MMXDEF(1) Reserved word used as symbol: PADDD
MMXDEF paddsb, 0ECH
*Warning* e:\inc\MMX.ASI(153) MMXDEF(1) Reserved word used as symbol: PADDSB
MMXDEF paddsw, 0EDH
*Warning* e:\inc\MMX.ASI(154) MMXDEF(1) Reserved word used as symbol: PADDSW
MMXDEF paddusb, 0DCH
*Warning* e:\inc\MMX.ASI(155) MMXDEF(1) Reserved word used as symbol: PADDUSB
MMXDEF paddusw, 0DDH
*Warning* e:\inc\MMX.ASI(156) MMXDEF(1) Reserved word used as symbol: PADDUSW
MMXDEF paddw, 0FDH
*Warning* e:\inc\MMX.ASI(157) MMXDEF(1) Reserved word used as symbol: PADDW
MMXDEF pand, 0DBH
*Warning* e:\inc\MMX.ASI(158) MMXDEF(1) Reserved word used as symbol: PAND
MMXDEF pandn, 0DFH
*Warning* e:\inc\MMX.ASI(159) MMXDEF(1) Reserved word used as symbol: PANDN
MMXDEF pcmpeqb, 074H
*Warning* e:\inc\MMX.ASI(160) MMXDEF(1) Reserved word used as symbol: PCMPEQB
MMXDEF pcmpeqd, 076H
*Warning* e:\inc\MMX.ASI(161) MMXDEF(1) Reserved word used as symbol: PCMPEQD
MMXDEF pcmpeqw, 075H
*Warning* e:\inc\MMX.ASI(162) MMXDEF(1) Reserved word used as symbol: PCMPEQW
MMXDEF pcmpgtb, 064H
*Warning* e:\inc\MMX.ASI(163) MMXDEF(1) Reserved word used as symbol: PCMPGTB
MMXDEF pcmpgtd, 066H
*Warning* e:\inc\MMX.ASI(164) MMXDEF(1) Reserved word used as symbol: PCMPGTD
MMXDEF pcmpgtw, 065H
*Warning* e:\inc\MMX.ASI(165) MMXDEF(1) Reserved word used as symbol: PCMPGTW
MMXDEF pmaddwd, 0F5H
*Warning* e:\inc\MMX.ASI(166) MMXDEF(1) Reserved word used as symbol: PMADDWD
MMXDEF pmulhw, 0E5H
*Warning* e:\inc\MMX.ASI(167) MMXDEF(1) Reserved word used as symbol: PMULHW
MMXDEF pmullw, 0D5H
*Warning* e:\inc\MMX.ASI(168) MMXDEF(1) Reserved word used as symbol: PMULLW
MMXDEF por, 0EBH
*Warning* e:\inc\MMX.ASI(169) MMXDEF(1) Reserved word used as symbol: POR
MMXDEF psubb, 0F8H
*Warning* e:\inc\MMX.ASI(170) MMXDEF(1) Reserved word used as symbol: PSUBB
MMXDEF psubd, 0FAH
*Warning* e:\inc\MMX.ASI(171) MMXDEF(1) Reserved word used as symbol: PSUBD
MMXDEF psubsb, 0E8H
*Warning* e:\inc\MMX.ASI(172) MMXDEF(1) Reserved word used as symbol: PSUBSB
MMXDEF psubsw, 0E9H
*Warning* e:\inc\MMX.ASI(173) MMXDEF(1) Reserved word used as symbol: PSUBSW
MMXDEF psubusb, 0D8H
*Warning* e:\inc\MMX.ASI(174) MMXDEF(1) Reserved word used as symbol: PSUBUSB
MMXDEF psubusw, 0D9H
*Warning* e:\inc\MMX.ASI(175) MMXDEF(1) Reserved word used as symbol: PSUBUSW
MMXDEF psubw, 0F9H
*Warning* e:\inc\MMX.ASI(176) MMXDEF(1) Reserved word used as symbol: PSUBW
MMXDEF punpckhbw, 068H
*Warning* e:\inc\MMX.ASI(177) MMXDEF(1) Reserved word used as symbol: PUNPCKHBW
MMXDEF punpckhdq, 06AH
*Warning* e:\inc\MMX.ASI(178) MMXDEF(1) Reserved word used as symbol: PUNPCKHDQ
MMXDEF punpckhwd, 069H
*Warning* e:\inc\MMX.ASI(179) MMXDEF(1) Reserved word used as symbol: PUNPCKHWD
MMXDEF punpcklbw, 060H
*Warning* e:\inc\MMX.ASI(180) MMXDEF(1) Reserved word used as symbol: PUNPCKLBW
MMXDEF punpckldq, 062H
*Warning* e:\inc\MMX.ASI(181) MMXDEF(1) Reserved word used as symbol: PUNPCKLDQ
MMXDEF punpcklwd, 061H
*Warning* e:\inc\MMX.ASI(182) MMXDEF(1) Reserved word used as symbol: PUNPCKLWD
MMXDEF pxor, 0EFH
*Warning* e:\inc\MMX.ASI(183) MMXDEF(1) Reserved word used as symbol: PXOR
MMSHIFTDEF PSLLW, 0F1H, 71H, SI
*Warning* e:\inc\MMX.ASI(186) MMSHIFTDEF(1) Reserved word used as symbol: PSLLW
MMSHIFTDEF PSLLD, 0F2H, 72H, SI
*Warning* e:\inc\MMX.ASI(187) MMSHIFTDEF(1) Reserved word used as symbol: PSLLD
MMSHIFTDEF PSLLQ, 0F3H, 73H, SI
*Warning* e:\inc\MMX.ASI(188) MMSHIFTDEF(1) Reserved word used as symbol: PSLLQ
MMSHIFTDEF PSRAW, 0E1H, 71H, SP
*Warning* e:\inc\MMX.ASI(189) MMSHIFTDEF(1) Reserved word used as symbol: PSRAW
MMSHIFTDEF PSRAD, 0E2H, 72H, SP
*Warning* e:\inc\MMX.ASI(190) MMSHIFTDEF(1) Reserved word used as symbol: PSRAD
MMSHIFTDEF PSRLW, 0D1H, 71H, DX
*Warning* e:\inc\MMX.ASI(191) MMSHIFTDEF(1) Reserved word used as symbol: PSRLW
MMSHIFTDEF PSRLD, 0D2H, 72H, DX
*Warning* e:\inc\MMX.ASI(192) MMSHIFTDEF(1) Reserved word used as symbol: PSRLD
MMSHIFTDEF PSRLQ, 0D3H, 73H, DX
*Warning* e:\inc\MMX.ASI(193) MMSHIFTDEF(1) Reserved word used as symbol: PSRLQ
MOVD MACRO OP1, OP2
*Warning* e:\inc\MMX.ASI(196) Reserved word used as symbol: MOVD
MOVQ MACRO OP1, OP2
*Warning* e:\inc\MMX.ASI(218) Reserved word used as symbol: MOVQ
EMMS MACRO
*Warning* e:\inc\MMX.ASI(240) Reserved word used as symbol: EMMS
Error messages: None
Warning messages: 47
Passes: 2


does it mean that TASM 5.0r support MMX instructions and if yes how can i enable them into my prog 'cause .MMX .XMM .MXM doesn't work

thanks and please help me
Posted on 2002-12-02 15:17:29 by Thor0Asgard
The error messages you get when compiling probably occurs
because it already supports those instructions. And the macro is
trying to redefine a reserved word(instruction).

Well as I previosly stated I dont use TASM at all. But have you tried
to just use the MMX instructions without any special directive(.MMX, etc.)?
Because I think the version you have supports it. Tho I could be wrong.

Another MMX macro: ftp://ftp.simtel.net/pub/simtelnet/msdos/asmutl/mmxtasm0.zip
Posted on 2002-12-02 15:35:24 by natas
Turbo Assembler Version 5.0r Copyright (c) 1988, 1996 Borland International
Serial No: Tester:

Assembling file: test.asm
movq mm1,data641
**Error** test.asm(129) Illegal instruction for currently selected processor(s)
Error messages: 1
Warning messages: None
Passes: 2

tasm 5.0r doesn't support .686
so i've used .586 and .586p
.486 and .486p
.386 and .386p

but still have this message wich is not incorrect instruction but just soething deals with the processor definition.

don't know what i can do....
Posted on 2002-12-02 15:48:58 by Thor0Asgard
Well all I can say is try the other macro link i provided.
And If there is any readme files i suggest you read them.

I found the link above here: http://www.faqs.org/faqs/assembly-language/x86/borland/section-8.html
It says you need to use IDEAL mode.
Posted on 2002-12-02 15:57:31 by natas
i tought that i had 5.2 everywhere but i've changed the way that i build y project anc copy an old bin dir wich contain 5.0r tasm32.exe

i've copy tasm52.exe into my dir change my batch
and voil? !

so tasm 5.2 support .686 instructions set and .MMX

i can sent anyone who wants or post it to the heap
Posted on 2002-12-02 16:35:10 by Thor0Asgard