delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/18/12:45:29

From: "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why dosn't my asm getpixel() work?
Date: Fri, 18 Jun 1999 09:20:35 +0100
Organization: (Posted via) Netcom Internet Ltd.
Message-ID: <7kcvfu$3sk$1@taliesin.netcom.net.uk>
References: <3766f436 DOT 5083819 AT nntpserver DOT swip DOT net> <3768394B DOT 4C9E319E AT cartsys DOT com> <376981c9 DOT 8709864 AT nntpserver DOT swip DOT net>
NNTP-Posting-Host: hgty.capgemini.co.uk
X-Trace: taliesin.netcom.net.uk 929694014 3988 194.42.240.2 (18 Jun 1999 08:20:14 GMT)
X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk
NNTP-Posting-Date: 18 Jun 1999 08:20:14 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Lines: 12
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>>4. This code will run faster if you use the 32-bit registers and
>>instructions.  In protected mode, there is a 1-cycle penalty on each
>>16-bit instruction.
>>
>But then I'll have to use a long int instead of short? Will it still
>be faster?


DJGPP ints are 32bit and they are faster than using a short.



- Raw text -


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