summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/opdefs/dmb_A8843.d
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/arm/v7/opdefs/dmb_A8843.d')
-rw-r--r--plugins/arm/v7/opdefs/dmb_A8843.d30
1 files changed, 22 insertions, 8 deletions
diff --git a/plugins/arm/v7/opdefs/dmb_A8843.d b/plugins/arm/v7/opdefs/dmb_A8843.d
index 34f053a..da9abdc 100644
--- a/plugins/arm/v7/opdefs/dmb_A8843.d
+++ b/plugins/arm/v7/opdefs/dmb_A8843.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 DMB
-@desc Data Memory Barrier is a memory barrier that ensures the ordering of observations of memory accesses, see Data Memory Barrier (DMB) on page A3-151.
+@id 42
+
+@desc {
+
+ Data Memory Barrier is a memory barrier that ensures the ordering of observations of memory accesses, see Data Memory Barrier (DMB) on page A3-151.
+
+}
@encoding (T1) {
@word 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 1 1 0 0 0 1 1 1 1 0 1 0 1 option(4)
- @syntax <limitation>
+ @syntax {
- @conv {
+ @conv {
- limitation = BarrierLimitation(option)
+ direct_option = UInt(option)
+
+ }
+
+ @asm dmb ?direct_option
}
@@ -43,11 +53,15 @@
@word 1 1 1 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 1 0 1 option(4)
- @syntax <limitation>
+ @syntax {
+
+ @conv {
+
+ direct_option = UInt(option)
- @conv {
+ }
- limitation = BarrierLimitation(option)
+ @asm dmb ?direct_option
}