Hacker News new | past | comments | ask | show | jobs | submit
Here is a blog post describing how to do it with a PDP8. Note: he used an assembler but in those days you had do translate to machine code by hand.

https://raymii.org/s/articles/Toggling_in_a_simple_program_o...