Topic 7 Flashcards

1
Q

What is a backing store?

A

A non-volatile storage device

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

What does a power supply do?

A

Converts alternating current to low-voltage direct voltage

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

Name four tasks the processor is responsible for?

A

Sorting and searching data
Performing calculations
Logical decision making
Control of input, output and storage devices

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

What is the bus system is composed of?

A

The bus system is composed of the communication links which connect the various parts of the computer

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

What are the 3 buses?

A

Address bus
Data bus
Control bus

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

Draw the bus diagram

A

xxx

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

What does the main memory do?

A

Main memory stores program instructions and data that are processed by the processor

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

What does the address bus do?

A

The address bus specifies a physical address in main memory and the value that is to be read or written into that address is communicated via the data bus

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

What does the control bus do?

A

the control bus manages data processing; for example, sends a signal to either write from the data bus to a memory address or a signal to read data from a memory address

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

Input and output - ______ _______ received from the _______ include input (read) or _____ (_____) requests. These control signals are the used to connect a ______ bus to specific I/O devices.

PROCESSOR
WRITE
CONTROL
SIGNALS
OUTPUT
SYSTEM
A

Input and output - control signals received from the processor include input (read) or output (write) requests. These control signals are the used to connect a system bus to specific I/O devices.

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

What is Von Neumann’s architecture?

A

Data and instructions are both stored in the main memory

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

Draw the Von Neumann architecture

A

What is Harvard architecture?

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

Draw Harvard architecture

A

xxx

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

What is addressable memory

A

What is addressable memory

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

Why is addressable memory used?

A

the processor needs to be able to locate memory locations so each location is given a code

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

How does the processor locate a memory location?

A
  1. The processor writes the code into the address bus
  2. The processor sends a request to the control bus with instructions to read or write to the memory location
  3. The data that is being read from or written to will be transferred via the data bus
17
Q

What is the stored program concept?

A

Data and instructions are both stored in the main memory

18
Q

What is Harvard architecture?

A

data and instructions are stored separately

19
Q

What does the ALU do?

A

Performs mathematical and logical operations

20
Q

What does the control unit do?

A

Fetches instructions, decodes them, and executes

21
Q

What does the clock do?

A

Synchronises computer operations

22
Q

What does the register do?

A

Used to hold instructions and data temporarily

23
Q

What are general purpose registers used for?

A

Used to hold instructions and data temporarily

24
Q

What does the ACC register do?

A

Used as fast temporary storage by the ALU

25
Q

What does the SR register do?

A

The status register is a hardware register that contains information about the state of the processor

26
Q

What does the PC register do?

A

Holds the address of the next instruction to be used

27
Q

What does the MAR register do?

A

Holds the address of the current instruction being executed

28
Q

What does the MBR register do?

A

Holds the instruction from the (MAR) and the associated data

29
Q

What does the CIR register do?

A

Used to store the instruction that is to be decoded and executed

30
Q

Explain the ‘fetch’ part of the ‘fetch, decode, execute cycle’?

A

The PC points to the next instruction to be fetched
The contents of the PC are copied into the MAR
The contents of the MAR are transferred by the data bus to MBR
The contents of the MBR are copied to CIR
the PC is updated to the address of the next instruction

31
Q

Explain the ‘decode’ part of the ‘fetch, decode, execute cycle’?

A

The instruction in the CIR is decoded

32
Q

Explain the ‘execute’ part of the ‘fetch, decode, execute cycle’?

A

The decoded instruction is executed

The process is repeated

33
Q

What is the op-code?

A

Op-code is machine code instructions

34
Q

What is the operand

A

Is the value or memory address

35
Q

In a 16-bit operation, how many bits represent the op-code?

A

4 bits for the op-code

12 bits for the operand

36
Q

.

A

.

37
Q

What is direct/absolute addressing?

A

The code refers to a memory location
e.g
ADD (1302)
It adds the contents of address 1302 to the accumulator

38
Q

Why does assembly language exist?

A

It is used to make machine code easier to remember and read

39
Q

what does a # mean

LDR r1, #21

A

Loads THE NUMBER into the address r1