[Coco] Pop PC with empty stack?

Arthur Flexser flexser at fiu.edu
Tue Apr 6 23:17:20 EDT 2010


On Tue, Apr 6, 2010 at 9:53 PM, Gene Heskett <gene.heskett at verizon.net>wrote:

> >I knew about PULS PC being basically the same as an RTS, but it had me
> >confused because I couldn't find a BSR or LBSR in the chain leading to
> > that label. I finally found an LBSR in the chain this morning after I got
> > some sleep last night. It's just not such a straight-forward LBSR ->
> > label, blah blah, RTS. It's more like LBSR -> label, branch and
> > conditional branch several times, and the RTS is in a conditional branch
> > at the end of the module.
>
> Wow.  That code is likely to never be fully understood by anyone but the
> author, and if 90 days has expired since he wrote it, all bets are off.
>
In fairness to the author, the source code may be extremely well commented,
for all we know, and readily understandable by the author and others.  It's
hardly fair to expect assembler to be written in such a way as to be easy to
follow when someone without access to the source disassembles it.

Art



More information about the Coco mailing list