On Mon, Nov 4, 2024 at 4:06 AM Mychaela Falconia via cctalk
<[email protected]> wrote:
>
> Paul Koning wrote:
>
> > 1. Show a one-word PDP-11 program that writes all of memory, in reverse 
> > order.
>
> MOV -(PC),-(PC)

Does that work on all models of PDP11?

I had an idea that (as in C) the order of the decrements and reads was
not specified by the instruction set definition and that on some
machines (the 11/45?) it doubly decrements PC before reading or
storing.

-tony

Reply via email to