www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/19/14:31:02

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: can i SOMEHOW write inline assembly under DJGPP ?
Date: Wed, 19 Aug 1998 14:24:49 -0300
Organization: NBTel Internet
Lines: 18
Message-ID: <35DB0A61.28ECB6EF@unb.ca>
References: <35DA1049 DOT F66CB020 AT hotmail DOT com>
NNTP-Posting-Host: fctnts13c40.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

shay wrote:

> the REALY SHITTY part is that i have written in 16BIT DOS a VERY FAST
> copy function that i just LOVE because it doesn't check for all the
> thousands of errors and SHIT , it just copies FAST.

    DJGPP comes with a 'memcpy' command that uses optimized 32-bit mov's to
copy memory from one place to another.  If you were using a real 16-bit
compiler, you would have only been able to move 16-bit's at a time,
therefore memcpy would be twice as fast.

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca


- Raw text -


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