delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/05/14:30:05

From: elf AT netcom DOT com (Marc Singer)
Subject: Re: 'rep stosw'
To: bjorem01 AT mimer DOT no (=?iso-8859-1?Q?Bj=F8rn_Vidar_Remme?=)
Date: Fri, 5 Jan 1996 11:14:26 -0800 (PST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP List Alias)

> 
> 
> I tried this:
>                 asm ("rep stosw")
> 
> and the assembler complained:
>    ":62: Error: operands given don't match any known 386 instruction"
> 
> What am i doing wrong ????
> 
> 
>                                              -bjorn DOT vidar DOT remme AT mimer DOT no 
> 

I spent a few hours doing assembler work in GCC in order to optimize 
some compression code.  I found that the best method was to read
the asm info sections in the online GCC manual. 


-- 
Marc Singer      |                     If you give it water, it'll turn green.
elf AT netcom DOT com   |

- Raw text -


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