Comment on A brief tour of the PDP-11, the most influential minicomputer of all time (2022)Comments−PopePompus2moWhat happened if you used auto-decrement addressing with the PC? Did that hang the computer?−Taniwha2moYup, as mentioned above the famous:x: mov -(pc), -(pc)reads an instruction from x, increments the PC to x+2, then decrements the PC back to x and reads the same instruction, then decrements it again to x-2 and writes it, then it executes from x-2 ......
Comments
What happened if you used auto-decrement addressing with the PC? Did that hang the computer?
Yup, as mentioned above the famous:
x: mov -(pc), -(pc)
reads an instruction from x, increments the PC to x+2, then decrements the PC back to x and reads the same instruction, then decrements it again to x-2 and writes it, then it executes from x-2 ......