6502/Z80 speed comparison (was MITS 2SIO serial chip?)

From: Richard Erlacher <edick_at_idcomm.com>
Date: Sat Dec 22 19:27:00 2001

Let's leave compilers out of the equation. Even the same small-C compiler,
targeted at the two quite different CPU's potentially represent a significant
skew in favor of one or another of the two.

Dick

----- Original Message -----
From: "Ben Franchuk" <bfranchuk_at_jetnet.ab.ca>
To: <classiccmp_at_classiccmp.org>
Sent: Saturday, December 22, 2001 1:16 AM
Subject: Re: 6502/Z80 speed comparison (was MITS 2SIO serial chip?)


> CLeyson_at_aol.com wrote:
> <snip>
> > Here is the code from Numerical Recipies for an insertion sort (Fortran and
C)
> <snip>
> > {
> > int i,j;
> > float a;
> > for (j=2;j<=n;j++) {
> > a=arr[j];
> > i=j-1;
> > while (i>0 && arr[i] > a );
> > arr[i+1] = arr[i];
> > i--;
> > }
> > arr[i=1]=a;
> > }
> > }
> > Ignore the floats and reals for the data, they should be ints or chars for
the
> > purposes of our 6502/Z80 benchmark.
> Do they have the "Small C Compiler" for the 6502? I know you can get a
> Z80 or 8080
> compiler under CP/M. Note the version #1 does not have for or &&
> instructions.
> Also BYTE years ago I think had some Small C benchmarks, any body know
> if there
> is a copy on the web?
> --
> Ben Franchuk --- Pre-historic Cpu's --
> www.jetnet.ab.ca/users/bfranchuk/index.html
>
>
Received on Sat Dec 22 2001 - 19:27:00 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:33:41 BST