ใช้ memory barrier instructions ใน, ตัวอย่างเช่น:
• Vector table. ถ้า the program เปลี่ยน an entry ใน the vector table, และจากนั้นเปิดใช้งาน the corresponding
exception, ใช้ a DMB instruction ระหว่าง the operations. นี้ทำให้แน่ใจว่าถ้า the exception ถูกได้รับทันที่หลังจากกำลังถูก
เปิดใช้งาน the processor จะใช้ the new exception vector.
• Self-modifying code. ถ้า a program บรรจุ self-modifying code, ใช้ an ISB instruction ทันที่หลังจาก the code
modification ใน the program. นี้ทำให้แน่ใจว่า subsequent instruction execution จะใช้ the updated program
• Memory map switching. ถ้า the system บรรจุ a memory map switching mechanism, ใช้ a DSB instruction
หลังจากการสลับ the memory map ใน the program. นี้ทำให้แน่ใจว่า subsequent instruction execution จะใช้ the
updated memory map.
• Dynamic exception priority change. เมื่อ an exception priority ต้องเปลี่ยนเมื่อ the exception ค้างอยู่หรือทำงาน
อยู่, ใช้ DSB instructions หลังจากการเปลี่ยน. นี้ทำให้แน่ใจว่าการเปลี่ยนจะส่งผลบนการเสร็จสมบูรณ์ the DSB instruction.
• Using a semaphore in multi-master system. ถ้า the system บรรจุมากกว่าหนึ่ง bus master, ตัวอย่างเช่น, ถ้า
processor อีกตัวหนึ่งถูกปรากฎใน the system, แต่ละ processor ต้องใช้ a DMB instruction หลังจาก semaphore
instructions ใดๆ, เพื่อให้แน่ใจว่า bus masters อื่นๆดู the memory transactions ในลำดับซึ่งพวกมันเคยถูกปฏิบัติ.
Memory เข้าถึง Strongly-ordered memory, อย่างเช่น the system control block, ไม่จำเป็นต้องใช้ DMB instructions.