Skip to content
The Computer Science
TheCScience
  • Engineering Subjects
    • Human Values
    • Computer System Architecture
    • Digital Communication
    • Internet of Things
  • NCERT Solutions
    • Class 12
    • Class 11
  • HackerRank solutions
    • HackerRank Algorithms Problems Solutions
    • HackerRank C solutions
    • HackerRank C++ problems solutions
    • HackerRank Java problems solutions
    • HackerRank Python problems solutions
The Computer Science
TheCScience

Basic Function of Computer | Computer Architecture

YASH PAL, November 22, 2025February 4, 2026

Basic function of a computer in Architecture – The basic function performed by a computer is the execution of a program, which consists of a set of instructions stored in memory. The central processing unit (CPU) is a unit of a computer that performs a variety of functions given by the instructions.

In the simplest way, instruction processing consists of two steps:

  1. The processor reads instructions from memory one at a time and
  2. Executes each instruction. Reading and executing an instruction may involve several operations, and this depends on the meaning of that instruction. In general, program execution is therefore carried out as follows:
    1. The central processing unit (CPU) moves the instruction and input data (if necessary) from main memory to the internal registers of the CPU.
    2. Decode and execute the instructions in their stored sequence. However, the execution sequence may change in the presence of an interrupt or branching instruction.
    3. Transfers the output data, if any, from the CPU registers to the main memory.

The above three steps, for program execution, are shown in the figure below. The program starts with reading (fetching) and then executing the instructions. The program execution stops only if the machine is turned off, an error occurs, or a program instruction that stops the execution is encountered.

Basic execution of a program
Basic execution of a program

The processing required for a single instruction is called an instruction cycle. Each instruction cycle begins with the reading operation of an instruction from memory. This is called a fetch operation. The program counter (PC) register holds the address of the next instruction to be fetched.

The fetched instruction is then loaded into another register, known as the instruction register (IR). The instruction contains the number of bits that specify the action the processor is to take. The processor calculates the meaning of the instruction and performs the required action.

The actions of the CPU during an instruction cycle are defined by a sequence of micro operations, each of which typically involves a register transfer operation.

The flow chart shows the main function of a CPU.

CPU operation - Basic function of computer
CPU Operation
Computer System Architecture engineering subjects Computer System Architecture

Post navigation

Previous post
Next post

Computer Architecture fundamentals
Development of Computers
Von Neuman and Harvard machine Architecture
Flynn Classification
Computer Structure Architecture
Interfacing Logic Devices
Levels of Design abstraction
Performance Metrics

Register Transfer Language
Memory Transfer
Arithmetic Micro-operations
Logic Micro-operations
Shift Micro-operations
Bus Architecture
Data Transfer
Central Processing Unit
CPU Bus Architecture

Computer Register and Types
Common Bus System
Instruction Format
Instruction Types
Instruction Cycle
Addressing Modes
Design of a basic computer

Basic function of a Computer
General register organization
Stack organization
Infix to Reverse Polish Notation Conversion
Instruction Types and their classifications
Data transfer and manipulation
Program control
RISC characteristics
CISC characteristics

Pipeline
Types of Pipeline
Arithmetic Pipeline
Instruction Pipeline
Hazards
Vector Processing

Data Representation
Addition and Subtraction
Adder Circuits
Shift and Add Multiplication Method
Booth's Algorithm
Restoring Division Algorithm
Non-Restoring Division Algorithm
Array Multiplier

Memory Classification
Memory Characteristics
Memory Organization
Memory Types
Associative Memory
Cache Memory
Virtual Memory

Input Output Interface
Modes of Data Transfer
Priority Interrupt
Direct Memory Access
Input-Output Processor
Serial Communication

TheCScience

We at TheCScience.com are working towards the goal to give free education to every person by publishing in dept article about Secondary, Senior-Secondary, and Graduation level subjects.

Pages

About US

Contact US

Privacy Policy

DMCA

Engineering Subjects

Internet of Things

Human Values

Digital Communication

Computer System Architecture

Programming Tutorials

Data Structure and Algorithm

C

Java

NCERT

Class 12th

©2026 TheCScience | WordPress Theme by SuperbThemes