3 ms·
PDP-11 architechture [1] has a "jmp" that is a variant of "mov". And "push", "pop", and even "ret" are too. Also this beauty: MOV -(PC), -(PC) This is a 1-w
by kees99 7y ago
PDP-11 architechture [1] has a "jmp" that is a variant of "mov". And "push", "pop", and even "ret" are too. Also this beauty:
MOV -(PC), -(PC)
This is a 1-word self-replicating program that (when run from the topmost RAM address) will clobber entire RAM by copying itself all over it.
[1] https://en.wikipedia.org/wiki/PDP-11_architecture#Addressing_modes https://en.wikipedia.org/wiki/PDP-11_architecture#Addressing...