Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" To: =?iso-8859-1?Q?=22F=E1bio_Diales_da_Rocha=22?= , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: >486 ASM in DJGPP Date: Sun, 31 May 1998 09:45:27 -0700 Message-ID: <19980531164523.AAA29886@ppp117.cartsys.com> Content-Transfer-Encoding: 8bit Precedence: bulk At 10:47 5/29/1998 GMT, Fábio Diales da Rocha wrote: > Does anyone know how to pass parameters to user define opcodes in inline >djgpp asm? > > Ie, if I wanted to do something like: > PADD %%mm0, _a64bitmemvar > > How would I do it? I know about using the ".byte " directive to >put the PADD itself but how do I pass the _a64bitmemvar? You would have to look up somewhere the form of a memory reference. www.intel.com could probably help. However, if you have Binutils 2.8.1 or above, the assembler supports MMX instructions, so you could probably do it directly. Note that I believe there is currently a bug whereby it generates the wrong opcode for PADD. But the port of 2.9 should soon be available. Nate Eldredge nate AT cartsys DOT com