← Home

ct.cjal

Capability register cd is replaced with the next instruction's PCC and sealed as a sentry. PCC.address is incremented by imm. Exceptions An exception is raised if: - PCC.address + imm is unaligned, ignoring bit 0. Notes - This instruction no longer attempts to check that the destination is within the bounds of PCC. In that case an exception will be raised raised by the subsequent instruction fetch. EPCC will have the new PC as address but will have the tag cleared due to the possibility of creating an unrepresentable PCC. The bounds of EPCC will be undefined.

Assembly format

ct.cjal cd, imm

Encoding

313029282726252423222120191817161514131211109876543210
immcd1101111

Decode variables

VariableBitsWidth
imm[31:12]20
cd[11:7]5

No execution pseudocode is available for this instruction.

Defined by

Xcheriot

Access

SU
AlwaysAlways

Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.