1. Taxonomy & Profile
When Canadian computer scientist A.K. Dewdney first unveiled CoreWar to the world in his May 1984 Scientific American column, the very first digital organism he described was the "Imp" (classified here as Mobilis simplicis). Consisting of an irreducible genome of just one Redcode instruction—MOV.I 0, 1—the Imp represents the absolute lower bound of autonomous mobile life within a Von Neumann memory array.
To programmers accustomed to conventional control flow, moving or looping through memory normally requires at least two instructions: an operation and a branch (jump). The Imp bypasses the need for any neural jump loop by harnessing the fundamental hardware physics of the processor itself: the automatic increment of the Program Counter (PC + 1) after every cycle. By copying its current cell into the cell immediately ahead just before the PC steps forward, locomotion and self-replication merge into a single atomic act.
2. Ecology & Behavior
When released into the vivarium core, an Imp appears as a bright, solitary nucleus (the active Program Counter) gliding smoothly forward at a constant velocity of one memory address per cycle. Stretching out behind this moving tip is an ever-lengthening ribbon of identical MOV.I 0, 1 instructions painted in the warrior's signature color.
From an anatomical perspective, it is crucial to distinguish between the living cell and its wake. The long ribbon trailing behind the Imp is not a living body; it is merely a molted chitinous exoskeleton—an abandoned mycelial trail left where the organism used to be. At any given microsecond, the living cytoplasm of a solitary Imp occupies only a single memory cell: the leading tip. Consequently, when stationary artillery like a Dwarf bombards the Imp's long tail with lethal DAT spores, the Imp suffers zero physiological damage and continues marching forward unbothered.
Although the Imp carries no lethal DAT venom of its own, it possesses a uniquely insidious viral pathology. When an Imp marches straight through the memory footprint of an enemy warrior, it overwrites the opponent's delicate organs with MOV.I 0, 1. If the enemy's own Program Counter subsequently executes those overwritten cells, the enemy process is hijacked—converted into a zombie Imp that abandons its original logic and marches blindly behind its conqueror.
3. Cellular Anatomy & Organelles
The cellular anatomy of Mobilis simplicis is the most minimalist structure in digital biology. It possesses no metabolic heart (+ ADD), no neural feedback loop (↺ JMP), and no sensory eyes (◉ CMP). A single propulsor muscle (▼ MOV) fulfills every biological requirement.
4. Computer Science Insight: Von Neumann Architecture
In computer science, the Imp (MOV.I 0, 1) is the most concise demonstration ever conceived of John von Neumann's stored-program principle. In modern operating systems or Harvard architectures, executable code segments and mutable data heaps are strictly segregated via hardware memory protection (such as NX bits). In a pure Von Neumann machine like MARS, however, instructions and data share the exact same address space and representation.
The moment MOV.I 0, 1 evaluates its source operand "0", a profound dualism occurs: the instruction currently acting as the active verb of the CPU simultaneously treats itself as the passive noun (data payload) to be copied. Once written into offset +1 and reached by the advancing Program Counter, that passive data payload instantly re-crystallizes into an active verb. This continuous phase transition between code and data is the fundamental engine of artificial life.
Furthermore, because all MARS addressing is relative to the Program Counter, the offsets "0" and "1" hold the exact same meaning whether the Imp resides at address 0000 or address 7999. The Imp is pure Position-Independent Code (PIC), capable of migrating across the entire address space without a relocation table.
5. Predators, Weaknesses & Metagame
Because Dwarf only drops bombs every 4th cell, the 1-cell Imp easily slips between the artillery gaps and eventually overruns Dwarf, overwriting its body and turning it into an Imp.
Against an Imp-Gate that continuously pre-decrements (<) a fixed cell every cycle, the blindly advancing Imp hits an invisible grinder: its newly copied lead instruction is mangled before the PC can step into it.
In the CoreWar food chain, a solitary Imp's greatest evolutionary asset is its 1-cell cross-section. Against coarse modulo bombers like Dwarf (which bombs every 4th cell), an Imp can slip unscathed between bomb impacts and overwrite the bomber's code. However, because the Imp lacks a lethal DAT payload, overwriting an enemy often hijacks rather than terminates the enemy process, leading to high draw rates unless paired with an offensive partner.
The Imp's fatal Achilles' heel is its total reliance on the single cell immediately ahead of its Program Counter (address X+1). If an enemy drops a DAT bomb directly onto X+1 after the Imp writes to it—or worse, if the Imp marches into an "Imp-Gate" (a tight pre-decrement instruction such as JMP 0, <-1 or DAT <2667, <5334 that continuously decrements a fixed memory location every cycle)—its newly transcribed cell is corrupted before execution, killing the Imp on contact.
To survive in competitive hills, Imps evolved into multicellular symbiotic networks known as "Imp-Spirals" (or Imp-Rings). By combining SPL (❖) with magic modulo step sizes (such as MOV.I 0, 2667 in an 8,000-cell core, since 2667 × 3 = 8001 ≡ 1 mod 8000), three or more interleaved processes continuously feed instructions to one another across the torus, creating a self-healing ring that only specialized Imp-Gates can extinguish.
6. 🔬 Observe This Organism in Lab / Academy
Step through "MOV.I 0, 1" cycle by cycle in the live MARS simulator to watch how a single cell copies itself forward and sheds its glowing trail across memory.