3. Machine Level Architecture Flashcards

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
Q

Define Registers

A

Fast memory locations inside the processor that may be dedicated or general purpose

26
Q

Define Clock

A

A timing device connected to the processor that synchronises the fetch, decode, execute cycle.

27
Q

Define Clock speed

A

The number of cycles performed by the CPU per second. Measured in hertz.

28
Q

What are the 4 registers used in the fetch, decode execute cycle

A

Program counter Memory address register Memory buffer register Current instruction register

29
Q

Define Program Counter

A

An incrementing counter that keeps track of the memory address of which instruction is next

30
Q

Define Memory Address Register

A

Holds the address in memory of the next instruction to be executed

31
Q

Define Memory Buffer Register

A

A two-way register that holds the data fetched from memory or data waiting to be stored in memory

32
Q

Define Current Instruction Register

A

A temporary holding ground for the instruction that has just been fetched from memory

33
Q

Define General Purpose Register

A

A register not assigned a specific role. Programmers may use general purpose registers

34
Q

Define dedicated register

A

A register assigned a specific role. Programmers may use some, but not all dedicated registers

35
Q

How can you increase performance

A

Increase clock speed Adjust word length Increase bus width

36
Q

Why must clock speed be limited

A

Heat generated in the chip by higher frequencies can’t be removed quickly enough

37
Q

Define Word Size

A

The number of bits of information that a processor can process at one time

38
Q

Define Bus Size

A

The number of bits of information a bus can carry at one time The u umber of wires making up the bus

39
Q

Define Machine Code

A

Simple instructions that are executed directly by the CPU Binary code

40
Q

Define Instruction Set

A

The range of instructions that a CPU can execute

41
Q

Define EEPROM

A

Electronically erasable programmable read-only memory. Its contents may be altered but writing is about 100 times slower than reading

42
Q

Define System Bus

A

The main highway connecting the processor, main memory and I/O controllers

43
Q

What are the 2 parts of an instruction

A

OPCODE OPERAND

44
Q

Define OPCODE

A

The instruction name / operation

45
Q

Define OPERAND

A

The data or address to perform the instruction on

46
Q

First step of Fetch Execute cycle

A

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
Q

Second Step of the Fetch Execute Cycle

A

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
Q

Third Step of the Fetch Execute Cycle

A

CIR ← [MBR]

The MBR loads the Current Instruction Register with the instruction to be executed

49
Q

Fourth step of the Fetch Execute Cycle

A

Decode Instruction

50
Q

Fifth step of the Fetch Execute Cycle

A

Execute Instruction

Uses registers such as ALU if necessary

51
Q
A