Chapter - 01 - Lecture - 01
Chapter - 01 - Lecture - 01
Assembly Language
MICROPROCESSOR
• A microprocessor is a multipurpose, programmable, clock-driven, register based
electronic device.
• It reads binary instructions from a storage device called memory, accepts binary
data as input and processes data according to those instructions, and provides
results as output.
2
MICROPROCESSOR
• The microprocessor applications are classified primarily in two categories:
reprogrammable systems and embedded systems.
• In reprogrammable systems, such as microcomputers, the microprocessor is used for
computing and data processing. These systems include general purpose
microprocessors capable of handling large data, mass storage devices such as disk
and CD.-ROMs, and peripherals such as printers: a personal computer is a
typical illustration.
• In embedded systems, the microprocessor is a part of a final product and is not
available for reprogramming to the end user. A copying machine is a typical example
of an embeddecl system.
• Embedded systems can also be viewed as products that use microprocessors to
perform their operations; they are known as microprocessor-based products.
Examples include a wide range of products such as washing machines, disnwashers,
automobile dashboard controls, Traffic light controllers, and automatic testing
instruments.
3
MICROPROCESSOR-BASED PRODUCT
• A machine or product that uses a microprocessor to run or execute its operations.
It is represented by three components: microprocessor, memory, and I/0
(input/ output).
4
BINARY DIGITS
• The microprocessor operates in binary digits, 0 and 1, also known as bits.
• Bit is an abbreviation for the term binary digit. These digits are
represented in terms of electrical voltages in the machine: generally, 0
represents one voltage level, and 1 represents another.
• The digits O and 1 are also synonymous with low and high, respectively.
• Each microprocessor recognizes and processes a group of bits called
the word, and microprocessors are classified according to their word
length.
• For example, a processor with an 8-bit word is known as an 8-bit
microprocessor, and a processor with a 32-bit word is known as a 32-bit
microprocessor.
6
DIGITAL COMPUTER
• A programmable machine that processes binary data.
• It is traditionally represented by five components: CPU, ALU and control unit,
memory, input, and output.
• CPU - The central processing unit. The group of circuits that processes data and
provides control signals and timing. It includes the arithmetic/logic unit, registers,
instruction decoder, and the control unit.
• ALU - The group of circuits that performs arithmetic and logic operations. The ALU is
a part of the CPU.
• Control Unit - The group of circuits that provides timing and signals to all operations
in the computer and controls data flow.
• Memory- A medium. that stores binary information that is instructions and data.
• Input - A device that transfers information from. the outside world to the computer.
• Output - A device that transfers information from. the computer to the outside world.
7
DIGITAL COMPUTER
8
SCALE OF INTEGRATION
• SSI (Small - Scale Integration)
• The process of designing a few circuits on a single chip.
• The term refers to the technology used to fabricate discrete logic gates on a chip.
9
A MICROPROCESSOR AS A PROGRAMMABLE
DEVICE
• Microprocessor is designed to understand and execute many binary instructions.
It is a multipurpose machine. It can be used to perform various sophisticated
computing functions, as well as simple tasks such as turning devices on or off.
• These instructions are entered or stored in storage, called memory, which can be
read by the microprocessor.
10
MEMORY
• Memory is like the pages of a notebook with space for a fixed number of binary
numbers on each line. However, these pages are generally made of
semiconductor material.
• Typically, each line is an 8-bit register that can store eight binary bits, and several
of these registers are arranged in a sequence called memory.
• These registers are always grouped together in powers of two. For example, a
group of 1024 , 8-bit registers on a semiconductor chip is known as lK byte of
memory; lK is the closest approximation in thousands.
• The user writes the necessary instructions and data in memory through an input
device and asks the microprocessor to perform the given task and find an
answer. The answer is generally displayed at an output device or stored in
memory.
11
INPUT / OUTPUT
• The user can enter instructions and data into memory through devices such as a
keyboard or simple switches. These devices are called input devices.
• The microprocessor reads the instructions from the memory and processes the
data according to those instructions.
• The result can be displayed by a device such as seven-segment LEDs or printed
by a printer. These devices are called output devices.
12