Esempio n. 1
0
static DecodeStatus DecodePtrRegisterClass(MCInst *Inst,
		unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
	if (Inst->csh->mode & CS_MODE_64)
		return DecodeGPR64RegisterClass(Inst, RegNo, Address, Decoder);

	return DecodeGPR32RegisterClass(Inst, RegNo, Address, Decoder);
}
Esempio n. 2
0
static DecodeStatus DecodePtrRegisterClass(MCInst *Inst,
		unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
	/* TODO: N64 support
	if (static_cast<const MipsDisassembler *>(Decoder)->isN64())
		return DecodeGPR64RegisterClass(Inst, RegNo, Address, Decoder);
	 */

	return DecodeGPR32RegisterClass(Inst, RegNo, Address, Decoder);
}
Esempio n. 3
0
static DecodeStatus DecodeDSPRRegisterClass(MCInst *Inst,
		unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
	return DecodeGPR32RegisterClass(Inst, RegNo, Address, Decoder);
}