aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-03-24 07:44:47 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-03-24 07:44:47 +0000
commit8a7a9bd17abf882c6d996cbc89208df475d28e36 (patch)
tree447f9944c6722cee62c2c383569ef54b66d8678e /src
parentea4b83332e3a2ca122ab4ec67c0fffd10da5040c (diff)
downloadriscv-openocd-8a7a9bd17abf882c6d996cbc89208df475d28e36.zip
riscv-openocd-8a7a9bd17abf882c6d996cbc89208df475d28e36.tar.gz
riscv-openocd-8a7a9bd17abf882c6d996cbc89208df475d28e36.tar.bz2
Hiroshi Ito <ito@mlb.co.jp> disassemble Arm926ejs clz instruction
git-svn-id: svn://svn.berlios.de/openocd/trunk@1430 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/arm_disassembler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm_disassembler.c b/src/target/arm_disassembler.c
index 2e87bb3..d222c47 100644
--- a/src/target/arm_disassembler.c
+++ b/src/target/arm_disassembler.c
@@ -818,7 +818,7 @@ int evaluate_misc_instr(u32 opcode, u32 address, arm_instruction_t *instruction)
}
/* CLZ */
- if ((opcode & 0x0060000f0) == 0x00300010)
+ if ((opcode & 0x006000f0) == 0x00600010)
{
u8 Rm, Rd;
instruction->type = ARM_CLZ;
@@ -829,8 +829,8 @@ int evaluate_misc_instr(u32 opcode, u32 address, arm_instruction_t *instruction)
address, opcode, COND(opcode), Rd, Rm);
}
- /* BLX */
- if ((opcode & 0x0060000f0) == 0x00200030)
+ /* BLX(2) */
+ if ((opcode & 0x006000f0) == 0x00200030)
{
u8 Rm;
instruction->type = ARM_BLX;