Apple Worm
Apple worm may refer to: * Codling moth, organism, typical larva found in infested apples * Apple maggot, alternative larva species in some areas * Apple Worm, computer program[src]
The Apple Worm is a computer program written by Apple Computer, and especially for the 6502 microprocessor, which performs dynamic self-relocation.[src] The source code of the Apple Worm is the first program printed in its entirety in Scientific American.[src] The Apple Worm was designed and developed by James R.[src] Hauser and William R.[src] Buckley.[src] Other example Apple Worm programs are described in the cover story of the November 1986 issue of Call_A.P.P.L.E.[src] Magazine.[src] Because the Apple Worm performs dynamic self-relocation within the one main memory of one computer, it does not constitute a computer virus, an apt if somewhat inaccurate description.[src] Although the analogous behavior of copying code between memories is exactly the act performed by a computer virus, the virus has other characters not present in the worm.[src] Such programs do not necessarily cause collateral damage to the computing systems upon which their instructions execute; there is no reliance upon a vector to ensure subsequent execution.[src] This extends to the computer virus; it need not be destructive in order to effect its communication between computational environments.[src] ==Programs== A typical computer program manipulates data which is external to the corporeal representation of the computer program.[src] In programmer-ese, this means the code and data spaces are kept separate.[src] Programs which manipulate data which is internal to its corporeal representation, such as that held in the code space, are self-relational; in part at least, its function is to maintain its function.[src] In this sense, a dynamic self-relocator is a self-referential system, as defined by Douglas R.[src] Hofstadter.[src] ==Other examples== The instruction set of the PDP-11 computer includes an instruction for moving data, which when constructed in a particular form causes itself to be moved from higher addresses to lower addresses; the form includes an automatic decrement of the instruction pointer register.[src] Hence, when this instruction includes autodecrement of the instruction pointer, it behaves as a dynamic self-relocator.[src] A more current example of a self-relocating program is an adaptation of the Apple Worm for the Intel 80x86 microprocessor and its derivatives, such as the Pentium, and corresponding AMD microprocessors.[src] ==See also== Worm memory test ==References== ==External links== The Apple Worm source code Video of executing Apple Worm program Cover Story: The Contiguous Traveler / Simple Worms[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Apple Worm." encyclopegia.org, 2026, https://encyclopegia.org/wiki/apple-worm. Accessed 27 November 2026.
Chicago
"Apple Worm." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/apple-worm.
APA
encyclopegia.org. (2026). Apple Worm. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/apple-worm
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON