SlideShare a Scribd company logo
1 of 52
Department of Electrical and Electronic
Engineering
Khulna University of Engineering & Technology
Khulna-9203
Course code : EE 3214
Sessional on
Microprocessors, Micro-controllers and Peripherals
Presented By
Amit Kumer Podder
Experiment No. 05
(a) Introduction to 8086 Microprocessor Internal
Architecture, Addressing modes and Hex code
(b) Constructing the Machine code for 8086 instruction
(c) Familiarization with MDA-Win 8086 Microprocessor
Trainer Kit
Experiment Name
Intel 8086 Microprocessor
4
Key Features:
 Released by Intel in 1978
 Produced from 1978 to 1990s
 A 16-bit microprocessor chip.
 Max. CPU clock rate :
5 MHz to 10 MHz
 Instruction set: x86-16
 Package: 40 pin DIP
 The 8086 gave rise to
the x86 architecture of Intel's future processors.
 Common manufacturer(s): Intel, AMD, NEC, Fujitsu,
Harris (Intersil), OKI, Siemens AG, Texas Instruments,
Mitsubishi.
Intel 8086 Microprocessor
5
 It is available in three
versions:
 8086 (5 MHz)
 8086-2 (8 MHz)
 8086-1 (10 MHz)
 It consists of 29,000
transistors.
Intel 8086 Microprocessor
• It has a 16 line data bus.
• And 20 line address bus.
• It could address up to 1 MB of
memory.
• It has more than 20,000
instructions.
• It supports multiplication and
division.
6
Intel 8086 Microprocessor
7
Pin diagram 8086 Microprocessor
8
 These lines are multiplexed
bi-directional address/data
bus.
 During T1, they carry lower
order 16-bit address.
 In the remaining clock
cycles, they carry 16-bit
data.
 AD0-AD7 carry lower order
byte of data.
 AD8-AD15 carry higher order
byte of data.
9
 These lines are multiplexed
unidirectional address and
status bus.
 During T1, they carry higher
order 4-bit address.
 In the remaining clock
cycles, they carry status
signals.
10
 BHE stands for Bus High Enable.
 BHE signal is used to indicate
the transfer of data over higher
order data bus (D8 – D15).
 8-bit I/O devices use this signal.
 It is multiplexed with status pin
S7.
11
 It is a read signal used
for read operation.
 It is an output signal.
 It is an active low signal.
12
 This is an acknowledgement
signal from slower I/O devices
or memory.
 It is an active high signal.
 When high, it indicates that the
device is ready to transfer data.
 When low, then microprocessor
