A trap is an interrupt which occurs as a result of some action taken by the program - such as setting the single step flag, executing an INTO instruction, or issuing a break point interrupt. Unless you are doing something relatively specialised, such as writing a degugger, you seldom if ever...