MCPcopy Create free account
hub / github.com/capstone-engine/capstone / DecodeSPRRegisterClass

Function DecodeSPRRegisterClass

arch/ARM/ARMDisassembler.c:1105–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103};
1104
1105static DecodeStatus DecodeSPRRegisterClass(MCInst *Inst, unsigned RegNo,
1106 uint64_t Address, const void *Decoder)
1107{
1108 unsigned Register;
1109
1110 if (RegNo > 31)
1111 return MCDisassembler_Fail;
1112
1113 Register = SPRDecoderTable[RegNo];
1114 MCOperand_CreateReg0(Inst, Register);
1115
1116 return MCDisassembler_Success;
1117}
1118
1119static DecodeStatus DecodeHPRRegisterClass(MCInst *Inst, unsigned RegNo,
1120 uint64_t Address, const void *Decoder)

Callers 4

DecodeHPRRegisterClassFunction · 0.85
DecodeSPRRegListOperandFunction · 0.85
DecodeVMOVSRRFunction · 0.85
DecodeVMOVRRSFunction · 0.85

Calls 1

MCOperand_CreateReg0Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…