Exam 2 - Chapter 7 Flashcards

(53 cards)

1
Q

CPU & Memory Are?

A

CPU requires memory access for every instruction

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

CPU: Major Components

A

ALU (arithmetic logic unit)

CU (control unit)

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

CPU - ALU (arithmetic logic unit)

A

Performs calculations and comparisons

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

CPU - CU (control unit)

A

Performs Fetch/Execute cycle - flag conditions

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

CPU: Sub Components

A

Memory Management Unit

I/O Interface

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

CPU Sub Component: Bus Interface Unit

A

Memory Management Unit & I/O Interface combined

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

CPU - FLAGS

A

Arithmetic carry & overflow - power failure - internal comp error - can be grouped into status registers

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

BUS

A

Bridge between Memory & CPU

physical connection to trans data from one comp sys to another

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

Bus signals or types

A

4 kinds: data - addressing - control signals - power (sometimes)

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

Bus (dedicated)

A

Internal to CPU and do not interface with outside world

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

Bus (general)

A

PCI express - USB - IDE - SATA

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

Line

A

Each conductor in the bus

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

Bus Categories

A

Parallel - serial

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

Transmission directions

A

Simplex - Half Duplex - Full Duplex

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

Simplex

A

unidirectional

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

Half Duplex

A

bidirectional - one direction at a time

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

Full Duplex

A

bidirectional simultaneously

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

Bus Connections

A

Point-to-Point (single source to single destination)

Multipoint (multiple points connected) aka broadcast bus or multidrop bus

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

Parallel

A

high throughput - all bits of word are trans simultaneously
Expensive & space hog
affected by radio-generated electrical interference
used for short distances ie CPU busses and motherboards

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

Serial

A

1 bit transmitted at a time
single data line pair
few control lines
can be higher throughput than parallel due to non interference

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

Point to Point

A

USB port to printer - CU to ALU

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

Multipoint Broadcast BUS Ethernet

A

Multiple computers - network printer - network storage

23
Q

Multipoint bus

A

CPU - Memory - Disk Controller - Video Controller

24
Q

Registers

A

Single permanent storage location within the CPU used for a particular defined purpose.

25
Use of Registers
Scratchpad for currently executing program- Holds data needed quickly or frequently Stores information about status of CPU and currently executing program- Address of next program instruction -Signals from external devices - i/o - cds - vid card etc.
26
General Purpose Register
User- or program-visible registers Hold intermediate results or data values - e.g. - loop counters Equivalent to LMC?s calculator Typically several dozen in current CPUs
27
MDR Register
Data - no instructions | A memory buffer register.
28
Status Register
Status of CPU & currently executing program Flags (one bit Boolean variable) to track conditions like arithmetic carry and overflow - power failure - internal computer error
29
MAR Register
have/holds address of memory location w/data or instruction
30
IR Register
Stores instruction fetched from memory - the instruction currently being executed by comp
31
Program Counter Register
AKA instruction pointer (IP) | Holds the address of the current instruction being executed.
32
Accumulator
is equivalent to the calculator in lmc. Cpus provide several accumulators in a general purpose register88
33
Memory Location
Unique addressing ie mail boxes in LMC
34
Memory Operation
MAR gets address from instruction CPU decides store or retrieval Transfer between MDR & Memory MDR is a two way register
35
RAM
Random Access Memory
36
DRAM (Dynamic RAM)
Volatile - common - cheap - must be refreshed 1000's X each second
37
SRAM (Static RAM)
Volatile - faster - more expensive - small amounts used in cache memory
38
Cache Memory
static ram memory that is used for high speed access
39
ROM
Read Only Memory - NON-Volatile - holds firmware software ie bios
40
Flash Memory
NON-Volatile - secondary storage - portable - slower rewrite
41
Fetch-Execute Cycle
2-cycle process since both instructions & data are in memory
42
Fetch
Decode or find instruction - load from memory into register & signal ALU
43
Execute
Performs operation that instruction requires - move/transform data
44
Cycle - Load
``` Transfer address PC to MAR Transfer instruction MDR to IR Load instruction IR (address) to MAR Data copied to accumulator MDR to A Program Counter incremented PC + 1 = PC ```
45
Cycle - Store
``` Transfer address PC to MAR Transfer instruction MDR to IR Load instruction IR (address) to MAR Accumulator copies data into MDR. A to MDR Program Counter incremented PC + 1 = PC ```
46
Cycle - Add
``` Transfer address PC to MAR Transfer instruction MDR to IR Load instruction IR (address) to MAR MDR contents added to accumulartor contents. A + MDR to A Program Counter incremented PC + 1 = PC ```
47
Instruction Classifications
Data Movement (load - Store) Arithmetic (+ - * /) Boolean (T/F - Y/N) Single operand (++ --)
48
Priviledged Instruction
``` Operating Instructions HALT I/O Mem Mgmt Encryption & Decryption Sys Admin ```
49
App level Instructions
aka user acessible instructions
50
User Space
programs that execute w/o priviledges execute in user space
51
OPCODE
Task
52
Source OPERAND
Addresses
53
Result OPERAND
Addresses - location of data - explicit (included in instruction) - implicit default assumed.