Go to Machine Cyle Tutorial

Welcome to the Machine Cycle Tutorial
© 2004 Curtis Sollohub


A Tutorial on the Fetch-Execute Cycle & Assembly Language Programming Home Page

I. Description of Tutorial
This tutorial discusses and simulates the Fetch-Execute cycle and Assembly Language Programming. The simulation is based on a very simple computer with only 40 memory locations with a range of 14 to 3B hex. Most slides show a CPU with a small set of registers and each of the 40 memory locations.

There are two assembly language simulations for you to view. The first one (Basic Program) simply adds two numbers and stores the results. The second program (Complex Program) divides two numbers. This is a bit more complex because the program needs to make sure divisor is not equal to 0 - you know it is not valid to divide by 0. You should run through both programs to learn both about the fetch-execute cycle and about assembly language programming.

II. Instructions to Help You with this Tutorial

1. To run this tutorial your computer may need to have the Flash player (version 6, or higher),
which can be downloaded for free by clicking, Macromedia Flash Player.
2. Most pages have a "Pause" button. This allows you to read and study each slide at your
own pace instead of at the pace set by default.
3. Most pages also have a button labeled "Cycle x" where 'x' is some number representing
which instruction to view. Use this if you want to review the fetch-execute cycle for a specific
instruction. You should probably view the tutorial for a whole program first and then review it
again in pieces.


Have Fun!!


A Tutorial on the Fetch-Execute Cycle & Assembly Language Programming Home Page