Escolar Documentos
Profissional Documentos
Cultura Documentos
>>Inorderforthemicroprocessortofunctionasaprogrammable
device, it must work in a complete system comprising of three
components : microprocessor, memory and input/output. This
system is called microprocessorbased system or microcomputer
system. These three components will work together or interact
witheachothertoperformagiventask.
SystemBuses
>>The three components of the microcomputer system is
connectedbythreebusses,alsoknownassystembus.
>>These busses is used to transfer information (data) internally
andexternallytothemicroprocessor.
AddressBus
>>The more bits there are in the address bus, the more memory
locations a microprocessor can access. A 16 bit address bus is
capableofaddressing65,536(64K)addresses.
DataBus
>>Thedatabus carries data stored in memory (or an I/O device)
to the CPU or from the CPU to the memory (or I/O device)
>> The data bus is bidirectional, on which data or instruction
codes are transferred into the microprocessor or on which the
result of an operation or computation is sent out from the
microprocessortothememoryorinput/output.
>>Depending on the particular microprocessor, the data bus can
handle8bitor16bitdata.
ControlBus
CPU
>> Microprocessor is also called Central Processing Unit (CPU)
since it is the functional centre of the computer system and it is
usedtoprocessdata.
>>Microprocessor:
A multipurpose, programmable logic device (IC) that reads
binaryinstructionsfromastoragedevicecalledmemory,accepts
binary data as input and processes data according to those
instructions,andprovideresultsasoutput.
(A multipurpose device: it can be used to perform various
sophisticated computing tasks or functions, as well as simple
tasks.
A programmable device: it can be instructed to perform given
taskswithinitscapability.)
>> Microprocessor is designed to understand and execute many
binaryinstructions.
Memory
>>The memory in a computer system stores the data and instructions of
the programs.
>>Memory is the term used to the various storage devices in
which are used to store the programs and data for the
microprocessor.
>>Thesestoragedevicesaremadeofsemiconductordevices,and
alsoknownasPrimaryStorageDevices.
Input/Output
>>The input/output unit allows the microprocessor to
communicatewiththeoutsideworld,eithertoreceiveortosend
data.
>>Most of the time, the input/output unit will also act as an
interfaceforthemicroprocessor,thatistoconvertthedataintoa
suitableformatforthemicroprocessor.
>>Datacanbeintheformofparallel(8bit)orserialformat(single
line).
>>Input devices are devices that input data or send data to the
computer. Input devices are such as keyboard, punched card
readers,sensors,switches,etc.
>>Outputdevicesaredevicesthatoutputdataorperformvarious
operations under the control of the CPU. Output devices are
LEDs, 7segment display unit, speaker, CRT, printer, digital
speedometer,fuelinjectors,etc.
RegisterSection
>>An array of registers for holding data while it is being
manipulated.
Microcomputer
CPU on a single IC microprocessor (P).
The terms CPU, P and MPU (microprocessor unit) are
synonymous
CPU is the combination of the ALU and control unit of any
computer.
When the CPU is a single IC; it is called a P and is also referred
to as the MPU.
When the MPU is connected to memory and I/O, the arrangement
becomes a MICROCOMPUTER.
Many different MPUs are produced by many different IC vendors (e.g.,
Intel, Motorola, Texas Instruments, Zilog, National Semiconductors,
etc.).
Major differences are in
word size,
the number and types of instructions that can be performed,
the types of external control signals available,
the amount of memory that can be addressed.
Microcontroller
Memory
>>The memory in a computer system stores the data and instructions of
the programs.
>>Memory stores information such as instructions and data in binary
format (0 and 1). It provides this information to the microprocessor
whenever it is needed.
To execute a program:
>>the user enters its instructions in binary
format into the memory.
>>The microprocessor then reads these
instructions and whatever data is needed from
memory, executes the instructions and places the