summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/opdefs/bkpt_A8824.d
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/arm/v7/opdefs/bkpt_A8824.d')
-rw-r--r--plugins/arm/v7/opdefs/bkpt_A8824.d30
1 files changed, 22 insertions, 8 deletions
diff --git a/plugins/arm/v7/opdefs/bkpt_A8824.d b/plugins/arm/v7/opdefs/bkpt_A8824.d
index f0aa13a..bc034e9 100644
--- a/plugins/arm/v7/opdefs/bkpt_A8824.d
+++ b/plugins/arm/v7/opdefs/bkpt_A8824.d
@@ -2,7 +2,7 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
* ##FILE## - traduction d'instructions ARMv7
*
- * Copyright (C) 2015 Cyrille Bagard
+ * Copyright (C) 2017 Cyrille Bagard
*
* This file is part of Chrysalide.
*
@@ -23,17 +23,27 @@
@title BKPT
-@desc Breakpoint causes a software breakpoint to occur. Breakpoint is always unconditional, even when inside an IT block.
+@id 23
+
+@desc {
+
+ Breakpoint causes a software breakpoint to occur. Breakpoint is always unconditional, even when inside an IT block.
+
+}
@encoding (t1) {
@half 1 0 1 1 1 1 1 0 imm8(8)
- @syntax <imm32>
+ @syntax {
- @conv {
+ @conv {
- imm32 = ZeroExtend(imm8, 32)
+ imm32 = ZeroExtend(imm8, 32)
+
+ }
+
+ @asm bkpt imm32
}
@@ -43,11 +53,15 @@
@word cond(4) 0 0 0 1 0 0 1 0 imm12(12) 0 1 1 1 imm4(4)
- @syntax <imm32>
+ @syntax {
+
+ @conv {
+
+ imm32 = ZeroExtend(imm12:imm4, 32)
- @conv {
+ }
- imm32 = ZeroExtend(imm12:imm4, 32)
+ @asm bkpt imm32
}