🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.intel
Article #1345

Re: Need help in porting 8088/286 assembly code to 386.

#1345
From: Peter da Silva
Date: Mon, 24 Jun 1991 18:48
19 lines
1557 bytes
In article <1991Jun24.160828.6047@ima.isc.com> suitti@ima.isc.com (Stephen Uitti) writes:
> In article <1991Jun21.161443.13880@kofax.uucp> jdm@kofax.uucp (James D. Murray) writes:
> >realizing the changes that must be made to 8086/80286 assembly code
> >to make it 80386-only.
> >	I'm told that I need to do away with the lds and les instructions
> >and rewrite code that considers the segement in address calculations.

> My guess is that if the code ran on an 8088, it should run
> reasonably quickly on a '386 without changes.  The 386/25 on my
> desk runs 20 times faster than my 8088/4.77 at home.  Can an
> additional 10%-50% going to buy anyone anything?

Well, if the code uses segments extensively you can expect as much as a
factor of 10 slowdown because of the extra costs involved in doing
segment calculations. We have code here that runs slower on the 386
than on the 286 because of this.
-- 
Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"
Technical Details
Message-ID: <N_4C5L7@xds13.ferranti.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!ficc!peter
References: <1991Jun21.161443.13880@kofax.uucp> <1991Jun24.160828.6047@ima.isc.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.intel,alt.lang.asm
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!ficc!peter
From: peter@ficc.ferranti.com (Peter da Silva)
Subject: Re: Need help in porting 8088/286 assembly code to 386.
Message-ID: <N_4C5L7@xds13.ferranti.com>
Reply-To: peter@ficc.ferranti.com (Peter da Silva)
Organization: Xenix Support, FICC
References: <1991Jun21.161443.13880@kofax.uucp> <1991Jun24.160828.6047@ima.isc.com>
Date: Mon, 24 Jun 91 18:48:32 GMT