is in wait state.
13
RESET
Pin 21 (Input)
• It is a system reset.
• It is an active high signal.
• When high, microprocessor enters
into reset state and terminates the
current activity.
• It must be active for at least four
clock cycles to reset the
microprocessor.
14
INTR
Pin 18 (Input)
• It is an interrupt request
signal.
• It is active high.
• It is level triggered.
15
NMI
Pin 17 (Input)
• It is a non-maskable
interrupt signal.
• It is an active high.
• It is an edge triggered
interrupt.
16
TEST
Pin 23 (Input)
• It is used to test the status of
math co-processor 8087.
• The BUSY pin of 8087 is
connected to this pin of
8086.
• If low, execution continues
else microprocessor is in wait
state.
17
CLK
Pin 19 (Input)
• This clock input provides the basic
timing for processor operation.
• It is symmetric square wave with 33%
duty cycle.
• The range of frequency of different
versions is 5 MHz, 8 MHz and 10 MHz.
18
VCC and VSS
Pin 40 and Pin 20 (Input)
• VCC is power supply signal.
• +5V DC is supplied through
this pin.
• VSS is ground signal.
19
MN / MX
Pin 33 (Input)
• 8086 works in two modes:
• Minimum Mode
• Maximum Mode
• If MN/MX is high, it works in
minimum mode.
• If MN/MX is low, it works in maximum
mode.
8086 INTERNAL ARCHITECTURE
Fig: 8086 Internal block diagram .
20
8086 microprocessor
• 16 bit- microprocessor
• 16-bits data bus
21
Microprocessor
8086
Data
Bus
Control
signals
Add
Bus
Address Bus – 20 lines – A19 – A0
Data Bus – 16 lines – D15 – D0
BIU and EU
• BIU (bus interface unit) sends out addresses, fetches instructions from
memory, reads data from ports and memory, and writes data to ports and
memory. In other words, the BIU handles all transfers of data and
addresses on the buses for the execution unit.
• EU (execution unit) of the 8086 tells the BIU where to fetch instructions
or data from, decodes instructions, and executes instructions.
22
23
24
25
26
27
28
29
30
Addressing Modes of 8086
Addressing modes refer to the different methods of addressing the operands.
Addressing modes of 8086 are as follows:
Immediate addressing mode-
In this mode, the operand is specified in the instruction itself. Instructions are longer but the
operands are easily identified.
Example:
MOV CL, 12H
This instruction moves 12 immediately into CL register. CL ← 12H
Register addressing mode-
In this mode, operands are specified using registers. This addressing mode is normally
preferred because the instructions are compact and fastest executing of all instruction forms.
Registers may be used as source operands, destination operands or both.
Example:
MOV AX, BX
This instruction copies the contents of BX register into AX register. AX ← BX
Direct memory addressing mode-
In this mode, address of the operand is directly specified in the instruction. Here only
the offset address is specified, the segment being indicated by the instruction.
Example:
MOV CL, [4321H]
This instruction moves data from location 4321H in the data segment into CL.
The physical address is calculated as
DS * 10H + 4321
Assume DS = 5000H
∴PA = 50000 + 4321 = 54321H
∴CL ← [54321H]
Addressing Modes of 8086
Register based indirect addressing mode-
In this mode, the effective address of the memory may be taken directly from one of the base
register or index register specified by instruction. If register is SI, DI and BX then DS is by
default segment register.
If BP is used, then SS is by default segment register.
Example:
MOV CX, [BX]
This instruction moves a word from the address pointed by BX and BX + 1 in data segment
into CL and CH respectively.
CL ← DS: [BX] and CH ← DS: [BX + 1]
Physical address can be calculated as DS * 10H + BX.
Register relative addressing mode-
In this mode, the operand address is calculated using one of the base registers and an 8 bit or
a 16 bit displacement.
Example:
MOV CL, [BX + 04H]
This instruction moves a byte from the address pointed by BX + 4 in data segment to CL.
CL ← DS: [BX + 04H]
Physical address can be calculated as DS * 10H + BX + 4H.
Addressing Modes of 8086
Base indexed addressing mode-
Here, operand address is calculated as base register plus an index register.
Example:
MOV CL, [BX + SI]
This instruction moves a byte from the address pointed by BX + SI in data segment to CL.
CL ← DS: [BX + SI]
Physical address can be calculated as DS * 10H + BX + SI.
Relative based indexed addressing mode-
In this mode, the address of the operand is calculated as the sum of base register, index
register and 8 bit or 16 bit displacement.
Example:
MOV CL, [BX + DI + 20]
This instruction moves a byte from the address pointed by BX + DI + 20H in data segment
to CL.
CL ← DS: [BX + DI + 20H]
Physical address can be calculated as DS * 10H + BX + DI + 20H.
Addressing Modes of 8086
35
36
Instruction Set 8086
37
Instruction Set 8086
38
Instruction Set 8086
39
Instruction Set 8086
40
Instruction Set 8086
41
Instruction Set 8086
42
Instruction Set 8086
43
Instruction Set 8086
Converting Assembly Language to Machine Code
Converting Assembly Language to Machine Code
Converting Assembly Language to Machine Code
Example
Example
Introduction to MDA-Win 8086 Trainer Kit
Introduction to MDA-Win 8086 Trainer Kit
Label Mnemonic Hex code Memory
address
Remarks
CODE SEGMENT 0040: Higher order
ASSUME CS: CODE & DS: CODE result will be
MOV AX, 1234H B8, 34, 12 00, 01, 02 stored in DX
MOV CX, 0034H B9, 34, 00 03, 04, 05 & lower order
MUL CX F7, E1 06, 07 in AX
HLT F4 08
CODE ENDS
END
51
Executing a program in MTS-86C
Do the program in the trainer
Kit for Sum and subtraction of
two 16 bit number

