synci


Instruction pipeline synchronization instruction (Synchronize Instruction Pipeline)

[Syntax]

-

synci

[Function]

Makes subsequent instructions wait until all the instructions ahead of this instruction have finished executing. The instructions executed after the synci instruction are guaranteed to adapt to the effects produced by the execution of the instructions preceding synci. This instruction can be used to realize "self-programming code" to overwrite instructions in the memory.

Remark

The synci instruction clears the CPU instruction fetch pipeline so that subsequently executed instructions are re-fetched.
If the CPU includes an instruction cache, the instruction cache must be disabled to enable the realization of this self-programming code.

[Description]

-

The assembler generates one synci machine instruction.

[Flag]

CY

---

OV

---

S

---

Z

---

SAT

---