Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site water.UUCP
Path: utzoo!watmath!water!bahilchie
From: bahilchie@water.UUCP (Brian Hilchie)
Newsgroups: net.micro.cbm,net.micro.6809
Subject: Re: 6809 C vs. 6502 C
Message-ID: <104@water.UUCP>
Date: Sun, 4-Nov-84 00:35:25 EST
Article-I.D.: water.104
Posted: Sun Nov  4 00:35:25 1984
Date-Received: Mon, 5-Nov-84 06:35:22 EST
Organization: U of Waterloo, Ontario
Lines: 26

[]

> I'm not saying the 6809 is a superior micro to the other 8-bitters,
> but lots of other people have already....

This may seem blasphemous since I am a C64 owner, but the 6809 IS superior
to the 6502 (6510) in almost every way. A few examples: the 6809 has 16 bit
arithmetic and move instructions, 16 bit index and stack registers, auto
increment/decrement, movable zero page (direct page), multiply, etc, etc,
etc. I wish Commodore had gone with this chip; it sure would have made
life easier for us C64 programmers.

> 	Commodore 64 C:  28 sec  in original posting
> 	Coco OS-9 C:	 21 sec
> Bear in mind three things: (1) The Color COmputer clock rate is only 0.895 MHz;
> I'm sure the C-64 runs faster, so my result is even better than it looks.

A minor correction: my C runs the sieve in 26 seconds. This may be nit picking,
but when the times are this close every second counts. Anyway, the superior
architecture of the 6809 seems to compensate more than enough for the 
slightly slower clock. I will be interested in hearing the assembler results.


Brian Hilchie
{decvax|utzoo|ihnp4|allegra|clyde}!watmath!water!bahilchie