We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 33
Seer age ey
Practical No. 1: Identify the various pins of the 8086 microprocessorResources required (Additional)
S. Instrument | Specification Quantity
No. _| /Object
1. | Chart 8086 Microprocessor pin TNo. i
diagram and Block diagram available
Observations
Label pins of given diagram of 8086 in respective modes
, MINMODE MAX MODE
GND
AO,
103 BOs «Muth ened ed
AD. / y Date a an
Ay
ADie
3 iD $
Muttipleret |”
Acldsurs ond 1)
dala bus | a; z
| Ads ,
ee 29 ine
hod:
(Oo
*- wall MA
Infesuuyh fm hon 8
ee Lina, aie (inva
ee Tet Mag
A koody Braet
ay A Reael Aig nals
Mahagpshtra State Board of Technical EducationXVII. Exercise
Note: Faculty must ensure that every group of students use different pins.
(Use blank space for answers or attach more pages if needed)
1. Draw the labelled block diagram of 8086.
2. State the use of status signals in maximum mode.
(Space for answers)
Oe NE OM LAVOE Fe aNMicroprocessor (22415)XIII Observations
1) Observe and write the contents of Register using debugger TD or Debug
: Table 1: Contents of Registers
.
Types Registers Flag Register
General Purpose | AX [oo 0 Carry Flag CF [2
registers BX Zero Flag ZF | O°
cx Sign Flag SF | o
DX Overflow Flag OF | 0
Index Register SI Parity Flag Freee
DI Auxiliary Carry Flag | AF o
Base Pointer BP Interrupt Flag IF 1
Stack Pointer SP > Direction Flag DE | 0
Segment Register | DS [45 2;
ES
SS t :
cs | 4 ale
Instruction register | IP [| 0090
2) Observe and write the contents of memory location in Code Segment using debugger
TD or Debug
Table 2: Contents of memory location in Code Segment
Address Contents Address Contents
CS:0000 BORSA CS:0008 9403
CS:0001 = CS;0009 >
CS:0002 = CS:000A COZ)
CS:0003 dE 0B CS:000B es
CS:0004 : = CS:000C Bo)
CS:0005 R\0200 ‘CS:000D EeDS:000E
DS:000F i
.
XIV Practical related Questions ’
Note: Below given are few sample questions for reference. Teachers must
more such questions to ensure the achievement of identified CO.
1. Write the assembly language tools used in your lab in Table 4.
Table 4: Tools Used
St. No. | Tools Used Name of Tool Version
1_| Editor MS + AOS
2__| Assembler TH3é 2
3 | Linker TLINte 2.0
4__| Debugger TO
2. List the files extensions that are created by the Assembler used.
3. List the files extensions that are created by the Linker used.
The fileSS roeesceremeenen cue
Micro,
Processor (22415) me i set
a
dditio,
m to perform a
Practical No. 3: Write an assembly language LE hers
and subtraction of two 8 and 16-
Practical SignificanceDS:000F
ith comments- XV Results (Output of the Program)
(Note: Write an Output of program assigned by teacher)
; :
ky a he
XVI_ Practical related Questions
Note: Below given are few sample questions for reference. Teachers must
more such questions to ensure the achievement of identified CO.
1. Write the command line used to create assembly language program for
and subtraction.
- Write the command line used to generate .exe file of assembly language
for addition and subtraction.Write an ALP to multiply two given 8 and 16 bit unsign,
and signed numbers. :
cal Sionifirens.DS:0004
DS:0005
DS:0006
DS:0007
XIV Program Cog ee 1 comments,
Xv
XVI Practical related Questions
"Note: Below given are few sample questions for reference. Teachers must
more such questions to ensure the achievement of identified CO.
1, Write the names of result registers of multiplication of 8/16-bits
signed numbers.MOV 4"
" IMUL BL
IMUL instruction. 1°
n MUL and IMUL.“Microprocessor (22415)
Practical No. 7: Write an ALP to divide two 8 bit and two 16 bit
unsigned and signed numbers.
I Practical Significance
eeDS:0003 ~
DS:0004 7
DS:0005 Danaea as
DS:0006 DS:000E “ae
DS:0007 DS:000F
Program Cag with comments
Peal San
madel..rmald.
XV_ Results (Output of Program) (Note: Write an Output of program assigned by
teacher)XVII. Exercise (Any One)
(Use blank space provided for answers or attach more pages if needed)
1. Write an ALP to divide 8-bit signed number by 8-bit signed number.
2. Write an ALP to divide 16-bit signed number by 16-bit signed number.
(Space for answers)ES
Microprocessor (22415)
Practical No. 8: Write an ALP to perform arithmetic operation on
BCD numbersessor (22415)
ical No.12: Write an assembly language program to find
length of string, arrange string in reverse order and
concatenate stringsProgram Code with comments
2”.S42 dh‘, 2 $)
zm =
|
WOU @ fx, @data
em os a
MeeeteA si tty, .
eica 1 _ ite :
yee —__
(uP: cre kt. ($3) _ a
Paz NEXT i
__ 7
ENC st al
eee SMP UP aa
——_INent: cme At, oo:
fees 2 Ea Z 4
_ Mov _ Bt (oF)
mov (85), AL
aoe oeMicroprocessor (22415) Sailieciensetiommaees
Practical No. 14: Write an ALP to count positive and/or negative number,
in arrayAt a
>b eee -
£ 7 Mead to ¢ i z
#21 ive
M Net
TA + Mov Dx, offrel mi2
ts
Mov AH, O94
fut 21
mov ah, 4cn
end sieu. t
CydMicroprocessor (22415)
ws
Practical 2 Writ LP to count ‘0’s and ‘1’s in a giv
tical No. 15: rite an Al given num|
ber:
vil[V Program Code with comments
State Board of Technical EducationMicroprocessor (22415) it
Practical No. 16: Write an assembly language program using Procedure,
I __ Practical Significance
eS seaven if an aleorithm is availaDS:0003
DS:0004
DS:0005
DS:0006
DS:0007
; i :
Results (Output of Progra! ar assign
(ote: Write an Output of Pro
.d by teacher)(22415)
Practical No. 17: Write an assembly language program using macros.
Practical SicnificanceAddress Contents Address Contents
DS:0000 DS:0008
DS:0001 DS:0009
DS:0002 DS:000A
DS:0003 DS:000B
DS:0004 DS:000C
DS:0005 DS:000D
DS:0006 DS:000E
DS:0007 DS:000F
[V Program Code with comments
Raard of Technical EducationResults (Output of Program)
(Note: Write an Output of program assigned by teacher)
XVI_ Practical related Questions
Note: Below given are few sample questions for reference. Teachers must design
more such questions to ensure the achievement of identified CO.
disadvantages using macro.
Laat. 9¢
ction of directive, MAC O and ENDM.
MUNRO, 5B... MEO IV. A
(Use blank space provided for answers or attach mote pages if needed)
1. Write an ALP to perform y=a?+b?+e? using macro to compute square.
Software Programs: Part A 1. Design and Develop An Assembly Language Program To Search A Key Element "X" in A List of N' 16-Bit Numbers. Adopt Binary Search Algorithm in Your Program For Searching