summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2009-10-13 22:48:18 +0200
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-10-13 15:35:01 -0700
commit9b9bc78ef1827e59ae7c6c0bdfed0bc2f3b878f5 (patch)
treef58c5a55c08e36da29afc3f137bdbcd76497d78e /src
parented1e45b3887f89655c2475f45149f6dad14c0e0c (diff)
downloadopenocd+libswd-9b9bc78ef1827e59ae7c6c0bdfed0bc2f3b878f5.tar.gz
openocd+libswd-9b9bc78ef1827e59ae7c6c0bdfed0bc2f3b878f5.tar.bz2
openocd+libswd-9b9bc78ef1827e59ae7c6c0bdfed0bc2f3b878f5.tar.xz
openocd+libswd-9b9bc78ef1827e59ae7c6c0bdfed0bc2f3b878f5.zip
fix detection of PLD instructions
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/target/arm_disassembler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_disassembler.c b/src/target/arm_disassembler.c
index 2755cc29..5b0046b7 100644
--- a/src/target/arm_disassembler.c
+++ b/src/target/arm_disassembler.c
@@ -110,7 +110,7 @@ static int evaluate_pld(uint32_t opcode,
uint32_t address, arm_instruction_t *instruction)
{
/* PLD */
- if ((opcode & 0x0d70f0000) == 0x0550f000)
+ if ((opcode & 0x0d70f000) == 0x0550f000)
{
instruction->type = ARM_PLD;