Von Neumann architecture and Fetch-Execute Cycle

Von Neumann Architecture 510px-Von_Neumann_Architecture.svg

  • Input Device: is the device that receive the data or instruction from outside world into the computer for display, storage, processing, or outputting. For example keyboard, mouse, scanner, etc.
  • Central Processing Unit (CPU): is considered as the brain of the computer. It’s the hardware that carries out the instructions of a computer program by performing the basic arithmetical, logical, and input/output operations of the system. It has 2 parts which are Control Unit, and Arithmetic Logic Unit.
  • Control Unit: it acts like a manager in the CPU which responsible for translate and decode input and output device.
  • Arithmetic Logic Unit (ALU): is the part of a computer processor that perform all arithmetic computation, such as addiction,  subtraction, and all comparison operation that the Control Unit sends to it.
  • Memory Unit: this unit holds both data and instructions, and supplies information to the other units of the computer when needed. It also serves as a temporary storage. For example RAM.
  • Output Device: is a device that send out the results stored in the computer memory to the outside world. For example monitor, printer, etc.

Fetch-Execute Cycle

600px-The_Fetch-Execute_Cycle.svg

 

  • Step 1: The information/instruction  stored in the main memory are fetches by the fetch cycle in the control unit.
  • Step 2: In the control unit, it then decode the instruction by making them more readable by the machine.
  • Step 3: The data is send to the ALU which is the execution cycle. After get the data, it executes the instruction.
  • Step 4: The output results will be saved into main memory.

Leave a comment