Term
3 major components of a CPU |
|
Definition
- Arithmetic/Logic Unit (ALU)
- Control Unit (CU)
- Memory
|
|
|
Term
Arithmetic/Logic Unit (ALU) |
|
Definition
Where data is held temporarily and where calculations take place |
|
|
Term
|
Definition
- Controls and interprets the execution of insturctions
- Follows a sequence of actions that correspond to the fetch-execut instruction cycle
- Also contains the the program counter (PC) and the Memory Management Unit (MMU)
|
|
|
Term
|
Definition
Where the instructions to execute and teh data are stored. |
|
|
Term
|
Definition
-
Single, permanent storage location within the CPU used for a defined purpose
-
hold a binary value temporarily for storage, manipulation, and/or simple calculations
|
|
|
Term
General Purpose registers |
|
Definition
also known as accumulators; hold the data that are used for arithmetic operations as well as the results. |
|
|
Term
|
Definition
Holds address of current instruction being executed. |
|
|
Term
|
Definition
Holds the actual instruction being executed. |
|
|
Term
Memory Address Register (MAR) |
|
Definition
Holds the address of a memory location |
|
|
Term
Memory Data Register (MDR) |
|
Definition
Holds a data value that is being stored to or retrieved from the location in the MAR. |
|
|
Term
|
Definition
Several 1-bit registers also known as FLAGS, used to keep track of special conditions such as arithmetic carry, overflow and error conditions. |
|
|
Term
What is the LMC formal instruction process for Subtract? |
|
Definition
- PC → Mar
- MDR → IR
- IR[addr] →MAR
- A-MDR → A
- PC+1 → PC
|
|
|
Term
What is the LMC formal instruction process for Add? |
|
Definition
- PC → Mar
- MDR → IR
- IR[addr] →MAR
- A+MDR → A
- PC+1 → PC
|
|
|
Term
What is the LMC formal instruction process for Input? |
|
Definition
- PC → Mar
- MDR → IR
- Inbox → A
- PC+1 → PC
|
|
|
Term
What is the LMC formal instruction process for Output? |
|
Definition
- PC → Mar
- MDR → IR
- A → Outbox
- PC+1 → PC
|
|
|
Term
What is the LMC formal instruction process for Halt? |
|
Definition
|
|
Term
What is the LMC formal instruction process for Branch? |
|
Definition
- PC → Mar
- MDR → IR
- IR[addr] → PC
|
|
|
Term
What is the LMC formal instruction process for Branch Zero? |
|
Definition
- PC → Mar
- MDR → IR
- IF A ==0:IR[addr] → PC
- ELSE:PC+1 → PC
|
|
|
Term
What is the LMC formal instruction process for Branch Positive? |
|
Definition
- PC → Mar
- MDR → IR
- IF A=>0:IR[addr] → PC
- ELSE:PC+1 → PC
|
|
|
Term
What is the LMC formal instruction process for STORE? |
|
Definition
- PC → Mar
- MDR → IR
- IR[addr] → MAR
- A → MDR
- PC+1 → PC
|
|
|
Term
What is the Formal LMC instruction process for Load? |
|
Definition
- PC → Mar
- MDR → IR
- IR[addr] → MAR
- MDR → A
- PC+1 → PC
|
|
|
Term
What is the LMC formal instruction process for CALL (PUSH)? |
|
Definition
- PC → Mar
- MDR → IR
- PC+1 → STACK
- IR[addr] → PC
|
|
|
Term
What is the formal LMC instruction process for RETURN (POP)? |
|
Definition
- PC → Mar
- MDR → IR
- STACK → PC
|
|
|
Term
|
Definition
A group of electrical conductors suitable for carrying conputer signals fro one location to another. |
|
|
Term
|
Definition
- Point-to-Point: Carries signals from one source to one destination
- Multi-Point: Connects several points together
- System: Connects teh CPU with memory and/or I/O module cards.
|
|
|
Term
What is the purpose of an interface bridge? |
|
Definition
To connect different buses |
|
|
Term
What is explicit addressing? |
|
Definition
The source and destination are stated as part of the command |
|
|
Term
What is implicit addressing? |
|
Definition
The source or destination is not specified as an argument but is part of the op codes |
|
|
Term
What are priviliged instructions? |
|
Definition
Instructions reserved for use by the OS only |
|
|
Term
What are Non-Priviliged instructions? |
|
Definition
Instructions that can be used by any program |
|
|
Term
What are Move instructions? |
|
Definition
- Some of the most common instructions
- includes load, store and memory movement
- arguments can range in size from single bytes to many bytes
|
|
|
Term
What are arithmetic instructions? |
|
Definition
Basic functions for adding and subtracting, multiplying and dividing |
|
|
Term
What are Boolean Logic instructions? |
|
Definition
Instructions for AND-ing, OR-ing, XOR-ing and NOT-ing arguments. |
|
|
Term
What are Single Operand manipulation instructions? |
|
Definition
- Small and use only one argument
- example would be incrementing (INC) and decrementing (DEC) registers and memory
|
|
|
Term
What are Bit Manipulation instructions? |
|
Definition
Allows the setting or clearing of individual bits in bytes, words, or registers. |
|
|
Term
What are Shift and Rotate instructions? |
|
Definition
- Shift: Moves the data bits left or right one or more bits.
- Rotate: Rotates the data bits left or right one or more bits, and the bit that is shifted out of the end is placed into the vacated space at the other end.
|
|
|
Term
What do Program Control instructions do? |
|
Definition
Change the flow of a program. |
|
|
Term
What will the Call and Return instructions do? |
|
Definition
Allows the program to branch to subroutines and Return to the next instruction after the Call was made. |
|
|
Term
|
Definition
- Used to store data when the most recently used data is the first needed.
- Referred to as LIFO (last in first out)
|
|
|
Term
What are Push and Pop used for? |
|
Definition
to add and and remove values to/from a stack |
|
|
Term
What is a Multiple Data Instruction? |
|
Definition
- Provides a way of performing the same operation to multiple pieces of data
- Usually reserverd for special case processiong, i.e. graphics and 3D
|
|
|
Term
How many licks does it take to get to the center of a
Tootsie Roll Pop? |
|
Definition
Try it and see for yourself... |
|
|
Term
What is an interface bridge? |
|
Definition
Used to connect different busses |
|
|