经查阅Intel手册, INT指令不受IF影响, 特此记录。
Interrupts generated in software with the INT n instruction cannot be masked by the IF flag in the EFLAGS register.
—- Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3 6.3.3 Software-Generated Interrupts
发表评论