CPU Design Flashcards

1
Q

What is the overall structure of a computer?

A

Mainboard, processor, memory, I/O, buses

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

Name some of the registers in the CPU

A

ALU, control unit, program counter, MBR, MAR, Instruction register, general purpose registers

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

What is memory made up of?

A

A series of addresses and data. A word is one unit of memory (16 bits)

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

Who and when developed the 6502?

A

Chuck Peedle, MOS technology, 1975

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

How many transistors does the 6502 have?

A

3000 transistors

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

How does a CPU fetch programs?

A

Fetch - CPU requests an address from the memory (program counter), the contents of the address get sent to the CPU (instruction register).

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

How does the CPU decode the programs?

A

decode - The IR passes the data to a decoder where it turns the data into a physical interaction

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

How does the CPU execute a program?

A

The physical interaction is sent to registers where it is executed depending on what it needs (store, load, arithmetic)

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

What is the control unit?

A

A machine for execution management, made up of digital logic and driven by a clock

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

What does the ALU do?

A

integer operations, Logic operations, Shift operations

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

What does the PC and the IR do?

A

Program counter - stores the address of the current instruction
Instruction register - stores the current instruction being executed

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

What is an instruction made up of?

A

Opcode, operand

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

How many different instruction addresses can a 12 bit operand hold?

A

2^12 addresses

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

What is an unconditional branch?

A

Jump to Z, Z = address of next instruction, write Z to program counter

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

When do we use unconditional branches?

A

It is used in Vonn Neuman architecture to jump over data in the memory.
Can be used to make an infinite loop.

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

What is a conditional branch?

A

Only jumps if a condition has been fulfilled, raises a flag for the condition and executes accordingly

17
Q

What is an assembly language?

A

Assembly languages translate from high-level languages to machine code.

18
Q

What is MARIE?

A

Machine architecture and assembly language, 16 bit accumulator architecture