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

Function DecodeThumbAddrModeRR

arch/ARM/ARMDisassembler.c:3526–3540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3524}
3525
3526static DecodeStatus DecodeThumbAddrModeRR(MCInst *Inst, unsigned Val,
3527 uint64_t Address, const void *Decoder)
3528{
3529 DecodeStatus S = MCDisassembler_Success;
3530 unsigned Rn = fieldFromInstruction_4(Val, 0, 3);
3531 unsigned Rm = fieldFromInstruction_4(Val, 3, 3);
3532
3533 if (!Check(&S, DecodetGPRRegisterClass(Inst, Rn, Address, Decoder)))
3534 return MCDisassembler_Fail;
3535
3536 if (!Check(&S, DecodetGPRRegisterClass(Inst, Rm, Address, Decoder)))
3537 return MCDisassembler_Fail;
3538
3539 return S;
3540}
3541
3542static DecodeStatus DecodeThumbAddrModeIS(MCInst *Inst, unsigned Val,
3543 uint64_t Address, const void *Decoder)

Callers

nothing calls this directly

Calls 2

DecodetGPRRegisterClassFunction · 0.85
CheckFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…