summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/opdefs/dsb_A8844.d
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-04-02 11:58:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-04-02 12:39:30 (GMT)
commit1db4ef323b7a76093356ae76268132f3760e1631 (patch)
treefec36ee0ec1b6b2010b62ca4177edca0e31e2114 /plugins/arm/v7/opdefs/dsb_A8844.d
parent1bc80837dde03a32b5ab185067f7bd4c499a9850 (diff)
Rewritten the whole instruction definition format.
Diffstat (limited to 'plugins/arm/v7/opdefs/dsb_A8844.d')
-rw-r--r--plugins/arm/v7/opdefs/dsb_A8844.d30
1 files changed, 22 insertions, 8 deletions
diff --git a/plugins/arm/v7/opdefs/dsb_A8844.d b/plugins/arm/v7/opdefs/dsb_A8844.d
index 512220c..87925ae 100644
--- a/plugins/arm/v7/opdefs/dsb_A8844.d
+++ b/plugins/arm/v7/opdefs/dsb_A8844.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 DSB
-@desc Data Synchronization Barrier is a memory barrier that ensures the completion of memory accesses, see Data Synchronization Barrier (DSB) on page A3-152.
+@id 43
+
+@desc {
+
+ Data Synchronization Barrier is a memory barrier that ensures the completion of memory accesses, see Data Synchronization Barrier (DSB) on page A3-152.
+
+}
@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 0 option(4)
- @syntax <limitation>
+ @syntax {
- @conv {
+ @conv {
- limitation = BarrierLimitation(option)
+ direct_option = UInt(option)
+
+ }
+
+ @asm dsb ?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 0 option(4)
- @syntax <limitation>
+ @syntax {
+
+ @conv {
+
+ direct_option = UInt(option)
- @conv {
+ }
- limitation = BarrierLimitation(option)
+ @asm dsb ?direct_option
}