Chapter 4
Chapter 4
MARIE: An Introduction
to a Simple Computer
Chapter 4 Objectives
2
4.1 Introduction
3
4.1 Introduction
4
4.1 Introduction
5
4.1 Introduction
This is a point-to-point
bus configuration:
6
4.1 Introduction
7
4.1 Introduction
8
4.1 Introduction
9
4.1 Introduction
10
4.1 Introduction
11
4.1 Introduction
14
4.1 Introduction
Low-Order Interleaving
High-Order Interleaving
17
4.1 Introduction
18
4.2 MARIE
20
4.2 MARIE
21
4.2 MARIE
22
4.2 MARIE
23
4.2 MARIE
25
4.2 MARIE
26
4.2 MARIE
27
4.2 MARIE
28
4.2 MARIE
30
4.2 MARIE
31
4.2 MARIE
32
4.3 Instruction Processing
33
4.3 Instruction Processing
34
4.4 A Simple Program
35
4.4 A Simple Program
36
4.4 A Simple Program
37
4.5 A Discussion on Assemblers
38
4.5 A Discussion on Assemblers
39
4.5 A Discussion on Assemblers
40
4.5 A Discussion on Assemblers
41
4.6 Extending Our Instruction Set
42
4.6 Extending Our Instruction Set
AC 0
45
4.6 Extending Our Instruction Set
100 | LOAD Addr
101 | STORE Next 10E | STORE Ctr
102 | LOAD Num
10F | SKIPCOND
103 | SUBT One
000
104 | STORE Ctr 110 | JUMP Loop
105 | CLEAR 111 | HALT
106 |Loop LOAD Sum 112 |Addr HEX 118
107 | ADDI Next 113 |Next HEX 0
108 | STORE Sum 114 |Num DEC 5
115 |Sum DEC 0
109 | LOAD Next
116 |Ctr HEX 0
10A | ADD One 117 |One DEC 1
10B | STORE Next 118 | DEC 10
119 | DEC 15
10C | LOAD Ctr 11A | DEC 2
10D | SUBT One 11B | DEC 25
11C | DEC 30
46
4.7 A Discussion on Decoding
47
4.7 A Discussion on Decoding
• For example, a
hardwired control unit for
our simple system would
need a 4-to-14 decoder
to decode the opcode of
an instruction.
• The block diagram at the
right, shows a general
configuration for a
hardwired control unit.
48
4.7 A Discussion on Decoding
49
4.8 Real World Architectures
50
4.8 Real World Architectures
51
4.8 Real World Architectures
52
4.8 Real World Architectures
53
4.8 Real World Architectures
54
4.8 Real World Architectures
55
4.8 Real World Architectures
56
4.8 Real World Architectures
57
Chapter 4 Conclusion
58
Chapter 4 Conclusion
59
End of Chapter 3
60