Re: Processor specific optimisations

Ulrich.Teichert@gmx.de
30 Jan 2002 20:40:32 -0500

          From comp.compilers

Related articles
[6 earlier articles]
Re: Processor specific optimisations jgd@cix.co.uk (2002-01-24)
Re: Processor specific optimisations thp@cs.ucr.edu (2002-01-24)
Re: Processor specific optimisations RLWatkins@CompuServe.Com (R. L. Watkins) (2002-01-24)
Re: Processor specific optimisations mpointie@eden-studios.fr (Mickaël Pointier) (2002-01-28)
Re: Processor specific optimisations rickh@capaccess.org (2002-01-28)
Re: Processor specific optimisations mpointie@eden-studios.fr (Mickaël Pointier) (2002-01-30)
Re: Processor specific optimisations Ulrich.Teichert@gmx.de (2002-01-30)
Re: Processor specific optimisations perle@cs.tu-berlin.de (2002-01-30)
Re: Processor specific optimisations mpointie@eden-studios.fr (Mickaël Pointier) (2002-02-06)
Re: Processor specific optimisations clc5q@cs.virginia.edu (Clark L. Coleman) (2002-02-06)
Re: Processor specific optimisations rickh@capaccess.org (2002-02-06)
| List of all articles for this month |
From: Ulrich.Teichert@gmx.de
Newsgroups: comp.compilers
Date: 30 Jan 2002 20:40:32 -0500
Organization: private Linux leaf site
References: 02-01-077 02-01-126 02-01-151
Keywords: optimize
Posted-Date: 30 Jan 2002 20:40:32 EST

rickh@capaccess.org (Rick Hohensee) writes:


[del]
>Ah, nice. Speaking of the 6502 and deliberately falling off the edge
>of the earth as a programming technique, has anyone ever used 6502
>"pre-indexed indirect" addressing? I didn't find any occurance of it
>in the C64 ROMs, 8k by Commodore and 8k by Microsoft.


I think I used it more than once with an zeroed X register to hold my
index in the Y register (yes, the 6502 has only two registers and they
are used quite differently). That way you could load the accumulator
indirectly, do something limited with which uses the X register and
store it indirectly over the Y register. I had to fight for every byte
and my data wasn't aligned at all....


But it was of limited use, yes.


HTH,
Uli
--
Dipl. Inf. Ulrich Teichert|e-mail: Ulrich.Teichert@gmx.de
Stormweg 24 |listening to:Something Good To Go By(The Decibels)
24539 Neumuenster, Germany|Cheap Excitement (Stratford Mercenaries)


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.