| ▲ | fortran77 11 hours ago | |
Back when I did IBM 370 BAL Assembly Language, we did the same thing to clear a register to zero.
vs
This was alleged to be faster on the 370 because because XR operated entirely within the CPU registers, and L (Load) fetched data from memory (i.e.., the constant came from program memory). | ||