On 2/19/25 13:08, Gary Grebus via cctalk wrote:
On 2/17/25 12:30, Chuck Guzis via cctalk wrote:
One of most ingenious coding tricks to me was the
problem of saving and
restoring all registers without resorting to an exchange jump. We used
that one as a test for applicants.
Argh... I know I've seen this trick, but it's been too many years. How
about a hint?
It uses the RJ instruction to record register content, bit-by-bit.
Think about it--RJ is about the only instruction that can modify memory
without fiddling with the A6 and A7 registers.
--Chuck