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

Function DecodeRRegsRegisterClass

arch/XCore/XCoreDisassembler.c:161–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161static DecodeStatus DecodeRRegsRegisterClass(MCInst *Inst, unsigned RegNo,
162 uint64_t Address, const void *Decoder)
163{
164 unsigned Reg;
165 if (RegNo > 15)
166 return MCDisassembler_Fail;
167
168 Reg = getReg(Decoder, XCore_RRegsRegClassID, RegNo);
169 MCOperand_CreateReg0(Inst, Reg);
170
171 return MCDisassembler_Success;
172}
173
174static DecodeStatus DecodeBitpOperand(MCInst *Inst, unsigned Val,
175 uint64_t Address, const void *Decoder)

Callers

nothing calls this directly

Calls 2

MCOperand_CreateReg0Function · 0.85
getRegFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…