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

Function DecodeDoubleRegLoad

arch/ARM/ARMDisassembler.c:4492–4513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4490}
4491
4492static DecodeStatus DecodeDoubleRegLoad(MCInst *Inst, unsigned Insn,
4493 uint64_t Address, const void *Decoder)
4494{
4495 DecodeStatus S = MCDisassembler_Success;
4496 unsigned Rt = fieldFromInstruction_4(Insn, 12, 4);
4497 unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
4498 unsigned pred = fieldFromInstruction_4(Insn, 28, 4);
4499
4500 if (Rn == 0xF)
4501 S = MCDisassembler_SoftFail;
4502
4503 if (!Check(&S, DecodeGPRPairRegisterClass(Inst, Rt, Address, Decoder)))
4504 return MCDisassembler_Fail;
4505
4506 if (!Check(&S, DecodeGPRRegisterClass(Inst, Rn, Address, Decoder)))
4507 return MCDisassembler_Fail;
4508
4509 if (!Check(&S, DecodePredicateOperand(Inst, pred, Address, Decoder)))
4510 return MCDisassembler_Fail;
4511
4512 return S;
4513}
4514
4515static DecodeStatus DecodeDoubleRegStore(MCInst *Inst, unsigned Insn,
4516 uint64_t Address, const void *Decoder)

Callers

nothing calls this directly

Calls 4

DecodePredicateOperandFunction · 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…