3. Machine Level Architecture Flashcards

(51 cards)

1
Q

What is Main memory

A

All data and instructions stored in main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define processor

A

Executes programs and supervises the operation of the rest of the system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define main memory

A

Data store that can be directly addressed by the CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define RAM

A

Random access memory Can be read from and written to. Data is cleared when the power is off

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define ROM

A

Read-only memory Can only be read from. Data is maintained when the power is off

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is in the 3 box model

A

CPU, Main memory, Input/ Output System bus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the system bus

A

The Control Bus The Address Bus The Data bus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define address bus

A

Single directional Carries address signals from the CPU to Main Memory and I/O devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Define Data Bus

A

Bi- directional Bus Typically consists of 32 wires Used to transport data between the 3 components

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the benefit of a larger data bus

A

The larger the data bus, the more data can be transported at one time. Therefore more complex instructions can be used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define Control Bus

A

Bi-directional bus Typically consists of 8 wires. Used to transport control signals between the 3 components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Define Computer Bus

A

A set of parallel wires connecting independent components of a computer system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Define I/O

A

Input / Output Allows the CPU to communicate with peripherals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define Input Devices

A

Used to get information into the system - keyboard, mouse, touch screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Used to send information out of the system -VDU( Visual Display Unit), printer, speakers

A

Define Output Devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define I/O controller

A

An electronic circuit that connects to a system bus and an I/O device. It provides the correct voltages and currents for the system bus and the I/O device . Keyboard controller, disk controller, video display controller

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Define I/O device

A

A hardware unit that sends or receives data, or stores data by communicating with the processor and main memory through an I/O controller

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Define Periperal

A

A computer device that is not part of the CPU. Can be external - Mouse, Keyboard, Monitor Can be internal - CD drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Define I/O port

A

A set of data, command and and status registers. Allows for I/O devices to be connected without the need for special equipment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Define secondary storage

A

Permanent storage memory not directly connected to the processor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Define Addressable memory

A

Data blocks in main memory

22
Q

Define Stored Program Concept

A

A program must be in Main Memory to be executed. It is processed with fetch, decode, execute one at a time

23
Q

Define ALU

A

Arithmetic Logic Unit Does operations such as ADD, SUBTRACT. Performs the arithmetic and logic operations.

24
Q

Define Program Control Unit

A

Fetches program instructions from memory, decodes them and executes them, 1 at a time

25
Define Registers
Fast memory locations inside the processor that may be dedicated or general purpose
26
Define Clock
A timing device connected to the processor that synchronises the fetch, decode, execute cycle.
27
Define Clock speed
The number of cycles performed by the CPU per second. Measured in hertz.
28
What are the 4 registers used in the fetch, decode execute cycle
Program counter Memory address register Memory buffer register Current instruction register
29
Define Program Counter
An incrementing counter that keeps track of the memory address of which instruction is next
30
Define Memory Address Register
Holds the address in memory of the next instruction to be executed
31
Define Memory Buffer Register
A two-way register that holds the data fetched from memory or data waiting to be stored in memory
32
Define Current Instruction Register
A temporary holding ground for the instruction that has just been fetched from memory
33
Define General Purpose Register
A register not assigned a specific role. Programmers may use general purpose registers
34
Define dedicated register
A register assigned a specific role. Programmers may use some, but not all dedicated registers
35
How can you increase performance
Increase clock speed Adjust word length Increase bus width
36
Why must clock speed be limited
Heat generated in the chip by higher frequencies can't be removed quickly enough
37
Define Word Size
The number of bits of information that a processor can process at one time
38
Define Bus Size
The number of bits of information a bus can carry at one time The u umber of wires making up the bus
39
Define Machine Code
Simple instructions that are executed directly by the CPU Binary code
40
Define Instruction Set
The range of instructions that a CPU can execute
41
Define EEPROM
Electronically erasable programmable read-only memory. Its contents may be altered but writing is about 100 times slower than reading
42
Define System Bus
The main highway connecting the processor, main memory and I/O controllers
43
What are the 2 parts of an instruction
OPCODE OPERAND
44
Define OPCODE
The instruction name / operation
45
Define OPERAND
The data or address to perform the instruction on
46
First step of Fetch Execute cycle
MAR ← [PC] The contents of the Program Counter, the address of the next instruction to be executed is placed in the Memory Address Register
47
Second Step of the Fetch Execute Cycle
MBR ← [Memory Addressed] PC ← [PC + 1] The Address is sent from the MAR, along the Address Bus to Mian Memory. The Instruction at the adderss is returned along the Data Bus to the Memory Buffer Register. Simultainiously, the Conents of the Program Counter is increased by 1
48
Third Step of the Fetch Execute Cycle
CIR ← [MBR] The MBR loads the Current Instruction Register with the instruction to be executed
49
Fourth step of the Fetch Execute Cycle
Decode Instruction
50
Fifth step of the Fetch Execute Cycle
Execute Instruction Uses registers such as ALU if necessary
51