Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions arch/TriCore/TriCoreDisassembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ bool TriCore_getFeatureBits(unsigned int mode, unsigned int feature)
case CS_MODE_TRICORE_162: {
return feature == TriCore_HasV162Ops;
}
case CS_MODE_TRICORE_180: {
return feature == TriCore_HasV180Ops;
}
default:
return false;
}
Expand Down Expand Up @@ -1723,6 +1726,13 @@ static bool getInstruction(csh ud, const uint8_t *code, size_t code_len,
}
break;
}
case CS_MODE_TRICORE_180: {
if (decodeInstruction2_or_4(code, code_len, MI, size, address,
NULL, DecoderTablev16232)) {
return true;
}
break;
}
default:
break;
}
Expand Down
Loading
Loading