【发布时间】:2013-06-30 09:18:56
【问题描述】:
这是一道测试题。可能的答案是:
(a) Debug interrupt is always caused by an error, and int 80h isn't.
(b) Only on int 80h the returning address is saved.
(c) int 80h is always caused by an error and debug interrupt isn't.
(d) None of the above.
我唯一肯定的是 (c) 是错误的。
有人能解释一下两者之间的区别吗?
【问题讨论】:
-
我不知道“调试中断”是什么,我知道该术语没有标准含义。
int 80h所做的是特定于操作系统的。 -
我猜是“调试中断”,OP 的意思是
int 3h。另外,我可以向你保证 (b) 也是错误的,因为 any 中断保存了返回地址 -
@DrewMcGowen:它也可能是指
int 1,或异常中断,例如页面错误或被零除。