delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/14/00:18:22

Xref: news2.mv.net comp.os.msdos.djgpp:3811
From: brennan AT mack DOT rt66 DOT com (Brennan "Mr. Wacko" Underwood)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Q: asm rep instuctions
Date: 13 May 1996 17:28:01 -0600
Organization: None, eh?
Lines: 25
Message-ID: <4n8gi1$lgr@mack.rt66.com>
References: <4n5tj3$bb0 AT ns DOT cowboy DOT net>
NNTP-Posting-Host: mack.rt66.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <4n5tj3$bb0 AT ns DOT cowboy DOT net>,
James R. Ashley  <jimrthy AT cowboy DOT net> wrote:
>What's the syntax for 
>rep
>movsl ?
>
>(Brennan quotes it that way. According to info, movs is a
>sign extended move).
>

movsl means "move string long".

movsbl would be "sign extend move from byte to long".

Note the two size suffixes for the sign extend move. There's also a z
version, i.e. movzbl while zeroes the upper bits. Both of these are slow
on the 486 and Pentium but fast on the P6 (go figure.)


I should have responded to this a while ago, sorry. Been busy.


--Brennan
-- 
brennan AT rt66 DOT com  |  "He say you Brade Runna!"

- Raw text -


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