syncm


Memory synchronize instruction (Synchronize Memory)

[Syntax]

-

syncm

[Function]

Synchronizes the CPU execution pipeline and memory accesses.

"Synchronization" refers to the status where the result of preceding memory accesses can be referenced by any master device within the system.

In cases such as when buffering is used to delay memory accesses and synchronization of all memory accesses has not occurred, the SYNCM instruction does not complete and waits for the synchronization.

The subsequent instructions will not be executed until the SYNCM instruction execution is complete.

This instruction can be used to implement "synchronization primitives" in a multi-processing environment when the function described above is provided by the system.

[Description]

-

The assembler generates one syncm machine instruction.

[Flag]

CY

---

OV

---

S

---

Z

---

SAT

---