www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/03/12:09:49

Xref: news-dnh.mv.net comp.os.msdos.djgpp:4097
Path: news-dnh.mv.net!mv!news.sprintlink.net!news.bluesky.net!solaris.cc.vt.edu!news.mathworks.com!fu-berlin.de!news.belwue.de!news.dfn.de!news.ruhr-uni-bochum.de!news.rwth-aachen.de!uni-paderborn.de!CIP3.uni-paderborn.de!sp_kw
From: sp_kw AT physik DOT uni-paderborn DOT de (Karl-Heinz Wietzke)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 'rep stosw'
Date: Wed, 3 Jan 1996 11:48:08
Organization: Universitaet Paderborn
Lines: 17
Message-ID: <sp_kw.118.000BCD69@physik.uni-paderborn.de>
References: <01BAD9A3 DOT BBC29C60 AT ppp00 DOT mimer DOT no>
NNTP-Posting-Host: cip3.uni-paderborn.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <01BAD9A3 DOT BBC29C60 AT ppp00 DOT mimer DOT no> 
=?iso-8859-1?Q?Bj=F8rn_Vidar_Remme?= <bjorem01 AT mimer DOT no> writes:

>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 ????
"rep" and "stosw" are two! instructions, they have to be separated by either
a ";" or "\n".

asm("rep; stosw") or asm("rep \n stosw") do work 
------
Karl-Heinz Wietzke           sp_kw AT physik DOT uni-paderborn DOT de

- Raw text -


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