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

Function DecodeT2AddrModeImm8s4

arch/ARM/ARMDisassembler.c:3957–3971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3955}
3956
3957static DecodeStatus DecodeT2AddrModeImm8s4(MCInst *Inst, unsigned Val,
3958 uint64_t Address, const void *Decoder)
3959{
3960 DecodeStatus S = MCDisassembler_Success;
3961 unsigned Rn = fieldFromInstruction_4(Val, 9, 4);
3962 unsigned imm = fieldFromInstruction_4(Val, 0, 9);
3963
3964 if (!Check(&S, DecodeGPRRegisterClass(Inst, Rn, Address, Decoder)))
3965 return MCDisassembler_Fail;
3966
3967 if (!Check(&S, DecodeT2Imm8S4(Inst, imm, Address, Decoder)))
3968 return MCDisassembler_Fail;
3969
3970 return S;
3971}
3972
3973static DecodeStatus DecodeT2AddrModeImm0_1020s4(MCInst *Inst,unsigned Val,
3974 uint64_t Address, const void *Decoder)

Callers 2

Calls 3

DecodeT2Imm8S4Function · 0.85
CheckFunction · 0.70
DecodeGPRRegisterClassFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…