Date: Thu, 13 Nov 1997 12:04:54 +0000 ( ) From: "Gurunandan R. Bhat" To: djgpp AT delorie DOT com Cc: anakin AT pobox DOT com Subject: Bug in NASM (possibly old) Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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