More Related Content

What's hot

System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086mpsrekha83
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorVikas Gupta
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptxMemonaMemon1
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorAshita Agrawal
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1deval patel
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA ControllerShivamSood22
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051hello_priti
 
Stack in 8085 microprocessor
Stack in 8085 microprocessorStack in 8085 microprocessor
Stack in 8085 microprocessorhepzijustin
 
flag register of 8086
flag register of 8086flag register of 8086
flag register of 8086asrithak
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Jismy .K.Jose
 
8086 pin details
8086 pin details8086 pin details
8086 pin detailsAJAL A J
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkarSAQUIB AHMAD
 
8086 microprocessor instruction set by Er. Swapnil Kaware
8086 microprocessor instruction set by Er. Swapnil Kaware8086 microprocessor instruction set by Er. Swapnil Kaware
8086 microprocessor instruction set by Er. Swapnil KawareProf. Swapnil V. Kaware
 
8085 branching instruction
8085 branching instruction8085 branching instruction
8085 branching instructionprashant1271
 

What's hot (20)

8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessor
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
 8051 MICROCONTROLLER ARCHITECTURE.pptx 8051 MICROCONTROLLER ARCHITECTURE.pptx
8051 MICROCONTROLLER ARCHITECTURE.pptx
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
 
Instruction formats-in-8086
Instruction formats-in-8086Instruction formats-in-8086
Instruction formats-in-8086
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
Stack in 8085 microprocessor
Stack in 8085 microprocessorStack in 8085 microprocessor
Stack in 8085 microprocessor
 
flag register of 8086
flag register of 8086flag register of 8086
flag register of 8086
 
SHLD and LHLD instruction
SHLD and LHLD instructionSHLD and LHLD instruction
SHLD and LHLD instruction
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
design of accumlator
design of accumlatordesign of accumlator
design of accumlator
 
8086 microprocessor instruction set by Er. Swapnil Kaware
8086 microprocessor instruction set by Er. Swapnil Kaware8086 microprocessor instruction set by Er. Swapnil Kaware
8086 microprocessor instruction set by Er. Swapnil Kaware
 
8085 branching instruction
8085 branching instruction8085 branching instruction
8085 branching instruction
 
Timing diagram 8085 microprocessor
Timing diagram 8085 microprocessorTiming diagram 8085 microprocessor
Timing diagram 8085 microprocessor
 

Similar to 8086 Micro-processor and MDA 8086 Trainer Kit

8086 microprocessor pptx JNTUH ece 3rd year
8086 microprocessor pptx JNTUH ece 3rd year8086 microprocessor pptx JNTUH ece 3rd year
8086 microprocessor pptx JNTUH ece 3rd yearBharghavteja1
 
Management of system software
Management of system softwareManagement of system software
Management of system softwareAryaChandran13
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessorSManjula2
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Siraj Ahmed
 
Students corner131
Students corner131Students corner131
Students corner131Satti286
 
mic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in pptmic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in pptxboyxman1000
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdfChandraSekhar167698
 
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015vtunotesbysree
 
8086 module 1 & 2 work
8086 module 1 & 2   work8086 module 1 & 2   work
8086 module 1 & 2 workSuhail Km
 
8086 architecture-unit-1
8086 architecture-unit-18086 architecture-unit-1
8086 architecture-unit-1logesh.ieee
 
Mastering Assembly Language: Programming with 8086
Mastering Assembly Language: Programming with 8086Mastering Assembly Language: Programming with 8086
Mastering Assembly Language: Programming with 8086sravanithonta79
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.pptSanjay164567
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.pptssuserbe76c3
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.pptHarshShah659
 

