Computer program: Difference between revisions

Content deleted Content added
Generalized for non-von neuman architectures and generally expanded. Heck, it's practically rewritten!
m minor formatting fix.
Line 15:
 
In a computer with the most common [[Von Neumann architecture]] or [[Harvard architecture]] the program is loaded from a peripheral device of some kind, often a [[hard drive]]. In a machine following the Von Neumann architecture, the program is loaded into main memory. The instruction sequence are then executed in order until a jump or branch instruction is executed or an interrupt occurs. These instructions change the [[program counter]].
 
A computer program consists of a set of instructions that the computer understands. A computer of this architecture without a program does absolutely nothing.