Re: C Compiler Code Quality
- Impressive. That looks real good.
--- In email@example.com, bill rowe <bill_rowe_ottawa@...> wrote:
> I'm pretty pleased with the 1802 code coming out of the compiler. It's a long way from the likes of GCC or SDCC but it's way better than something like small-C. Rather than futz with code formatting here, I've put a sample online:
> There's a fundamental problem in that the compiler implicitly thinks that registers are the bees knees and storage is freely addressable. My only defense against that is using register variables. I currently have 3 registers available as variables and 4 temps. I may try adjusting that to see what results I get. It wouldn't help the queens snippet much though.