100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Resumen

Summary of each unit

Puntuación
-
Vendido
-
Páginas
8
Subido en
28-08-2023
Escrito en
2022/2023

These documents contain summaries of the information required for the OCR exams for A level Computer Science. They are split into each unit and contains all the necessary information and some which may or may not necessarily be needed at the time, however it is all useful to the course.

Mostrar más Leer menos
Institución
Grado

Vista previa del contenido

Structure and function of the processor:
Components of a processor:
The processor is basically the brain of a computer. It executes instructions and allows programs to
run.

Arithmetic Logic Unit:
The Arithmetic Logic Unit (ALU) completes all operations that are arithmetical or logical. Arithmetical
operations are mathematical operations, such as addition or subtraction of fixed- or floating-point
numbers. Logical operations include Boolean logic operations, such as AND, OR, NOT, XOR.

Control Unit:
The Control Unit is the component that directs the operations of the CPU. These operations are:

 Controlling and coordinating the activities of the CPU
 Managing data flow between the CPU and other devices
 Accepting the next instruction
 Decoding instructions
 Storing the resulting data back in memory

Registers:
Registers are small memory cells that operate at a high speed. They are used to temporarily store
data and all arithmetic; logical and shift operations occur here.

Registers Purpose
Program Counter (PC) Holds the address of the next instruction to be executed.
Accumulator (ACC) Stores the results from calculations.
Memory Address Register (MAR) Holds the address of a location that is to be read from or
written to.
Memory Data Register (MDR) Temporarily stores data that has been read or needs to be
written.
Current Instruction Register Holds the current instruction being executed, the instruction is
(CIR) divided into operand and opcode.
Buses:
Buses are a set of parallel wires that connect 2 or more components within the CPU. There are three
types of buses:

 Data bus
 Address bus
 Control bus

These are collectively called system busses. The width of the bus is directly proportional to the
number of bits that can be simultaneously transferred at a given time.

Data bus:
The data bus is a bi-directional bus. It is used for transporting data and instructions between
components.

, Address bus:
The address bus is used to transmit the memory addresses that specify where data is to be sent or
retrieved. The width of the address bus is proportional to the number of addressable memory
locations.

Control bus:
The control bus is a bi-directional bus and is used to transmit control signals between internal and
external components. These signals include:

 Bus request-Shows that a device is requesting the use of the data bus
 Bus grant-Shows that the CPU has granted access to the data bus
 Memory write-Data is written to the addressed location
 Memory read-Data is read from a specific location
 Interrupt request-Shows that a device is requesting access to the CPU
 Clock-Used to synchronise operations

Assembly language:
Assembly code uses mnemonics to represent instructions, such as ADD which represents addition.
The instructions are divided into operand and opcode in the CIR. The operand contains the data or
the address of the data which the operation is to be performed. The opcode specifies the type of
instruction to be executed.

Operation code operand
Machine code operation Addressing
mode
0 1 0 0 0 1 0 1 0 0 1 1 0 1 0 1


Pipelining:
Pipelining is the process of completing the Fetch-Decode-Execute cycles of 3 separate instructions at
the same time. While one instruction is executed, one is decoded and one is fetched.

Fetch Decode execute
1
2 1
3 2 1
4 3 2
5 4 3
6 5 4


Fetch-Decode-Execute Cycle:
The Fetch-Decode-Execute cycle is the sequence of operations that are completed in order to
execute an instruction.

Fetch:
 Address from the PC is copied to the MAR
 Instruction held at that address is copied to the MDR by the Data bus
 Simultaneously the contents of the PC are increased by 1
 The value held in the MDR is copied to the CIR

Escuela, estudio y materia

Nivel de Estudio
Editores
Tema
Curso

Información del documento

Subido en
28 de agosto de 2023
Número de páginas
8
Escrito en
2022/2023
Tipo
RESUMEN

Temas

Preguntas de práctica disponibles

$11.58
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
michaellawther

Conoce al vendedor

Seller avatar
michaellawther Huddersfield New College
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
-
Miembro desde
2 año
Número de seguidores
0
Documentos
12
Última venta
-

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes