Spike, a RISC-V ISA Simulator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
147 B

require_rvc;
if(CRD_REGNUM == 0)
{
reg_t temp = CRS1;
if(CIMM6 & 0x20)
RA = npc;
set_pc(temp);
}
else
CRD = sext_xprlen(CRS2 + CIMM6);