100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

HARDWARE IGCSE/GCSE computer science (everything u need tk)

Rating
-
Sold
-
Pages
33
Uploaded on
16-07-2024
Written in
2023/2024

Lecture notes of 33 pages for the course Cambridge at Cambridge (.)

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
July 16, 2024
Number of pages
33
Written in
2023/2024
Type
Class notes
Professor(s)
.
Contains
All classes

Subjects

Content preview

The CPU processes instructions and data that are input into the computer
so that the result can be output


A microprocessor is a type of integrated circuit on a single chip




Von newman obeys the stored program concept:
● Programs and instructions are stored in memory
● Instructions are fetched one after another
● Data is stored in memory


The purpose of the components in a CPU:
- ALU
- CU
- Registers
- Busses




Role ALU:
The arithmetic logic unit carries out calculations and logical operations, it
also holds temporary values during calculations in a register called the
accumulator




Role of CU:
It sends control signals that manage the transfer of data and instructions
within the CPU It also decodes an instruction using an instruction set and
controls the flow of data through the CPU

,5 types of registers:
- PC (program counter)
- MAR (memory address register)
- MDR (memory data register)
- CIR (current instruction register)
- ACC (Accumulator)


The role of registers is to store and hold data temporarily


PC: A register that holds the address of the next or current instruction to be
processed.


MAR: A register that holds the address of the data or instruction that needs
to be fetched or processed IT ALSO holds the address of where the
data needs to be stored.


MDR: This is a register that store data or an instruction that has been
fetched from memory


CIR: Contains the instruction / data to be decoded


ACC: This is a register that is built into the arithmetic logic unit. It temporary
holds the result of a calculation

,Buses:
Address bus
Data bus
Control bus


primary function of the bus is to transmit data and signals between
the various components within a computer system




Data bus responsible for transmitting data/instructions between
components in CPU BIDIRECTIONAL


Control bus responsible for transmitting control signals FROM control unit
to all other computer components BIDIRECTIONAL (data can travel both
directions)


Address bus responsible for transmitting addresses between components
in the CPU and memory UNIDIRECTIONAL

, FETCH-DECODE-CYCLE


1. The program counter (PC) stores the address of the memory location
of the next instruction which has to be fetched

2. This location is copied into memory data register (MDR) using
address bus

3. The memory address is sent using address bus

4. The Program Counter is incremented by 1 so now it points new
instruction to be fetched

5. The instruction is sent from the address in memory to the Memory
Data Register (MDR)

6. The instruction is transferred using the data bus

7. The instruction is sent to Current Instruction register (CIR)




Factors that determine performance of a CPU:
- System clock (clock cycle) (clock speed)
- Bus width
- Cache size
- Number of cores
$10.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
aahilkamran

Also available in package deal

Get to know the seller

Seller avatar
aahilkamran
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
9
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions