
15 Mar
2022
15 Mar
'22
3:57 p.m.
On Tue, 15 Mar 2022 11:45:44 +1300, Peter Reutemann wrote:
https://arstechnica.com/gadgets/2022/03/a-brief-tour-of-the-pdp-11-the-most-...
Spot the mistake: MOV $65536, R0 / The highest value in 16 bits Also from my memory, this (note I prefer writing things in lowercase, not uppercase) begin: movb (r0)+, (r1)+ dec r2 bne begin (3 instructions, 6 bytes) can be shortened to begin: movb (r0)+, (r1)+ sob r2, begin (2 instructions, 4 bytes). It’s been a while since I had anything to do with PDP-11 assembly language. It could be that the very earliest models had no “sob” instruction, this was added later.