SlideShare a Scribd company logo
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

IEEE-488
IEEE-488IEEE-488
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
deval patel
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
Shazid Reaj
 
Arm7 Interfacing examples
Arm7   Interfacing examples Arm7   Interfacing examples
Arm7 Interfacing examples
Dr.YNM
 
Serial communication in 8085
Serial communication in 8085Serial communication in 8085
Serial communication in 8085
Nitin Ahire
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 80869840596838
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controllerTech_MX
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
Abhilash Nair
 
Ripple Carry Adder
Ripple Carry AdderRipple Carry Adder
Ripple Carry Adder
Aravindreddy Mokireddy
 
SHLD and LHLD instruction
SHLD and LHLD instructionSHLD and LHLD instruction
SHLD and LHLD instruction
Romilkumar Siddhapura
 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
Srikrishna Thota
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
abhikalmegh
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
NimeshSingh27
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
Syed Saeed
 
Intel 8051 - pin description
Intel 8051  - pin descriptionIntel 8051  - pin description
Intel 8051 - pin description
DEPARTMENT OF PHYSICS
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
Dr. Pankaj Zope
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
Shehrevar Davierwala
 
VLSI Design Sequential circuit design
VLSI Design Sequential circuit designVLSI Design Sequential circuit design
VLSI Design Sequential circuit design
tamil arasan
 

What's hot (20)

IEEE-488
IEEE-488IEEE-488
IEEE-488
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Arm7 Interfacing examples
Arm7   Interfacing examples Arm7   Interfacing examples
Arm7 Interfacing examples
 
Serial communication in 8085
Serial communication in 8085Serial communication in 8085
Serial communication in 8085
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
Ripple Carry Adder
Ripple Carry AdderRipple Carry Adder
Ripple Carry Adder
 
SHLD and LHLD instruction
SHLD and LHLD instructionSHLD and LHLD instruction
SHLD and LHLD instruction
 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Intel 8051 - pin description
Intel 8051  - pin descriptionIntel 8051  - pin description
Intel 8051 - pin description
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
 
VLSI Design Sequential circuit design
VLSI Design Sequential circuit designVLSI Design Sequential circuit design
VLSI Design Sequential circuit design
 

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 year
Bharghavteja1
 
Management of system software
Management of system softwareManagement of system software
Management of system software
AryaChandran13
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
SManjula2
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
Siraj Ahmed
 
8086_architecture-1 detailed analysis in easy language
8086_architecture-1 detailed analysis in easy language8086_architecture-1 detailed analysis in easy language
8086_architecture-1 detailed analysis in easy language
samanthaargent21
 
8086
80868086
Microprocessor
Microprocessor Microprocessor
Microprocessor
Vijay Kannamalla
 
Students corner131
Students corner131Students corner131
Students corner131
Satti286
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Gopikrishna Madanan
 
8086 Microprocessor
8086  Microprocessor8086  Microprocessor
8086 Microprocessor
Sudhakumari46
 
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
xboyxman1000
 
Computer Engineering II Year.pdf
Computer Engineering II Year.pdfComputer Engineering II Year.pdf
Computer Engineering II Year.pdf
ChandraSekhar167698
 
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
vtunotesbysree
 
8086 module 1 & 2 work
8086 module 1 & 2   work8086 module 1 & 2   work
8086 module 1 & 2 work
Suhail Km
 
8086 architecture-unit-1
8086 architecture-unit-18086 architecture-unit-1
8086 architecture-unit-1
logesh.ieee
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
Kumar Anand Singh
 
Mastering Assembly Language: Programming with 8086
Mastering Assembly Language: Programming with 8086Mastering Assembly Language: Programming with 8086
Mastering Assembly Language: Programming with 8086
sravanithonta79
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
VEERA BOOPATHY E
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
Sanjay164567
 
8086_architecture.ppt
8086_architecture.ppt8086_architecture.ppt
8086_architecture.ppt
ssuserbe76c3
 

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_architecture-1 detailed analysis in easy language
8086_architecture-1 detailed analysis in easy language8086_architecture-1 detailed analysis in easy language
8086_architecture-1 detailed analysis in easy language
 
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
 

More from Amit Kumer Podder

Power Amplifier
Power AmplifierPower Amplifier
Power Amplifier
Amit Kumer Podder
 
Familiarization of electronic equipment
Familiarization of electronic equipmentFamiliarization of electronic equipment
Familiarization of electronic equipment
Amit Kumer Podder
 
Transducer
Transducer Transducer
Transducer
Amit Kumer Podder
 
Arduino Programming on Motor Control
Arduino Programming on Motor ControlArduino Programming on Motor Control
Arduino Programming on Motor Control
Amit Kumer Podder
 
Arduino Programming Familiarization
Arduino Programming FamiliarizationArduino Programming Familiarization
Arduino Programming Familiarization
Amit Kumer Podder
 
8254 Programmable Interval Timer
8254 Programmable Interval Timer8254 Programmable Interval Timer
8254 Programmable Interval Timer
Amit 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 PPI
Amit 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 Kit
Amit Kumer Podder
 
Traffic Light Controller using 8255
Traffic Light Controller using 8255Traffic Light Controller using 8255
Traffic Light Controller using 8255
Amit Kumer Podder
 
8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface8255 Programmble Peripheral Interface
8255 Programmble Peripheral Interface
Amit Kumer Podder
 
8085 Microprocessor Programming and Instruction set
8085 Microprocessor Programming and Instruction set8085 Microprocessor Programming and Instruction set
8085 Microprocessor Programming and Instruction set
Amit Kumer Podder
 
Micro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and PeripheralsMicro-processor, Micro-controller and Peripherals
Micro-processor, Micro-controller and Peripherals
Amit Kumer Podder
 
Lecture on wire splicing and termination
Lecture on wire splicing and terminationLecture on wire splicing and termination
Lecture on wire splicing and termination
Amit 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

The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 

Recently uploaded (20)

The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 

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