projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target: fix output of command "targets"
[fw/openocd]
/
src
/
target
/
arm_opcodes.h
diff --git
a/src/target/arm_opcodes.h
b/src/target/arm_opcodes.h
index 482abe630a0025464427e7f1475df4b631507793..e94e8333b8e013a2251c0c2d096d97bfb308ea03 100644
(file)
--- a/
src/target/arm_opcodes.h
+++ b/
src/target/arm_opcodes.h
@@
-213,7
+213,7
@@
/* Breakpoint instruction (ARMv5)
* Im: 16-bit immediate
*/
-#define ARMV5_BKPT(Im) (0xe1200070 | ((Im & 0xfff0) <<
8
) | (Im & 0xf))
+#define ARMV5_BKPT(Im) (0xe1200070 | ((Im & 0xfff0) <<
4
) | (Im & 0xf))
/* Thumb mode instructions