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

Function DecodeT2Imm8

arch/ARM/ARMDisassembler.c:3988–4001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3986}
3987
3988static DecodeStatus DecodeT2Imm8(MCInst *Inst, unsigned Val,
3989 uint64_t Address, const void *Decoder)
3990{
3991 int imm = Val & 0xFF;
3992
3993 if (Val == 0)
3994 imm = INT32_MIN;
3995 else if (!(Val & 0x100))
3996 imm *= -1;
3997
3998 MCOperand_CreateImm0(Inst, imm);
3999
4000 return MCDisassembler_Success;
4001}
4002
4003static DecodeStatus DecodeT2AddrModeImm8(MCInst *Inst, unsigned Val,
4004 uint64_t Address, const void *Decoder)

Callers 1

DecodeT2AddrModeImm8Function · 0.85

Calls 1

MCOperand_CreateImm0Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…