Module 1 Flashcards

1
Q

What are the two main functions of the Processing Unit

A

1) fetch an instruction

2) execute an instruction

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

What is the function of a control unit?

A
  • For each operation a unique operation code (op code)

- hardware accepts the code and issues the control signals

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

What is the Processing Unit made up of

A

1) The Control Unit

2) The Arithmetic and Logic Unit

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

What is the Fetch Cycle?

A
  • Program Counter (pc) holds address of next instruction to fetch
  • Processor fetches instruction from memory location pointed to by PC
  • Increment PC
  • Instruction loaded into Instruction Register (IR)
  • Processor interprets instruction and performs required actions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a program?

A
  • A sequence of
  • for each step, an arithmetic or logical operation
  • for each operation a different set of control signals is needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Execute?

A
  • Processor - memory
    •data transfer between CPU and Main memory
  • Processor I/O
    • data transfer between CPU and I/O module
  • Data Processing
    • Some arithmetic or logical operation on data
  • Control
    • alteration of sequence of operations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Instruction Cycle of Operations

A
  • Fetch instruction (FI)
  • Decode instruction (DI)
  • Calculate operands (CO)
  • Fetch operands (FO)
  • Execute Instruction (EI)
  • Write operation (WO)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What can change the Normal Flow of control of a program

A

1) an exception

2) an interrupt

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

What are the subsystems of the Processor

A

1) Registers
2) Arithmetic Logic Unit
3) Control Unit

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

What is a Register

A

Registers are temporary storage units within a processor

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

How many Registers are found in a processor

A

Most have 4

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

What are the four Registers?

A

1) Program Counter
2) Instruction Register
3) Memory Address Register
4) Memory Buffer Register

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

What does the Program Counter do

A

Contains the memory address of the instruction currently being executed

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

What does the Arithmetic logic Unit do?

A

This is the subsystem that does the arithmetic.

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

What are the building blocks of a system?

A

1) Inputs
2) Process
3) Outputs

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

What is an exception?

A

An unexpected situation occurring in a program (system call)

17
Q

What is a Interrupt?

A

Hardware interrupts occur at any time with the execution of a program and might have something to do with the program. Tells the processor of external events that need attention.