|
有这么一段英文:
The trap bit (T) can be set or cleared under program control.When trap,a processor trap will occur through location 14 on completion of instruction execution and a new Processor Status Word will be loaded.This bit is especially usefull for debugging programs as it provides an efficient method of installing breakpoints.
请问trap在这里指的是什么意思?一般翻译为“陷阱”或“俘获”。想知道这个位是怎么应用的呢?
这是PDP-11/40 Processor HandBook 里面的一段话,对应的寄存器如下:
15 14 13 12 11 8 7 5 4 3 2 1 0
--------------------------------------------------------------------
| | | | | T | N | Z | V | C |
--------------------------------------------------------------------
15,14:Current Mode
13,12revious Mode
7,6,5riority
4:Trap
3,2,1,0:Condition Codes
麻烦大家解答,谢谢! |
|