The document provides an overview of assembly language programming for the 8086 microprocessor. It discusses what a microprocessor is and describes some key details of the 8086, including that it is a 16-bit microprocessor with 20 address lines and 16 data lines that can access up to 1MB of storage. It also summarizes the internal architecture of the 8086, which divides it into a Bus Interface Unit and an Execution Unit. Code examples are provided to demonstrate addition, subtraction, multiplication, and division operations using assembly language instructions.
What Are The Drone Anti-jamming Systems Technology?
Microopresesor and all units.
1. Welcome to our
Presentation
Topic : Assembly Language programming of 8086
Submitted by :
Pias Kumar
Student
Daffodil International University
1
2. What is microprocessor?
• A microprocessor is a component
that performs the instructions
and tasks involved in computer
processing. In a computer system,
the microprocessor is the central
unit that executes and manages
the logical instructions passed to
it.
2
3. The 8086 Microprocessor
• 8086 Microprocessor is an enhanced
version of 8085Microprocessor that
was designed by Intel in 1976. It is a
16-bit Microprocessor having 20
address lines and16 data lines that
provides up to 1MB storage. It
consists of powerful instruction set,
which provides operations like
multiplication and division easily.
3
4. Internal Architecture of 8086
• The 8086 microprocessor is
internally divided into two separate
functional units.
• These are the Bus Interface Unit
(BIU) and the Execution Unit (EU).
4
15. Code Example:
Addition
MOV BL,3
MOV CL,4
ADD BL,CL ; RESULT IN BL
Subtraction
MOV BL,8
MOV CL,4
SUB BL,CL ; RESULT IN BL
Multiplication
MOV AL,2
MOV BL,3
MUL BL ; RESULT IN AL
Division
MOV AL,8
MOV CL,4
DIV BL ; RESULT IN AL
15
16. Code Example:
MOV AX,@DATA
MOV DS,DX ;CONNECT WITH DATA TO MAIN FUNCTION
……………………………………………………………………………………
LEA DX,MSG3 ; TO STRING OUTPUT
MOV AH,9 ; LEA = LOAD EFFECTIVE ADDRESS
INT 21H
………………………………………………………………………………….,.
LEVEL:
MOV BL,10
MOV CL,0
INC CL
CMP CL,BL
JLE LEVEL
JG LEVEL2
LEVEL2:
MOV AH,2
MOV DL,CL
INT 21H
JMP EXIT
16