8 - Architecture & Assembly Language Flashcards

(26 cards)

1
Q

What is a word in the context of a 32-bit machine?

A

Group/number of bits which can be addressed/transferred/manipulated as a single unit/in one go/at a time

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

Define the term instruction set.

A

The set/list of bit patterns/binary codes representing machine operations; the set/list of bit patterns/binary codes for which machine operations have been defined

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

What is meant by the stored program concept?

A

Program stored in main memory; instructions fetched and executed by processor; program can be replaced by loading another program into (main) memory

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

What connects the processor and main memory?

A

(Data/address/control/internal/system) bus

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

What is the purpose of secondary storage?

A

Store programs and/or data/files when not in use; when computer is off permanent/long term storage of programs and/or data; save programs/data

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

Describe the role of an I/O controller.

A

Allows processor to control/communicate with a peripheral using an (I/O) port; translates signals/data received from a peripheral into a form that can be processed by the computer; allows new peripherals to be added without redesigning the processor/computer hardware; allows peripheral designers to create new peripherals to one common interface standard

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

State an example of how the control bus is used when the processor stores data into main memory.

A

Indicate that a memory write is occurring; transfer clock signal; indicate the number of bits being transferred; receive transfer acknowledgement; send signal to request use of (system) bus

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

Describe two advantages of using the Harvard architecture compared to the von Neumann architecture.

A
  • Avoid/reduce bottleneck of single data/address bus(es)
  • Avoids possibility of data being executed as code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some ways hardware performance could be improved in Servers/PCs?

A
  • Replace the processor with one which has more cores
  • Install more RAM
  • Use SSDs instead of HDDs
  • Replace the motherboard with one which has buses that run at a faster clock speed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the consequence of increasing the width of the data bus?

A

Increase the number of bits that can be transferred at one time

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

What is the consequence of increasing the width of the address bus?

A

Increases the number of (memory) addresses/addressable locations

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

What is the consequence of increasing the clock speed?

A

Instructions performed more quickly; fetch execute cycle will happen faster

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

Describe a part of the I/O controller.

A

Electronics that interface the controller to the system bus; electronics appropriate for sending signals to the device connected to the computer

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

What is a Bus?

A

A set of/group of/parallel wires/lines

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

Give two examples of a signal carried by the control bus.

A
  • Clock/timing
  • Reset
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Give one use of ROM inside a computer.

A

Bootstrap Program

17
Q

Give three uses of RAM inside a computer.

A
  • User Data
  • Application Software
  • System Software
18
Q

Describe what an interrupt is and explain the purpose of interrupts.

A

A signal/request sent to the processor; so that a device/source that needs immediate attention of the processor can be serviced

19
Q

Describe the role of the control unit.

A

To marshal/control operation of fetch-execute cycle; controls fetching/loading/storing operations; to execute some instructions

20
Q

Explain why the volatile environment must be saved before an interrupt is serviced.

A

So that the currently running process/task/program can be returned to; as the code that deals with the interrupt will change/overwrite register values

21
Q

Explain the difference between direct addressing and immediate addressing.

A

Direct addressing means that the operand is the memory address; immediate addressing means the operand is the datum

22
Q

State the full names of two special purpose registers used in the fetch part of the fetch-execute cycle.

A
  • Program Counter
  • Memory Address Register
23
Q

What does an opcode represent?

A

Indicates the basic machine operation/function/command

24
Q

What does an operand represent?

A

Represents a single item of (binary) data/a single value

25
What is meant by the term register?
A (very fast) memory location within the processor
26
State one example of when the status register might have a bit set.
Arithmetic results – Overflow/underflow/positive/negative