News for hackers. Stuff that matters.
Re:The Ten Commandments for C Programmers (1987) by asveikau on Saturday May 23, 2020 @11:52AM (#23283933)
16-bit x86 also had the interrupt handler table at linear address 0, I seem to recall some compilers for DOS that would make NULL point at that.
Re:The Ten Commandments for C Programmers (1987) by oriolid on Saturday May 23, 2020 @02:25PM (#23285180)
Yes. At least writing to interrupt vector table usually crashed your computer right at the point. I remember a certain DSP architecture that system flags near zero address. It was an interesting experience to debug a program that failed because a write to struct member through null pointer switched the machine to a different instruction set.