Yur

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/172

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

173 Terms

1
New cards
CPU
fetches instructions, decodes them, performs a sequence of operations
2
New cards
Datapath
network of registers and arithmetic and logic units connected by busses
3
New cards
Control Unit
sequences the operations of an instruction
4
New cards
Registers
store data temporarily, one D flip-flop per bit, clock pulse used to set data
5
New cards
The Arithmetic Logic Unit (ALU)
This unit does addition, multiplication, division, etc.
6
New cards
Status Register
may be affected by ALU activity (carry bit, overflow bit, etc)
7
New cards
Program Counter (PC)
stores the location in RAM of the next fetch
8
New cards
A Bus
a set of wires that connect components. May be 16, 32 or 64 bits wide
9
New cards
Bus Arbitration
components may to request access to the bus and may have to wait if it is busy.
10
New cards
Point-to-point Bus
some busses are not shared, like from a serial port to a printer.
11
New cards
Multipoint Bus
connects several components
12
New cards
Bus Protocol
set of rules for using the bus.
13
New cards
Processor-Memory buses
short, high-speed buses connecting CPU components
14
New cards
I/O buses
longer, slower buses that connect peripherals
15
New cards
Backplane Bus
built into chassis, can connect various components
16
New cards
Expansion Buses
for expansion cards
17
New cards
Synchronous Buses
synchronized by clock cycles
18
New cards
Asynchronous Buses
coordinated by control lines
19
New cards
Clocks
Within CPU clocks synchronize all components. Most instructions require several clock cycles to finish their steps. Some instructions require more cycles.
20
New cards
Clock Frequency
a number that is slow enough to allow all the combinational logic gates to reach their final values.
21
New cards
Interface
hardware to handle communication with devices
22
New cards
Memory-Mapped I/O
writing to RAM causes changes in the device, like the pixels on a monitor.
23
New cards
Instruction-Based I/O
CPU writes instructions to device to change its state
24
New cards
Byte addressable
each byte has its own address
25
New cards
Word addressable
each word has its own address (words can be 16, 32 or 64 bits)
26
New cards
Memory Interleaving
how RAM chips are combined to provide whole memory
27
New cards
Low-Order interleaving
low-order bits are used to select the module
28
New cards
High-Order interleaving
high-order bits are used to select the module
29
New cards
Interrupt handling
actions performed in response to interrupts
30
New cards
Maskable interrupts
interrupts that are not urgent and can wait
31
New cards
Nonmaskable interrupts
interrupts that are urgent and cannot wait
32
New cards
Instruction Set Architecture (ISA)
set of instructions for a machine language
33
New cards
SkipCond 000
AC
34
New cards
SkipCond 400
AC=0
35
New cards
SkipCond 800
AC\>0
36
New cards
Load
0001
37
New cards
Store
0010
38
New cards
Add
0011
39
New cards
Subt
0100
40
New cards
Input
0101
41
New cards
Output
0110
42
New cards
Halt
0111
43
New cards
SkipCond
1000
44
New cards
Jump
1001
45
New cards
Register Transfer Notation (RTN)
short hand notation to show movement of data and instructions in a processor, can be used to represent the operation of the fetch-execute cycle
46
New cards
Microoperations
steps to execute and instruction
47
New cards
Operation for Load
MAR ← X
48
New cards
MBR ← M[MAR]

49
New cards
AC ← MBR

50
New cards
Operation for Store
MAR ← X, MBR ← AC
51
New cards
M[MAR] ← MBR

52
New cards
Operation for Add
MAR ← X
53
New cards
MBR ← M[MAR]

54
New cards
AC ← AC + MBR

55
New cards
Operation for Subt
MAR ← X
56
New cards
MBR ← M[MAR]

57
New cards
AC ← AC - MBR

58
New cards
Operation for Input
AC ← InREG
59
New cards
Operation for Output
OutREG ← AC
60
New cards
Operation for Halt
No Operation for this one
61
New cards
Operation for Jump
PC ← X
62
New cards
Fetch
MAR ← PC
63
New cards
IR ← MBR

64
New cards
PC ← PC+1

65
New cards
Interrupt latency
how long it takes to handle an interrupt
66
New cards
Hardware Interrupts
generated by keyboard, mouse, hard drives, memory, timers, etc.
67
New cards
Interrupt Service Routine (ISR)
subroutine to handle an interrupt
68
New cards
Interrupt Request (IRQ)
signal to CPU to handle an interrupt. Each device is assigned a number (IRQ\#) so the CPU can tell which ISR to run.
69
New cards
Interrupt Vector Table
table of addresses of interrupt handlers by IRQ number
70
New cards
Software Interrupts
Cause an interrupt similar to hardware interrupt. Basically causes a subroutine (often in OS) to run to take care of something.
71
New cards
Direct Addressing
address in instruction is address of data
72
New cards
Indirect Addressing
address in instruction is address to find address of data (is a pointer)
73
New cards
Operation for JnS X
MBR ← PC
74
New cards
MAR ← X

75
New cards
M[MAR] ← MBR

76
New cards
MBR ← X

77
New cards
AC ← 1

78
New cards
AC ← AC + MBR

79
New cards
PC ← AC

80
New cards
Operation for Clear
AC ← 0
81
New cards
Operation for AddI
MAR ← X
82
New cards
MBR ← M[MAR]

83
New cards
MAR ← MBR

84
New cards
MBR ← M[MAR]

85
New cards
AC ← AC + MBR

86
New cards
Operation for JumpI X
MAR ← X
87
New cards
MBR ← M[MAR]

88
New cards
PC ← MBR

89
New cards
Operation for LoadI X
MAR ← X
90
New cards
MBR ← M[MAR]

91
New cards
MAR ← MBR

92
New cards
MBR ← M[MAR]

93
New cards
AC ← MBR

94
New cards
Operation for StoreI X
MAR ← X
95
New cards
MBR ← M[MAR]

96
New cards
MAR ← MBR

97
New cards
MBR ← AC

98
New cards
M[MAR] ← MBR

99
New cards
Hardwired Control
decoding of instruction and the following steps all done with combinational logic gates.
100
New cards
Microprogrammed Control
each instruction is reduced to a set of microinstructions that are hardwired.