Similar to 8086 Micro-processor and MDA 8086 Trainer Kit (20)

8086 microprocessor pptx JNTUH ece 3rd year
8086 microprocessor pptx JNTUH ece 3rd year8086 microprocessor pptx JNTUH ece 3rd year
8086 microprocessor pptx JNTUH ece 3rd year
 
Management of system software
Management of system softwareManagement of system software
Management of system software
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
 
8086
80868086
8086
 
Microprocessor
Microprocessor Microprocessor
Microprocessor
 
Students corner131
Students corner131Students corner131
Students corner131
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
8086 Microprocessor
8086  Microprocessor8086  Microprocessor
8086 Microprocessor
 
mic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in pptmic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in ppt
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdf
 
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
VTU 4TH SEM CSE MICROPROCESSORS SOLVED PAPERS OF JUNE-2014 & JUNE-2015
 
8086 module 1 & 2 work
8086 module 1 & 2   work8086 module 1 & 2   work
8086 module 1 & 2 work
 
8086 architecture-unit-1
8086 architecture-unit-18086 architecture-unit-1
8086 architecture-unit-1
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Mastering Assembly Language: Programming with 8086
Mastering Assembly Language: Programming with 8086Mastering Assembly Language: Programming with 8086
Mastering Assembly Language: Programming with 8086
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
 

More from Amit Kumer Podder

Familiarization of electronic equipment
Familiarization of electronic equipmentFamiliarization of electronic equipment
Familiarization of electronic equipmentAmit Kumer Podder
 
Arduino Programming on Motor Control
Arduino Programming on Motor ControlArduino Programming on Motor Control
Arduino Programming on Motor ControlAmit Kumer Podder
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming FamiliarizationAmit Kumer Podder
 
8254 Programmable Interval Timer
8254 Programmable Interval Timer8254 Programmable Interval Timer
8254 Programmable Interval TimerAmit Kumer Podder
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIDot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIAmit Kumer Podder
 
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer KitAmit Kumer Podder
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255Traffic Light Controller using 8255
Traffic Light Controller using 8255Amit Kumer Podder
 
8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface8255 Programmble Peripheral Interface
8255 Programmble Peripheral InterfaceAmit Kumer Podder
 
8085 Microprocessor Programming and Instruction set
8085 Microprocessor Programming and Instruction set8085 Microprocessor Programming and Instruction set
8085 Microprocessor Programming and Instruction setAmit Kumer Podder
 
Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsMicro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsAmit Kumer Podder
 
Lecture on wire splicing and termination
Lecture on wire splicing and terminationLecture on wire splicing and termination
Lecture on wire splicing and terminationAmit Kumer Podder
 

More from Amit Kumer Podder (13)

Power Amplifier
Power AmplifierPower Amplifier
Power Amplifier
 
Familiarization of electronic equipment
Familiarization of electronic equipmentFamiliarization of electronic equipment
Familiarization of electronic equipment
 
Transducer
Transducer Transducer
Transducer
 
Arduino Programming on Motor Control
Arduino Programming on Motor ControlArduino Programming on Motor Control
Arduino Programming on Motor Control
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
 
8254 Programmable Interval Timer
8254 Programmable Interval Timer8254 Programmable Interval Timer
8254 Programmable Interval Timer
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIDot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPI
 
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
8086 Assembly Language and Serial Monitor Operation of 8086 Trainer Kit
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255Traffic Light Controller using 8255
Traffic Light Controller using 8255
 
8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface
 
8085 Microprocessor Programming and Instruction set
8085 Microprocessor Programming and Instruction set8085 Microprocessor Programming and Instruction set
8085 Microprocessor Programming and Instruction set
 
Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsMicro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and Peripherals
 
Lecture on wire splicing and termination
Lecture on wire splicing and terminationLecture on wire splicing and termination
Lecture on wire splicing and termination
 

Recently uploaded

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 

