mov -(pc), -(pc) or 014747 in octal. It would fill all of memory with 014747.
mov -(pc), -(pc) or 014747 in octal. It would fill all of memory with 014747.
I built the PDP-11/70 emulator that controls the nuclear reactors in Ontario. That was 20 years ago and I'm probably still the youngest person who can read PDP-11 assembly (and the raw octal)
I made the fateful mistake of saying "Sure, sounds fun, how hard could it possibly be...?"
The FPGA emulator we made had to pass the xxdp test suite which was provided to me on punched tape and microfiche. The emulator had a specific test for FDIV overflow which even tested the accuracy of the partial result. None of the software emulators I tested did this. I emailed Gordon Bell who introduced me to Bob Supnkk, and we found the original flowcharts for it so I could replicate the divider logic precisely. Imagine a nuclear reactor dependent on this lol.
Indeed. Motorola's 68000 CPU took so much inspiration from the PDP-11's ISA, it was almost a spiritual successor. The 68000's 8/16-bit little brother, the 6809, widely considered the most powerful 8-bit CPU ever - was also heavily inspired by the PDP-11.
mov r1,-(sp)
mov $1024.,-(sp)
mov $outbuf,-(sp)
mov fout,-(sp)
jsr pc,_write
add $6,sp
mov (sp)+,r1
tst r0
bpl 2f
jmp wrterr