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 23, 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

Basic structure of a computer
Functional Units of a Computer
Development of Computers
Von Neumann and Harvard Machine Architecture
Flynn Classification
Computer Structure Architecture
Basic Computer Data Types
Arithmetic Complement
Real Numbers Representation
Interfacing Logic Devices
Levels of Design Abstraction
Performance Metrics

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

Difference between Computer Architecture and Organization
Computer Register and Types
Common Bus System
Instruction Format
Instruction Types
Instruction Cycle
Fetch Decode Execute Instruction Cycle
Timing and Control of Instruction Cycle
Input-Output and Interrupt
Memory Reference Instructions
Addressing Modes
Design of a basic computer
Design of Accumulator Unit
Design of Control Unit
Difference between Hardwired Control and Microprogrammed Control

Basic Function of a Computer
Register organization
General Register Organization
Stack organization
Infix to Reverse Polish Notation Conversion
Instruction Types and their classifications
Data transfer and manipulation
Program control
RISC and CISC
Difference between RISC and CISC

Parallel Processing
Pipeline
Types of Pipeline
Arithmetic Pipeline
Instruction Pipeline
Hazards
RISC Pipeline
Vector Processing
Array Processors

Machine Language
Assembly Language
Arithmetic and Logical Operations
Subroutine
Data Representation
Addition and Subtraction
Adder Circuits
Shift and Add Multiplication Method
Booth's Algorithm
Restoring Division Algorithm
Non-Restoring Division Algorithm
Array Multiplier
Hardwired control and Microprogrammed control Difference

Memory Classification
Memory Characteristics
Memory Organization
Memory Types
Auxiliary Memory
Associative Memory
Cache Memory
Virtual Memory
Paging and Segmentation Difference
Multiprocessor
Interconnection Structures
Interprocessor Arbitration
Interprocessor Communication and Synchronization
Cache Coherence
Shared Memory Multiprocessors

Input Output Interface
Asynchronous Data Transfer
Modes of Data Transfer
Input-Output Programming
Priority Interrupt
Microprogramming
Control Memory
Address Sequencing
Micro Program Examples
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

Our Tools

Hosting - get 20% off

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