Difference between revisions of "Program"
From Computer History Wiki
(also logic ops) |
m (+punc, link) |
||
Line 1: | Line 1: | ||
− | A '''program''' is the expression, in either [[assembly language]] or a higher-level [[programming language]] of the steps needed to accomplish a particular computational goal. | + | A '''program''' is the expression, in either [[assembly language]] or a higher-level [[programming language]], of the steps needed to accomplish a particular computational goal. |
A program will include: | A program will include: | ||
− | * | + | * [[expression]]s to perform arithmetical and/or logical computations |
* direction to move data from one place to another | * direction to move data from one place to another | ||
* [[control flow]] directives, including [[conditional branch]]es and [[subroutine]] calls | * [[control flow]] directives, including [[conditional branch]]es and [[subroutine]] calls |
Revision as of 17:00, 28 April 2022
A program is the expression, in either assembly language or a higher-level programming language, of the steps needed to accomplish a particular computational goal.
A program will include:
- expressions to perform arithmetical and/or logical computations
- direction to move data from one place to another
- control flow directives, including conditional branches and subroutine calls
Programs will be converted from their original human-readable source code to object code (by tools such as assemblers and compilers), and loaded into the main memory of the computer, from where the CPU will fetch the individual instructions of the program, and execute them.