Joined: 30 Nov 2013 Posts: 862 Location: The Universe
OK. Where is the second reference to register 2? Remember, the sole purpose of the example was to produce the register XREF report, not to execute, which it won't. I first noticed the bug in a 600 line program that produced a full page in the register XREF report. The example was minimal so the issue would obviously stand out.
I use S-cons quite a lot in my work, but not very often something like S(0(6)). Actually, it was SL2(0(6)), but there was no point in littering up the example with extraneous junk.