COREWAR

/
SPL - Split
🎯Press [STEP] 3 times to observe SPL spawning parallel processes(0/3)
🟢 EDIT MODE (Click cells to modify)
[Addr][Opcode][A (Left)][B (Right)]
📦 DATA / BOMB (DAT)
+2
0000
❖SPL
$
0001
↺JMP
$
0002
▼MOV
$
$
◎ JUMP(A)
0003
■DAT
$0
$0
++ ADD ROW
0004
■DAT
$0
$0
0005
■DAT
$0
$0
0006
■DAT
$0
$0
0007
■DAT
$0
$0
0008
■DAT
$0
$0
0009
■DAT
$0
$0
0010
■DAT
$0
$0
0011
■DAT
$0
$0
0012
■DAT
$0
$0
0013
■DAT
$0
$0
0014
■DAT
$0
$0
0015
■DAT
$0
$0
0016
■DAT
$0
$0
0017
■DAT
$0
$0
0018
■DAT
$0
$0
0019
■DAT
$0
$0
0020
■DAT
$0
$0
0021
■DAT
$0
$0
0022
■DAT
$0
$0
0023
■DAT
$0
$0
0024
■DAT
$0
$0
0025
■DAT
$0
$0
0026
■DAT
$0
$0
0027
■DAT
$0
$0
🏟️ARENA (20 ROWS)SCOPE: 0000 - 0019
[CORE MEMORY 800 CELLS (20 ROWS × 40 COLS)]1:1 Row Synced with Editor
TASKS: 0
CYC: 0
📖REDCODE-94 INSTRUCTION REFERENCE(Drag to move)
📚 REDCODE-94 INSTRUCTION REFERENCE (12/19)

SPL - Split

SPL: Split (Multi-Process Spawning)

SPL spawns a new parallel process at target address A and appends it to the warrior's process queue. Both the parent process (which advances to the next line) and the child process (which starts at address A) execute in round-robin alternation.

Syntax

SPL.A  target   ; Spawn a new process at target address

Process Queue Order (ICWS-94 Standard)

When SPL target executes:

  • The current process (at PC + 1) is placed back into the queue first.
  • The newly spawned process (at target) is queued immediately after it.
  • Note: Total cycle speed per warrior remains 1 instruction per turn—if you have $N$ processes, each individual process runs at $1/N$ speed, but killing one process no longer kills your warrior!

Strategic Applications

  • Paper (Replicators): Copy a block of code to a new memory location and execute SPL @dest to bring the new colony to life.
  • Imp Rings / Spirals: Combine SPL with MOV 0, 1 or MOV.I $0, $2667 so multiple processes march in lockstep.
  • Core-Clear Stun: Bombing an opponent with SPL 0 instead of DAT forces them to spawn thousands of useless processes, starving their main attack loop of CPU cycles.
📚 REDCODE-94 INSTRUCTION REFERENCE (12/19)

SPL - Split

SPL: Split (Multi-Process Spawning)

SPL spawns a new parallel process at target address A and appends it to the warrior's process queue. Both the parent process (which advances to the next line) and the child process (which starts at address A) execute in round-robin alternation.

Syntax

SPL.A  target   ; Spawn a new process at target address

Process Queue Order (ICWS-94 Standard)

When SPL target executes:

  • The current process (at PC + 1) is placed back into the queue first.
  • The newly spawned process (at target) is queued immediately after it.
  • Note: Total cycle speed per warrior remains 1 instruction per turn—if you have $N$ processes, each individual process runs at $1/N$ speed, but killing one process no longer kills your warrior!

Strategic Applications

  • Paper (Replicators): Copy a block of code to a new memory location and execute SPL @dest to bring the new colony to life.
  • Imp Rings / Spirals: Combine SPL with MOV 0, 1 or MOV.I $0, $2667 so multiple processes march in lockstep.
  • Core-Clear Stun: Bombing an opponent with SPL 0 instead of DAT forces them to spawn thousands of useless processes, starving their main attack loop of CPU cycles.