Welcome to our
Presentation
Topic : Assembly Language programming of 8086
Submitted by :
Pias Kumar
Student
Daffodil International University
1
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
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
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
8086 Processor Architecture :
5
Bus Interface Unit (BIU)
6
7
8
9
Execution Unit (EU)
10
11
12
13
Code Example: Output:
14
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
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
17

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 of8086 • The 8086 microprocessor is internally divided into two separate functional units. • These are the Bus Interface Unit (BIU) and the Execution Unit (EU). 4
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
    Code Example: Addition MOV BL,3 MOVCL,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 MOVDS,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
  • 17.