Lecture1 Intro
Lecture1 Intro
5/2/2014
5/2/2014
Microprocessor
A microprocessor is a single, digital integrated circuit that performs the function of a central processing unit ( CPU ). A microprocessor is a collection of digital circuits that: process binary data provide control and timing references
5/2/2014
Memory System
The memory system of a computer is used to :
Store the programs the computer is required to execute Store the data that is to be processed by those programs
There are many memory locations in the memory system of a digital computer.
Each memory location can store n binary digits (nbits). N is usually an integer multiple of 8. Each memory location is given a unique identifier, called its address.
5/2/2014 4
Memory System
The memory system of a digital computer can be considered to comprise three separate areas Program Area
That section of memory used to store the program
Data Area
That section of memory used to store the data to be processed
Stack Area
That section of memory reserved for the stack (see later).
5/2/2014 5
Microprocessor Interface
5/2/2014
Busses
Busses are used to interconnect the sub-systems of a computer. A bus is a multi-way set of electrical connections which share a common purpose. Each bus line can carry one binary digit (Bit) Thus to convey 8-bits of information from one subsystem of a computer to another, simultaneously, requires an 8-bit bus. 8-bits, collectively, is called a byte. Data busses of most computers are byte wide or an integer multiple of bytes wide.
5/2/2014 8
5/2/2014
5/2/2014
10
5/2/2014
11
5/2/2014
12
5/2/2014
13
5/2/2014
14
Data Bus
The Data Bus is the bus over which the binary data, stored at an addressed location, is transferred to/from the CPU. The data bus is a bi-directional bus. Data can be transferred from the processor to an addressed location - a write operation. Data can be transferred to the processor from an addressed location - a read operation. Data bus widths correspond to the number of binary digits stored at a location - usually an integer multiple of 8.
5/2/2014 15
5/2/2014
16
5/2/2014
17
Control Bus
The control bus is a unidirectional bus
Some control signals are processor outputs, thus enabling the processor to instruct peripheral devices as to the particular type of operation it wishes to execute. Some control signals are processor inputs, thus enabling peripheral devices to provide control information to the processor.
5/2/2014 18
WR (Output)
Tells peripheral devices that the processor wishes to write data to the addressed location
RDY (Input)
The peripheral device tells the processor it is ready to proceed with a data transfer (read or write as appropriate)
5/2/2014 19
5/2/2014
20