4 ms·
You can put the bounds immediately below the current stack pointer. Since the code runs in real mode, there is no separate "kernel stack", and any interrupt wil
by rep_lodsb 4y ago
You can put the bounds immediately below the current stack pointer. Since the code runs in real mode, there is no separate "kernel stack", and any interrupt will overwrite the values with flags+CS+IP, which you have some control over.