Interrupt:
Interrupts caused by processor external events are called external interrupts, also known as interrupts. In x86, it is called an asynchronous interrupt, which is generated randomly with the CPU clock, and can occur in the execution of an instruction or after an instruction is executed. Includes I/O interrupts, external interrupts.
Capture:
Interrupts caused by internal processor events are called captures, which are referred to as anomalies in x86, also known as synchronous interrupts, including interrupt visits, procedural interrupts, and machine failures. A synchronous interrupt is worth being generated by the CPU control unit, which is the interrupt that is issued after an instruction is executed.
Different points:
Interrupts are caused by external events of the processor, and capture is caused by internal events.
Capture is always prioritized for response and processing in the event of simultaneous interrupts and capture requests. That is, the captured response sequence precedes the interrupt.
What is a break, what is capture, what is the difference between interruption and capture?