From: "Michael Stewart" 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.