[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 6502 illegal opcodes questions
pausch@saaf.se (Paul Schlyter) writes:
>Once, many years ago, I attended some lectures on Ada optimization.
>The lecturer there said that, ideally, any program which has no input
>but only output should be optimized to a "print constant string" statement.
>I.e. such programs should actually be executed at compile time!
>Of course, that constant string might be very long.
Heaven help the compiler if there is an infinite loop involved ...
--
Cameron Kaiser * ckaiser@floodgap.com * posting with a Commodore 128
personal page: http://www.armory.com/%7Espectre/
** Computer Workshops: games, productivity software and more for C64/128! **
** http://www.armory.com/%7Espectre/cwi/ **