We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mtocrf
mfocrf
fxm
The PPC instruction mtocrf should have two operands: register RS and immediate fxm. But Capstone only decodes the register.
RS
> ./cstool -d ppc64be 7c120120 0 7c 12 01 20 mtocrf 0x20, r0 ID: 796 (mtocrf) # missing immediate: 0x20 op_count: 1 operands[0].type: REG = r0
> git log -i -n 1 commit 0494e94bab2faac6f5356a43bcbc00c0eae42639 (HEAD -> next, origin/next) Merge: eea28905 16937b1d ... Date: Sat Jul 23 23:53:08 2022 +0800
> ./cstool -v cstool for Capstone Disassembler, v5.0.0
The text was updated successfully, but these errors were encountered:
Same applies for mfocrf
./cstool -d ppc64 2680707d 0 26 80 70 7d mfocrf r11, 8 ID: 718 (mfocrf) op_count: 1 operands[0].type: REG = r11
Sorry, something went wrong.
This is fixed in v6:
v6
> ./cstool -d ppc64be 7c120120 0 7c 12 01 20 mtocrf 0x20, r0 ID: 608 (mtocrf) op_count: 2 operands[0].type: REG = cr2 operands[0].access: WRITE operands[1].type: REG = r0 operands[1].access: READ > ./cstool -d ppc64 2680707d 0 26 80 70 7d mfocrf r11, 8 ID: 583 (mfocrf) op_count: 2 operands[0].type: REG = r11 operands[0].access: WRITE operands[1].type: REG = cr4 operands[1].access: READ
No branches or pull requests
Brief
The PPC instruction
mtocrf
should have two operands: registerRS
and immediatefxm
. But Capstone only decodes the register.Reproduce
Additional info
The text was updated successfully, but these errors were encountered: