Skip to content
Snippets Groups Projects
Commit 34b32d61 authored by Alexander Kurz's avatar Alexander Kurz Committed by Andreas Fritiofson
Browse files

arm_disassembler: bugfix, MRRC instruction not recognized


A copy-and-paste error in the arm_disassembler opcode evaluation
disabled the recognition of MRRC instructions.
According to the arm architecture ref. manual issue E or later, MRRC and MCRR
instructions are identified by opcode bits 20-27: MCRR = 0xc4, MRRC = 0xc5.
Error found by static code analysis using a semantic pattern to
detect duplicated tests xand.cocci, see coccinellery.org

Change-Id: Ic41426edb51c6816e11dc3d35ef9382ab34af486
Signed-off-by: default avatarAlexander Kurz <akurz@blala.de>
Reviewed-on: http://openocd.zylin.com/3363


Reviewed-by: default avatarUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Tested-by: jenkins
Reviewed-by: default avatarAndreas Fritiofson <andreas.fritiofson@gmail.com>
parent 6f05ec1e
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment