Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2,comp.sys.apple2.programmer Subject: Assembler optimizations, was Re: Booting the right ProDOS 8 for any Apple II Date: Tue, 19 Jul 2016 22:35:32 -0000 (UTC) Organization: Mac GUI Lines: 14 Message-ID: References: <966efad4-000c-4619-9d4f-5da1e66b8f05@googlegroups.com> <12e582f7-61f8-4a6a-826f-29d446d9ded6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 19 Jul 2016 22:35:32 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="28133"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2gI/moZq5GCYNdrbEUKhA" User-Agent: Mac GUI Usenet In-Reply-To: <12e582f7-61f8-4a6a-826f-29d446d9ded6@googlegroups.com> Cancel-Lock: sha1:YeJ/vVlNl30AdEI4ewpnq3mHC/I= Xref: csiph.com comp.sys.apple2:28270 comp.sys.apple2.programmer:2842 Michael 'AppleWin Debugger Dev' wrote: > On Tuesday, July 19, 2016 at 2:10:09 PM UTC-7, Michael J. Mahon wrote: > >> You want a macro smart enough to peephole optimize redundant LDA #0's >> away, >> and to choose an unneeded register when available--more than most macros >> can handle. >> > > Ideally, yes, but considering the 6502 assemblers are pretty dumb with > optimizations (as far as I know they don't do any) Nor should they, I daresay.