Escolar Documentos
Profissional Documentos
Cultura Documentos
Chapt. 7
ITEC 1011 Introduction to Information Technologies
Introduction
• The Little Man Computer (LMC) is cute,
but…
• Real computers…
• Memory is separate from the CPU
Central
• Data are in binary (not decimal) Processing
Unit
p. 166
ITEC 1011 Introduction to Information Technologies
LMC Counterparts
ALU
Input/output
00 123
interface 123 01 500
02 199
03 500
04 399
456 05
Control unit
95
96
97
789 98
99 123
05
Program counter
p. 167
ITEC 1011 Introduction to Information Technologies
System Block Diagram
CPU
ALU
Input/output
interface Memory
Control unit
Program counter
bit 1 1
Address decoder
2
3
4
bit n - 1 2n-1
0 1 2 m-1
A:
p. 175
ITEC 1011 Introduction to Information Technologies
Fetch-Execute Cycle
• Two steps, or cycles, in the execution of
every instruction
• Fetch – fetch the code for the instruction from
memory and place it in the IR (instruction
register)
• Execute – execute the instruction
• A pretty picture sometimes helps…
Fetch Execute
time
ITEC 1011 Introduction to Information Technologies
The Store Instruction
PC MAR
Fetch
MDR IR
IR[address] MAR time
Execute A MDR
PC + 1 PC
PC MAR
Fetch
MDR IR
IR[address] MAR time
Execute A + MDR A
PC + 1 PC
Serial
Modem
port
Control
unit ALU
Computer Computer
CPU Memory
Device
Device
Device
Terminator
Data bus
Address bus
Control bus
CPU
Motherboard
I/O Module • Many
Memory configurations
possible
I/O Device
Map FFFF
Data bit
position
Hexadecimal
0002 The “bottom”
0001
address 0000 of memory
14 MB
1,952 MB
empty
00000000
32 MB RAM