A Working Computer Flashcards

(15 cards)

1
Q

Memory

A

stores complete instructions for a program
- each instruction is at an address
- read data from or write data to memory

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

Registers

A
  • memory slots in CPU
  • has address that holds data being manipulated
  • Stores intermediate values calculated by computer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fetch

A
  • read instructions from memory starting at PC using iCd
  • determine new PC value
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Decode

A

parse instructions received from fetch using iCd and iFn
- accesses general purpose registers

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

Execute

A

Uses ALU to perform computations

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

Program Counter

A

Keeps track of where you are in the program

Specifically, this is the memory address we look at to find the current instruction to execute.

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

iCd

A

Determine the function performed by the computer
(higher level: instructions)

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

iFn

A

Determine the function performed by the computer
(lower level: type of arithmetic)

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

bch

A

Determines whether or not we perform an unconditional jump

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

which value(s) tell the circuits inside the computer what to do to execute the current instruction?

A

iCd and iFn

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

programmers can store data in ____ and ____

A

memory and registers

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

Which values or components can contain a memory address?

A
  • valC
  • valP
  • general purpose register
  • PC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

ALU

A

performs arithmetic and logical operations

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

write-back

A

store value(s) into register(s)

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

PC update

A

store new PC value

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