1 Answer - Sort by: Date | Rating
The CPU or Central Processing Unit performs the following tasks:
1) Fetch instruction: - It reads an instruction from memory
2) Interpret instruction: - The instruction is translated to decide what action is to be performed
3) Fetch data: - In order to execute an instruction some data may need to be read from memory or an Input Output device
4) Process data: - In order to execute an instruction some kind of logical or arithmetic operation may be performed on the data
5) Write data: - Once the instruction is executed the result may be written to memory or an Input Output device
In order to perform the above tasks the CPU consists of two major components:
1) Arithmetic and Logic Unit (ALU)
2) Control Unit (CU)
Any form of computation is done in the ALU, while the CU controls the operation of the ALU, as well as the movement of data into and out of the CPU.
The ALU also requires some sort of memory to store data before and after computation. CPU memory is in the form of a set of locations called REGISTERS.
CPU registers may be divided into two categories:
1) User-visible registers: These registers can be accessed by programmers through machine language. These registers can be of the following categories: -
a) General Purpose – used for general purpose
b) Data – Used to hold data only
c) Address – Used to hold addresses only
d) Conditional codes – used to store flags
2) Control and status registers: These registers are used by the CU to control operations of the CPU, and by operating system programs to control program execution.
1) Fetch instruction: - It reads an instruction from memory
2) Interpret instruction: - The instruction is translated to decide what action is to be performed
3) Fetch data: - In order to execute an instruction some data may need to be read from memory or an Input Output device
4) Process data: - In order to execute an instruction some kind of logical or arithmetic operation may be performed on the data
5) Write data: - Once the instruction is executed the result may be written to memory or an Input Output device
In order to perform the above tasks the CPU consists of two major components:
1) Arithmetic and Logic Unit (ALU)
2) Control Unit (CU)
Any form of computation is done in the ALU, while the CU controls the operation of the ALU, as well as the movement of data into and out of the CPU.
The ALU also requires some sort of memory to store data before and after computation. CPU memory is in the form of a set of locations called REGISTERS.
CPU registers may be divided into two categories:
1) User-visible registers: These registers can be accessed by programmers through machine language. These registers can be of the following categories: -
a) General Purpose – used for general purpose
b) Data – Used to hold data only
c) Address – Used to hold addresses only
d) Conditional codes – used to store flags
2) Control and status registers: These registers are used by the CU to control operations of the CPU, and by operating system programs to control program execution.
0
0
- What Might You Want To Upgrade RAM On A System?
- How Do I Put My Presentation Onto My Memory Stick?
- How We Can Improve Our Memory During The Stress And Deadlines?
- What Does "Ready Boost Enabled" Mean If It Comes On A Memory Stick?
- How To Download To My Memory Stick?
- Why Memory Is Always In The Power Of 2?
- What Ram To Upgrade Dell Dimension 2400?
- How Do I Erase A Memory Stick?
- Where Is Virtual Memory Held?
- What Is The Difference Between Firm Ware And Actual Memory As Applied To Computing?
- What Is Actual Memory?
- Write A Memo From Joe Gilmore To Christine Lancaster, Regarding Her Idea For The Next Training Series. The Memo Must Not Exceed 300 Words?
- How Is The Purpose Of The Register Memory?
- How To Put Songs On A Memory Stick?
- How To Put Things On Your Memory Stick?
- What Is The Difference Between A Firmware And Actual Memory?
- What Is The Difference Between CPU Registers And Secondary Memory?
- How To Increase Memory Power?
- How Can I Check Cash Memory Of My Computer?
- What Is A Model Between Learn And Memory?
- How The Space Allocation Done By The Hard Disk And What Type Data Structure Is Used To Space Allocation?
- Can I Put A Ddr2 800mhz Module In A Ddr 2 400mhz Brick/socket?
- What Does Random-Access Memory Do?
- Explain The Concept Of Virtual Memory & Cache Memory?
- Can You Define The Various Type Of Secondary Memory?

New Comment - Comments are editable for 5 min.