Recently uploaded (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 

8086 Micro-processor and MDA 8086 Trainer Kit

  • 1. Department of Electrical and Electronic Engineering Khulna University of Engineering & Technology Khulna-9203 Course code : EE 3214 Sessional on Microprocessors, Micro-controllers and Peripherals Presented By Amit Kumer Podder Experiment No. 05
  • 2. (a) Introduction to 8086 Microprocessor Internal Architecture, Addressing modes and Hex code (b) Constructing the Machine code for 8086 instruction (c) Familiarization with MDA-Win 8086 Microprocessor Trainer Kit Experiment Name
  • 4. 4 Key Features:  Released by Intel in 1978  Produced from 1978 to 1990s  A 16-bit microprocessor chip.  Max. CPU clock rate : 5 MHz to 10 MHz  Instruction set: x86-16  Package: 40 pin DIP  The 8086 gave rise to the x86 architecture of Intel's future processors.  Common manufacturer(s): Intel, AMD, NEC, Fujitsu, Harris (Intersil), OKI, Siemens AG, Texas Instruments, Mitsubishi. Intel 8086 Microprocessor
  • 5. 5  It is available in three versions:  8086 (5 MHz)  8086-2 (8 MHz)  8086-1 (10 MHz)  It consists of 29,000 transistors. Intel 8086 Microprocessor
  • 6. • It has a 16 line data bus. • And 20 line address bus. • It could address up to 1 MB of memory. • It has more than 20,000 instructions. • It supports multiplication and division. 6 Intel 8086 Microprocessor
  • 7. 7 Pin diagram 8086 Microprocessor
  • 8. 8  These lines are multiplexed bi-directional address/data bus.  During T1, they carry lower order 16-bit address.  In the remaining clock cycles, they carry 16-bit data.  AD0-AD7 carry lower order byte of data.  AD8-AD15 carry higher order byte of data.
  • 9. 9  These lines are multiplexed unidirectional address and status bus.  During T1, they carry higher order 4-bit address.  In the remaining clock cycles, they carry status signals.
  • 10. 10  BHE stands for Bus High Enable.  BHE signal is used to indicate the transfer of data over higher order data bus (D8 – D15).  8-bit I/O devices use this signal.  It is multiplexed with status pin S7.
  • 11. 11  It is a read signal used for read operation.  It is an output signal.  It is an active low signal.
  • 12. 12  This is an acknowledgement signal from slower I/O devices or memory.  It is an active high signal.  When high, it indicates that the device is ready to transfer data.  When low, then microprocessor is in wait state.
  • 13. 13 RESET Pin 21 (Input) • It is a system reset. • It is an active high signal. • When high, microprocessor enters into reset state and terminates the current activity. • It must be active for at least four clock cycles to reset the microprocessor.
  • 14. 14 INTR Pin 18 (Input) • It is an interrupt request signal. • It is active high. • It is level triggered.
  • 15. 15 NMI Pin 17 (Input) • It is a non-maskable interrupt signal. • It is an active high. • It is an edge triggered interrupt.
  • 16. 16 TEST Pin 23 (Input) • It is used to test the status of math co-processor 8087. • The BUSY pin of 8087 is connected to this pin of 8086. • If low, execution continues else microprocessor is in wait state.
  • 17. 17 CLK Pin 19 (Input) • This clock input provides the basic timing for processor operation. • It is symmetric square wave with 33% duty cycle. • The range of frequency of different versions is 5 MHz, 8 MHz and 10 MHz.
  • 18. 18 VCC and VSS Pin 40 and Pin 20 (Input) • VCC is power supply signal. • +5V DC is supplied through this pin. • VSS is ground signal.
  • 19. 19 MN / MX Pin 33 (Input) • 8086 works in two modes: • Minimum Mode • Maximum Mode • If MN/MX is high, it works in minimum mode. • If MN/MX is low, it works in maximum mode.
  • 20. 8086 INTERNAL ARCHITECTURE Fig: 8086 Internal block diagram . 20
  • 21. 8086 microprocessor • 16 bit- microprocessor • 16-bits data bus 21 Microprocessor 8086 Data Bus Control signals Add Bus Address Bus – 20 lines – A19 – A0 Data Bus – 16 lines – D15 – D0
  • 22. BIU and EU • BIU (bus interface unit) sends out addresses, fetches instructions from memory, reads data from ports and memory, and writes data to ports and memory. In other words, the BIU handles all transfers of data and addresses on the buses for the execution unit. • EU (execution unit) of the 8086 tells the BIU where to fetch instructions or data from, decodes instructions, and executes instructions. 22
  • 23. 23
  • 24. 24
  • 25. 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. 29
  • 30. 30
  • 31. Addressing Modes of 8086 Addressing modes refer to the different methods of addressing the operands. Addressing modes of 8086 are as follows: Immediate addressing mode- In this mode, the operand is specified in the instruction itself. Instructions are longer but the operands are easily identified. Example: MOV CL, 12H This instruction moves 12 immediately into CL register. CL ← 12H Register addressing mode- In this mode, operands are specified using registers. This addressing mode is normally preferred because the instructions are compact and fastest executing of all instruction forms. Registers may be used as source operands, destination operands or both. Example: MOV AX, BX This instruction copies the contents of BX register into AX register. AX ← BX
  • 32. Direct memory addressing mode- In this mode, address of the operand is directly specified in the instruction. Here only the offset address is specified, the segment being indicated by the instruction. Example: MOV CL, [4321H] This instruction moves data from location 4321H in the data segment into CL. The physical address is calculated as DS * 10H + 4321 Assume DS = 5000H ∴PA = 50000 + 4321 = 54321H ∴CL ← [54321H] Addressing Modes of 8086
  • 33. Register based indirect addressing mode- In this mode, the effective address of the memory may be taken directly from one of the base register or index register specified by instruction. If register is SI, DI and BX then DS is by default segment register. If BP is used, then SS is by default segment register. Example: MOV CX, [BX] This instruction moves a word from the address pointed by BX and BX + 1 in data segment into CL and CH respectively. CL ← DS: [BX] and CH ← DS: [BX + 1] Physical address can be calculated as DS * 10H + BX. Register relative addressing mode- In this mode, the operand address is calculated using one of the base registers and an 8 bit or a 16 bit displacement. Example: MOV CL, [BX + 04H] This instruction moves a byte from the address pointed by BX + 4 in data segment to CL. CL ← DS: [BX + 04H] Physical address can be calculated as DS * 10H + BX + 4H. Addressing Modes of 8086
  • 34. Base indexed addressing mode- Here, operand address is calculated as base register plus an index register. Example: MOV CL, [BX + SI] This instruction moves a byte from the address pointed by BX + SI in data segment to CL. CL ← DS: [BX + SI] Physical address can be calculated as DS * 10H + BX + SI. Relative based indexed addressing mode- In this mode, the address of the operand is calculated as the sum of base register, index register and 8 bit or 16 bit displacement. Example: MOV CL, [BX + DI + 20] This instruction moves a byte from the address pointed by BX + DI + 20H in data segment to CL. CL ← DS: [BX + DI + 20H] Physical address can be calculated as DS * 10H + BX + DI + 20H. Addressing Modes of 8086
  • 35. 35
  • 44. Converting Assembly Language to Machine Code
  • 45. Converting Assembly Language to Machine Code
  • 46. Converting Assembly Language to Machine Code
  • 49. Introduction to MDA-Win 8086 Trainer Kit
  • 50. Introduction to MDA-Win 8086 Trainer Kit
  • 51. Label Mnemonic Hex code Memory address Remarks CODE SEGMENT 0040: Higher order ASSUME CS: CODE & DS: CODE result will be MOV AX, 1234H B8, 34, 12 00, 01, 02 stored in DX MOV CX, 0034H B9, 34, 00 03, 04, 05 & lower order MUL CX F7, E1 06, 07 in AX HLT F4 08 CODE ENDS END 51 Executing a program in MTS-86C
  • 52. Do the program in the trainer Kit for Sum and subtraction of two 16 bit number