A program residing in the memory unit of the computer consists of a sequence of instructions. The program is executed in the computer by going through a cycle for each instruction. Each instruction cycle in turn is subdivided into a sequence of subcycles or phases. In the basic computer each instruction cycle consists of the following phases:
1. Fetch an instruction from memory.
2. Decode the instruction.
3. Read the effective address from memory if the instruction has an indirect address.
4. Execute the instruction.
|These Topics Are Also In Your Syllabus|
|1||Other Decimal Codes||link|
|2||Other Alphanumeric Codes||link|
|You May Find Something Very Interesting Here.||link|
|3||Error Detection Codes||link|
|4||Error Detection Codes-2||link|
|5||Register Transfer Language||link|
Upon the completion of step 4, the control goes back to step 1 to fetch, decode, and execute the next instruction. This process continues indefinitely unless a HALT instruction is encountered.