NOP - No Operation
NOP: No Operation
NOP performs no arithmetic, copy, or jump—it simply consumes 1 execution cycle and advances the Program Counter to the next instruction. However, note that pre-decrement (< / {) and post-increment (> / }) addressing modes on a NOP operand are still evaluated!
Syntax
NOP.F #0, #0 ; Consume 1 cycle and advance to next lineStrategic Applications
1. Multi-Process Timing Synchronization
In complex Paper or Imp-Spiral warriors, processes spawned via SPL must execute specific lines in exact cycle alignment. Inserting a NOP delays a branch by 1 cycle to synchronize parallel threads.
2. Anti-Scanner Decoy Padding
Scanners look for non-zero cells. Placing NOP instructions with non-zero A/B fields far from your main code creates harmless decoy targets that waste the enemy scanner's attack cycles.
3. Indirect Pointer Side-Effects
Because addressing modes are evaluated before the opcode executes, NOP.F <ptr1, <ptr2 decrements two pointers in a single cycle without modifying any destination cell.