From: "GiLbI" Newsgroups: comp.os.msdos.djgpp Subject: rep Date: Sat, 25 Mar 2000 17:53:33 +0100 Organization: NGI - www.ngi.it - A Place to Play! Lines: 23 Message-ID: <8biqji$5fm$1@agnus.ngi.it> NNTP-Posting-Host: h213-26-247.pd1.albacom.net Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: agnus.ngi.it 954002866 5622 213.213.26.247 (25 Mar 2000 16:47:46 GMT) X-Complaints-To: news AT news DOT ngi DOT it NNTP-Posting-Date: 25 Mar 2000 16:47:46 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm porting some programs in asm from intel to AT&T and I cannot execute the rep instruction correctly the code is: mov ecx,153600 mov eax,0h repnz stosd and i've converted in movl $153600,%ecx movl $0,%eax stosl repnz why if i write repxx at the beginning of statement it isn't correct? (repnz stosl -> error) and why "stosl repnz" repeat 1 times instead 153600? code converted with ta2as is "rep: stosl", but always the iterations are only one. Thank