Week 1 Flashcards

1
Q

ALU

A

-Arithmetic and Logic Unit inside of CPU
LC-3: Can perform “ADD”, “AND”, and “NOT operations

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

Memory

A

-Stores bits in a 2^k x m array
-k = # of bits in address (index)
-m = # of bits that can be stored
-Contains MAR and MDR
-Has load and store operations
LC-3: k = 16 and m = 16

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

Load

A

-Gets data out of memory (“Read”)
Steps:
1: Write address to MAR
2: Send a “read” signal
3: Read value from MDR

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

Store

A

-Puts data into memory (“write”)
Steps:
1: Write value to MDR
2: Write address to MAR
3: Send a “write” signal

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

MAR

A

-Memory Address Register
-Contains the address/index of a piece of data stored on memory

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

MDR

A

-Memory Data Register
-Stores the data to be put in or taken out of the memory

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

CPU - Registers

A

-Small bits of temporary data in the cpu

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

Word Size

A

-Number of buts handled at once by the Processing Unit (size of the registers)
LC-3: Has eight registers (each holding 16 bits = word size)

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

Control Unit

A

-Interprets instructions and sends signals to other components for coordination of instructions
-Contains the IR and the PC

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

IR

A

-Instruction Register
-Contains the current instruction being executed

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

PC

A

-Program Counter
-Contains the memory address of the next instruction to be executed

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

I/O Devices

A

-Devices used for transferring data into and out of the memory
-Keyboards, speakers, displays, etc
-Program that controls devices = drivers
LC-3: Uses keyboard for input and terminal for output

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

ISA

A

-Instruction Set Architecture
-Provides all info needed to write a program in machine language
-Microarchitecture = hardware of ISA

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

Opcode

A

-Specifies which operation to perform

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

Operand

A

-Data used for the operation

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

Instruction Cycle

A

-Sequential stages in which machine executes a single instruction
-Fetch, Decode, Evaluate Address, Fetch Operands, Execute, Store

17
Q

Fetch

A

-Loads instruction into memory
Steps:
1. Copies contents of PC into MAR
2. Send a “read” signal to memory
3. Copy contents of the MDR into the IR
4. Increment PC (PC = PC + 1)

18
Q

Decode

A

Determines how to execute the instruction
Steps:
1. Identify the opcode/function
2. Assert control line based on 4-to-16 decoder
3. Identify the operands based on opcode

19
Q

Evaluate Address

A

-Computes address used to access memory
Not used for some instructions (like add)

20
Q

Fetch Operands

A

-Loads instruction’s operands
-Can load values from memory or registers

21
Q

Execute

A

-Performs operations that require ALU
-Send signal to ALU
-Not always used

22
Q

Store

A

-Writes result of the instruction to destination
-Can store in memory or in registers

23
Q

Pipelining

A

-Overlaps instructions, executing multiple instructions at different stages at the same time
LC-3: NOT used