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

OCR Computer Science Unit 1

Rating
-
Sold
1
Pages
54
Uploaded on
13-11-2018
Written in
2016/2017

Notes for OCR A Level Computer Science, first examined in 2016 (AS) and 2017 (A2). Notes written from course text books and other third party resources and research. Comprehensively mapped to the specification. I got an A* using them.

Show more Read less
Institution
OCR








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

Document information

Uploaded on
November 13, 2018
Number of pages
54
Written in
2016/2017
Type
Lecture notes
Professor(s)
Unknown
Contains
All classes

Content preview

(01) Computer Systems
1.1.1 Structure and function of the processor




(a)The Arithmetic Logic Unit and Control Unit
Control Unit ‐

 Controls and monitors attached hardware,
ensures commands are executed
 Controls the input and output of data ‐
signals are forwarded to the right place at the
right time. Controls flow of data in FDE Cycle
 It decodes instructions into multiple steps to
simultaneously execute
 It Executes Instructions and stores results
back in memory

The ALU is divided in 2 parts; Output stored in accumulator to be collected by the data bus.
Arithmetic ‐ performs calculations on integers and floating point numbers
Logic ‐ deals with logic and comparisons, can also perform shifts (1.4.1(i) – Shifts)

Registers (PC, MAR, MDR, CIR) (Accumulator Overleaf) ‐ faster than Cache or RAM
A Register is a discrete memory location to hold temporary data. They are small pieces of fast
memory acting as a “Buffer”. There are general and special purpose registers all within the CPU.

The program counter’s value represents the address of the next instruction to be fetched and
executed. This address is given to the Memory address register when the cycle begins. The value
can only be altered by flow altering instructions such as Jump and Branch in LMC. The value it holds
might be in sequence or it might be executing a “jump”

The Memory address register stores the address of instructions and data to be fetched or written to
in the storage. It uses the address bus (locate) and data bus to read/write. This is then stored in the
MDR (for fetch), or results are taken from the MDR for write.

The Memory Data Register (Memory Buffer Register) holds a buffer of the data that has been read
or is to be written. If the data is an Instruction it is sent to the CIR, otherwise held until required for
processing. The MDR may also hold data waiting to be written.

If the data in the MDR is an instruction it is sent to the Current Instruction Register. Instructions are
represented as Opcode and Operand, the opcode is the instruction stored in the CIR for decoding,
the operand is either data (which is given to the MDR) or it is the address of the data (given to the
MAR to be fetched). The instruction will be decoded by the control unit, where it will be checked to
ensure it is a valid instruction. When the Program Counter increments a new FDE cycle begins

P a g e 2 | 81
Ravi Shah
£8.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
ravi15
2.0
(2)

Also available in package deal

Thumbnail
Package deal
OCR A Level Computer Science (H446)
-
1 3 2018
£ 25.47 More info

Get to know the seller

Seller avatar
ravi15 OCR
View profile
Follow You need to be logged in order to follow users or courses
Sold
4
Member since
7 year
Number of followers
3
Documents
8
Last sold
1 year ago

2.0

2 reviews

5
0
4
0
3
1
2
0
1
1

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions