Mail Archives: djgpp/1997/11/14/21:13:49
Greetings,
I had, yesterday, posted some NASM code that seemed to
disable interrupts in protected mode. It turns out after
some watching with fsdb that there is a bug in NASM,
which has nothing to do with interrupts.
When I push a segment register
push cs
the stack pointer gets decremented by 4 instead of 2.
This screws up the stack and pops the wrong eflags
which clears the i-flag.
If any NASM watcher/user has a patch for this, I
would be grateful for pointers.
Thanks in advance
- Raw text -