> On Nov 3, 2024, at 4:59 PM, Mychaela Falconia <fal...@freecalypso.org> wrote:
> 
> Paul Koning wrote:
> 
>> 1. Show a one-word PDP-11 program that writes all of memory, in reverse 
>> order.
> 
> MOV -(PC),-(PC)
> 
> I remember this one from late-Soviet/early-Russian BK0010 hacker clubs...
> BK0010 was a "home computer" built around 1801VM1 microprocessor, a
> Soviet implementation of basic PDP-11 instruction set.  No idea exactly
> which DEC model it corresponds to, if any.
> 
>> 2. Show a one-word PDP-11 program that clears all of memory,
>> in forward order, halting on completion.
> 
> This one I am struggling with - it's been too many decades since I did
> any PDP-11 assembly...

Hint: you get to pick the initial values of the registers.

        paul

Reply via email to