Marie: An Introduction To A Simple Computer
Marie: An Introduction To A Simple Computer
Marie: An Introduction To A Simple Computer
MARIE: An
Introduction to a
Simple Computer
4.2 CPU Basics
2
4.2 CPU Basics
3
4.3 The Bus
4
4.3 The Bus
5
4.3 The Bus
6
4.4 Clocks
7
4.4 Clocks
9
4.6 Memory Organization
10
4.6 Memory Organization
11
4.6 Memory Organization
Low-Order Interleaving
High-Order Interleaving
13
4.7 Interrupts
14
4.8 MARIE
16
4.8 MARIE
17
4.8 MARIE
18
4.8 MARIE
19
4.8 MARIE
20
4.8 MARIE
21
4.8 MARIE
22
4.8 MARIE
23
4.8 MARIE
25
4.8 MARIE
26
4.8 MARIE
27
4.9 Instruction Processing
28
4.9 Instruction Processing
29
4.9 Instruction Processing
30
4.9 Instruction Processing
32
4.9 Instruction Processing
33
4.9 Instruction Processing
35
4.10 A Simple Program
36
4.10 A Simple Program
37
4.11 A Discussion on Assemblers
38
4.11 A Discussion on Assemblers
39
4.11 A Discussion on Assemblers
40
4.11 A Discussion on Assemblers
41
4.12 Extending Our Instruction Set
42
4.12 Extending Our Instruction Set
AC 0
45
4.12 Extending Our Instruction Set
46
4.13 A Discussion on Decoding
47
4.13 A Discussion on Decoding
• Each of MARIE’s
registers and main
memory have a unique
address along the
datapath.
• The addresses take the
form of signals issued by
the control unit.
49
4.13 A Discussion on Decoding
52
4.13 A Discussion on Decoding
54
4.13 Decoding
P0 P1 P2 P3 T0: MAR X
P0 P2 T1: MBR M[MAR]
A0 P0 P1 P2 P5 T2: AC AC + MBR
Cr T3: [Reset counter]
55
4.13 A Discussion on Decoding
56
4.13 A Discussion on Decoding
This is the
hardwired
logic for
MARIE’s
Add = 0011
instruction.
57
4.13 A Discussion on Decoding
58
4.13 A Discussion on Decoding
This is how a generic
microprogrammed
control unit might look.
59
4.13 A Discussion on Decoding
60
4.13 A Discussion on Decoding
61
4.13 A Discussion on Decoding
62
4.13 A Discussion on Decoding
63
4.13 A Discussion on Decoding
65
4.14 Real World Architectures
66
4.14 Real World Architectures
67
4.14 Real World Architectures
68
4.14 Real World Architectures
69
4.14 Real World Architectures
70
4.14 Real World Architectures
71
4.14 Real World Architectures
72
Chapter 4 Conclusion
73
Chapter 4 Conclusion
74
End of Chapter 4
75