mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-27 15:30:33 +00:00
Fix testAndBranch sign extend to 64 bit (#1213)
This commit is contained in:
parent
76c1c3c4e9
commit
f6e0fa42f2
@ -1625,7 +1625,7 @@ static DecodeStatus DecodeTestAndBranch(MCInst *Inst, uint32_t insn,
|
||||
{
|
||||
uint32_t Rt = fieldFromInstruction(insn, 0, 5);
|
||||
uint32_t bit = fieldFromInstruction(insn, 31, 1) << 5;
|
||||
uint32_t dst = fieldFromInstruction(insn, 5, 14);
|
||||
uint64_t dst = fieldFromInstruction(insn, 5, 14);
|
||||
|
||||
bit |= fieldFromInstruction(insn, 19, 5);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user