Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
tachyonbeam
5y ago
0 comments
Save
Share
What happens if you try to read from a null pointer in DOS?
0 comments
3 comments · 2 top-level
top
newest
oldest
vngzs
5y ago
· 1 in thread
I haven't actually tried this, but based on my understanding of the MS-DOS memory model it should read the contents of memory at address 0.
hvdijk
5y ago
This is correct, and address 0 is the start address of the interrupt vector table, so there are good reasons why you might read from it.
pas
5y ago
You get what is at 0x0000 ?
j
/
k
navigate · click thread line to collapse