Datasheet

183
SAM4S Series [DATASHEET]
11100F–ATARM–29-Jan-14
12.6.11.4 DSB
Data Synchronization Barrier.
Syntax
DSB{cond}
where:
cond is an optional condition code, see “Conditional Execution” .
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
12.6.11.5 ISB
Instruction Synchronization Barrier.
Syntax
ISB{cond}
where:
cond is an optional condition code, see “Conditional Execution” .
Operation
ISB acts as an instruction synchronization barrier. It flushes the pipeline of the processor, so that all instructions following
the ISB are fetched from cache or memory again, after the ISB instruction has been completed.
Condition Flags
This instruction does not change the flags.
Examples
ISB ; Instruction Synchronisation Barrier