CPU/Microprocessor Flashcards

1
Q

Each instruction executed by the CPU requires what?

A

Memory access

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

Primary memory holds?

A

Program instructions and data

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

Secondary storage holds?

A

Long term storage

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

Data is moved from where to where for CPU execution?

A

Secondary storage to primary memory

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

What is the Little Man Computer (LMC)?

A

An instructional model of a computer that models a simple von neumann architecture computer, which has all the basic features of a modern computer.

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

What is von neumann architecture?

A

Memory holds both programs and data, memory is addressed linearly, memory is addressed by the location number without regard to the data contained within.

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

How many LMC mailboxes?

A

There are 100, addressed 0-99.

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

Contents of LMC mailboxes:

A

Each mailbox is designed to hold a single slip of paper, with a three digit decimal number. The contents are not the same as the address

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

LMC calculator:

A

Simple, used to enter and temporarily hold numbers, add and subtract.

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

Hand counter/instruction location counter:

A

There is a two digit hand counter, you click to increment the count and there is a reset button.

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

Little man:

A

Performs certain tasks, interacting with the outside world through an in basket and out basket

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

Some LMC instructions:

A

LOAD: LM walks to mailbox address from the instruction, reads the three digit number and punches it into the calculator
STORE: LM walks to calculator, reads the number, stores it in mailbox address whos address is in the instruction
ADD: LM walks to mailbox address, reads number, adds to the number already in the calculator. The number in the mailbox is unchanged.
SUBTRACT: same but with subtraction
INPUT: LM walks to in basket and picks up the paper, and enters it into the calculator. The number isn’t in the basket anymore and whatever was in the calculator has been replaced.
OUTPUT: LM walks to calculator, writes number, goes to the out basket and places the paper
HALT: stop!

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

CPU/LM instruction cycle:

A

The instruction cycle is the steps that the LM takes to perform an instruction

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

The instruction cycle can be split into what two parts?

A

The fetch portion, in which LM finds out what instruction he is to execute, and
The execute portion, in which LM actually performs the work specified in the instruction

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

What are the components of the computer unit?

A

ALU, Control Unit (CU), and memory

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