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

Function decodeSImmOperand

arch/PowerPC/PPCDisassembler.c:350–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350static DecodeStatus decodeSImmOperand(MCInst *Inst, uint64_t Imm,
351 int64_t Address, const void *Decoder, unsigned N)
352{
353 // assert(isUInt<N>(Imm) && "Invalid immediate");
354 MCOperand_CreateImm0(Inst, SignExtend64(Imm, N));
355
356 return MCDisassembler_Success;
357}
358
359
360#define GET_INSTRINFO_ENUM

Callers

nothing calls this directly

Calls 2

MCOperand_CreateImm0Function · 0.85
SignExtend64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…