Datasheet

140
11011B–ATARM–21-Feb-12
SAM3N
10.18.3 DMB
Data Memory Barrier.
10.18.3.1 Syntax
DMB{cond}
where:
cond is an optional condition code, see “Conditional execution” on page 84.
10.18.3.2 Operation
DMB acts as a data memory barrier. It ensures that all explicit memory accesses that appear, in
program order, before the DMB instruction are completed before any explicit memory accesses
that appear, in program order, after the DMB instruction. DMB does not affect the ordering or
execution of instructions that do not access memory.
10.18.3.3 Condition flags
This instruction does not change the flags.
10.18.3.4 Examples
DMB ; Data Memory Barrier