Title: Computer Science 222
1Computer Science 222
Computer Organization
122 Class Review
2(No Transcript)
3100
101
102
103
104
1
10
100
1000
10000
Base 10 Accectable symbols 0 1 2 3 4 5 6 7 8 9
4100
101
102
103
104
1
10
100
1000
10000
0 1 2 3 4 5 6 7 8 9
1 0 1 1 1 2 1 3 1 4 ... ...
5100
101
102
103
104
1
10
100
1000
10000
2
5
8
2 Hundreds 5 Tens 8 Ones
Base 10 Accectable symbols 0 1 2 3 4 5 6 7 8 9
620
21
22
23
24
1
2
4
8
16
Base 2 Accectable symbols 0 1
720
21
22
23
24
1
2
4
8
16
0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0
1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1
0 0 1 1 0 1 1 1 1 0 1 1 1 1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
820
21
22
23
24
1
2
4
8
16
1
1
0
1
0
1 sixteens 16 1 eights 8 0 fours
1 twos 2 0 ones decimal 2610
Base 2 Accectable symbols 0 1
920
21
22
23
24
2
25
26
27
28
1
2
4
8
16
32
64
128
256
0
1
0
1
0
1
1
0
1
10160
161
162
163
164
1
16
256
4096
65536
Base 16 Accectable symbols 0 1 2 3 4 5 6 7 8 9
A B C D E F
11160
161
162
163
164
1
16
256
4096
65536
0 1 2 3 4 5 6 7 8 9 A B C D E F 1
0 1 1 1 2 1 3
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
12160
161
162
163
164
1
16
256
4096
65536
7
F
D
7 twofiftysixes 1792 F sixteens 240 D
ones 13 decimal
204510
Base 16 Accectable symbols 0 1 2 3 4 5 6 7 8 9
A B C D E F
13160
161
162
163
164
1
16
256
4096
65536
7
F
D
0111
1111
1101
20
21
22
23
24
20
25
26
27
28
29
210
211
1
2
4
8
16
1
32
64
128
256
512
1024
2048
1
1
1
0
1
1
1
1
1
1
0
1
1
1420
21
22
23
24
2
25
26
27
28
29
210
211
1
2
4
8
16
32
64
128
256
512
1024
2048
1
1
1
0
1
1
1
1
1
1
0
1
1
1024 512 256 128 64 32 16 8 4 1 --------- Decimal
2045
7 twofiftysixes 1792 F sixteens 240 D
ones 13
---------- Decimal 2045
150 1 1 1 1 1 1 1 1 1 0 1
160 1 1 1 1 1 1 1 1 1 0 1
7
F
D
173FE16
0011 1111 1110
001111111110 Binary
20
21
22
23
24
2
25
26
27
28
29
210
211
1
2
4
8
16
32
64
128
256
512
1024
2048
1
1
1
1
0
1
1
1
1
1
0
0
1
512 256 128 64 32 16 8 4 2
1022
Decimal
18The Microprocessor
19Clock
Micro- Processor (MPU)
RAM Memory
ROM Memory
Interface Adapter
Microcomputer or Microcontroller
Input Output (I/O) Devices
20Arithmetic Logic Unit (ALU)
Controller- Sequencer
Carry Register
Clock Read Write
Accumulator
Instruction Decoder
Program Counter
Address Register
Data Register
RAM
Data Bus
Address Bus
ROM
21The Arithmetic Logic Unit
22Arithmetic Logic Unit (ALU)
00001001
Carry Register
0
0
0
0
1
0
0
1
From Data Register
Accumulator
LDA 09
OPcode
Operand
23Arithmetic Logic Unit (ALU)
00001001
Carry Register
0
0
0
0
1
0
0
1
From Data Register
Accumulator
LDA 09
24Arithmetic Logic Unit (ALU)
00000111
From Data Register
Carry Register
0
0
0
1
0
0
0
0
Accumulator
ADD 07
25Arithmetic Logic Unit (ALU)
Controller- Sequencer
Carry Register
Clock Read Write
Accumulator
Instruction Decoder
Program Counter
Address Register
Data Register
RAM
Data Bus
Address Bus
ROM
26Arithmetic Logic Unit (ALU)
Controller- Sequencer
Carry Register
Clock Read Write
Accumulator
Instruction Decoder
Program Counter
Address Register
Data Register
RAM
Data Bus
Address Bus
ROM
27Arithmetic Logic Unit (ALU)
Controller- Sequencer
Carry Register
Clock Read Write
Accumulator
Instruction Decoder
Program Counter
Address Register
Data Register
RAM
Data Bus
Address Bus
ROM
28Arithmetic Logic Unit (ALU)
Controller- Sequencer
Carry Register
Clock Read Write
Accumulator
Instruction Decoder
Program Counter
Address Register
Data Register
RAM
Data Bus
Address Bus
ROM
29Arithmetic Logic Unit (ALU)
Controller- Sequencer
Carry Register
Clock Read Write
Accumulator
Instruction Decoder
Program Counter
Address Register
Data Register
RAM
Data Bus
Address Bus
ROM
30Arithmetic Logic Unit (ALU)
Controller- Sequencer
Carry Register
Clock Read Write
Accumulator
Instruction Decoder
Program Counter
Address Register
Data Register
RAM
Data Bus
Address Bus
ROM
31Data Bus
Address Bus
8-bit data storage
Addresses
00
Address Decoder
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
FF
0
0
0
0
0
0
0
0
Read/Write
Control
RAM
32NAME
MNEMONIC
OPCODE
DESCRIPTION
1000 0110 or 86
Load Accumulator
LDA
Load the contents of the next memory location
into the accumulator
Add the contents of the next memory location to
the present contents of the accumulator. Place
the sum in the accumulator
1000 1011 or 8B
Add
ADD
Stop all operations
0111 1110 or 3E
Halt
HLT
33(No Transcript)
34(No Transcript)