News for hackers. Stuff that matters.
Re:How recursion got into Algol 60: a comedy of errors by hellbanner on Thursday August 27, 2015 @11:35PM (#10133614)
Can you explain this a bit? I read http://docs.oracle.com/cd/E19455-01/806-3773/instructionset-... but I'm not sure I follow what X32 is.. times 32?
Re:How recursion got into Algol 60: a comedy of errors by shiro on Friday August 28, 2015 @05:56AM (#10134532)
"X32:" etc. are labels, e.g. just names of functions or destinations of jump. Suppose you want to multiply A-reg by 4. Your code calls subroutine X4. That's immediately calls subroutine X2 (BSR X2), which doubles A (ADD A), and return. The return location is the next instruction of BSR X2--which is actually overlapping the subroutine X2. It doubles A again (ADD A), and returns to your code.
Re:How recursion got into Algol 60: a comedy of errors by UnquietTinkerer on Saturday August 29, 2015 @12:11PM (#10140451)
I think BSR here stands for "branch to subroutine", i.e. CALL.