@tomjennings The simple 1802 way to implement subroutines is to change which gen...

@brouhaha@mastodon.social

@tomjennings
The simple 1802 way to implement subroutines is to change which general reg is the program counter. Subroutines changes it back to return. Suitable for only programs with simple call chains.
RCA had a method (Standard Call/Return Procedure, or something like that) using a software maintained stack, which unfortunately made calls and returns extremely slow.
CDP1804/05/06 added real call and return instructions.