Beruflich Dokumente
Kultur Dokumente
INTERFACING
Room : C – 004
Contact Hours : 4 pm – 5 pm OR
with prior appointment
Ø Text Book:
vMicroprocessors and
Interfacing
v by Douglas V Hall, Revised 2nd edition
v McGraw Hill Publication
Ø
Ø Referece Books:
The concepts
are based on a particular
microprocessor, the Intel 8086, and
its associated supporting devices and
software and assembly language
Main Objectives
2) TO MAKE THE STUDENTS TO DEVELOP DIFFERENT TYPES OF APPLICATIONS IN
ASSEMBLY LANGUAGE USING
8086 INSTRUCTION SET.
9 - Hrs
•
• UNIT IV:Maximum mode of operation, bus structure, Direct memory access Data
transfer(DMA), Interfacing with 8251A(USART), 8087 numeric data processors.
9 – Hrs
•
•
• UNIT V: Multiuser/Multitasking operating concepts, the Intel 80286 microprocessor:
architecture, real mode and protected mode, the Intel 80386: architecture, real
BLOCK DIAGRAM OF A COMPUTER
TIMESHARING SYSTEM
BLOCK DIAGRAM OF A DISTRIBUTED
PROCESSING COMPUTER SYSTEM
BLOCK DIAGRAM OF A SIMPLE
MICROCOMPUTER
Intel Family Evolution
Processor AlU Data bus Address Bus
Number Size(bits) Size(bits) Size(bits)
8085 8 16 16
8086 16 16 20 Queue 6
bytes
8088 8 20 20 Queue
4bytes
80186 16 16 24
80286 16 16 24
80386 32 32 32
80486 32 32 32
Pentium 32 64 32
Microprocessor Chip
8086 Pin Diagram
8086 INTERNAL BLOCK DIAGRAM
8086 FLAG REGISTER FORMAT
64Kb SEGMENT POSITION IN 1Mb Address
Space OF 8086(One Way)
Using CS and IP
a) Physical address Diagram
b)Physical address Computation
Using SS&SP
a) Physical address Diagram
b) Physical address Computation
Using DS and Effective address accessing
data
Flowchart for a program to read 24 samples
Addressing Modes
Ø Datum
Ø Direct
Ø Register
Ø Register Indirect
Ø Register relative
Ø Based Indexed
Ø Relative Based Indexed
•
Immediate Addressing mode : Instruction
Datum
Register relative
addressing mode :
Instruction
Register Displacement
Memory
+ Datum
Registe
r
Address
Based Indexed addressing mode:
Instruct
ion Index Register
Base Reg Index reg Address
Memory
EA
+ Datum
Base
Register
Address
Relative Based Indexed
addressing mode :
Instruction
Base Reg Index reg Displacement
Register
Index Memory
Address + Datum
Base Register
Address
Coding template for 8086 IN instruction
a) Template b) Example
c) Hex codes
Coding template for 8086 which MOV data between
registers or between a register and a memory location