2 ms·
Try the Retrocomputing StackExchange, by the way. Here is smoething useful. I just randomly picked the IBM 704 (famous for early Lisp work) and researched the
by kazinator 5y ago
Try the Retrocomputing StackExchange, by the way.
Here is smoething useful. I just randomly picked the IBM 704 (famous for early Lisp work) and researched the architecture. I found this site:
https://sky-visions.com/ibm/ https://sky-visions.com/ibm/
It has info the 704 and other higher model numbers after that. Whereas no exclusive OR instruction is listed for the 704, it looks like 709 got one: opcode ERA, exclusive OR to accumulator. The 709 was introduced in 1957.
OK, we have identified a machine. Next we head to the Software Preservation Group for any code for the 709.
E.g. here is some code that uses ERA, but not for swapping:
http://www.softwarepreservation.org/projects/FORTRAN/source/ibsys/FORTRAN/9F06.fap/?searchterm=709 http://www.softwarepreservation.org/projects/FORTRAN/source/...
Looks like ERA was popular in 709 systems sources as a comparison operator: load a value into A, then XOR with some constant, and if it's zero, there is a match. I've spotted quite a few uses like that.