Trap – Computing Reference – eLook.org


Trap



1. A program interrupt, usually an interrupt caused by some exceptional situation in the user program.

In most cases, the OS performs some action, then returns control to the program.

2. To cause a trap.

“These instructions trap to the monitor.” Also used transitively to indicate the cause of the trap. “The monitor traps all input/output instructions.”

This term is associated with assembler programming (“interrupt” or “exception” is more common among HLL programmers) and appears to be fading into history among programmers as the role of assembler continues to shrink. However, it is still important to computer architects and systems hackers (see system, sense 1), who use it to distinguish deterministically repeatable exceptions from timing-dependent ones (such as I/O interrupts).

[Jargon File]

< Previous Terms Terms Containing trap Next Terms >
Transport Layer Security protocol
Transport Level Interface
Transport Service Access Point
transputer
TRANS-USE
Ada-O
AIDX
Analogy Model
back door
Basic Input/Output System
trap door
trap-door function
trash
Trash-80
traveling salesman problem
Read More
2 weeks ago
21
2 weeks ago
11
2 weeks ago
13

New Casinos
Best online casino games on Banger.casino! Play on mobile apps or desktop and win real money. ✓ Get your welcome bonus +125% UP TO €250 right now!

© Copyright 2024 | Elook.org