delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/31/14:02:21

Mime-Version: 1.0
To: =?iso-8859-1?Q?=22F=E1bio_Diales_da_Rocha=22?= <crismafabio AT mail DOT telepac DOT pt>,
djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: >486 ASM in DJGPP
Date: Sun, 31 May 1998 09:45:27 -0700
Message-ID: <19980531164523.AAA29886@ppp117.cartsys.com>

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 <opcode>" 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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019