The Cortex-M4 Instruction Set
ARM DUI 0553A
Copyright © 2010 ARM. All rights reserved.
3-161
ID121610
Non-Confidential
3.12.4
DSB
Data Synchronization Barrier.
Syntax
DSB{
cond
}
where:
cond
Is an optional condition code, see
.
Operation
DSB
acts as a special data synchronization memory barrier. Instructions that come after the
DSB
,
in program order, do not execute until the
DSB
instruction completes. The
DSB
instruction
completes when all explicit memory accesses before it complete.
Condition flags
This instruction does not change the flags.
Examples
DSB ; Data Synchronisation Barrier