Difference between revisions of "Program"

From Computer History Wiki
Jump to: navigation, search
m (better cat)
(also logic ops)
Line 3: Line 3:
 
A program will include:
 
A program will include:
  
* statements to perform arithmetical computations
+
* statements 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 01:52, 19 September 2021

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:

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.