cpabort

Copy-Paste Abort

cpabort

Aborts any in-progress copy-paste operation, discarding any pending copy target set by a previous Copy instruction.

Details

The cpabort instruction aborts any copy-paste sequence that may be in progress. It clears any copy reservation that was established by a preceding copy instruction, ensuring that no paste operation can complete using that reservation. This instruction takes no operands and produces no output registers.

Pseudocode Operation

Not available in specification

Programming Note

Use cpabort to safely terminate an ongoing copy-paste sequence, preventing any subsequent paste operations from completing with the reserved data. This is useful in error handling scenarios where a copy operation needs to be aborted without allowing further processing of the copied data. Ensure that cpabort is called at the appropriate privilege level and consider its impact on performance if used frequently.

Example

cpabort

Encoding

Binary Layout
31
0
/
6
/
11
/
16
838
21
Rc
31
 
Format X-form
Opcode 0x7C00068C
Extension Base

Operands