cpabort
Copy-Paste Abort
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.
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.