0 ratings0% found this document useful (0 votes) 59 views41 pagesMic Pràctical
Copyright
© © All Rights Reserved
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
vn mode, S086 generates conte) Signal
BEN and (NTA. to movin S
OS: F.8. LOCK , RQ GT RQ’
Be rey ot on of pins of 8086 ti
: F 1 demonstrate the use and functte p ing
fred (Additional)
Tinstrument | Specification
Onject
Chat [S086 Mic
Jiagrom
Observations
Label pins of given diagram of 8086 in respective modes
MIN MODE MAX MODE
an>
RDG
ADIs
F AD
male an
addres§ ADio
A AD3
ROG
data bise aoe
ADG
B95
AD4
ADs
AD2
AD
ADO
NM
Inte
clu
GND
‘Maharashirs State Board of Technical Education
Kare DMA S
he
308!
ise
aD signa
meOwestions
kiven are fem
imple 4
Teachers must design
1 acheven C0.
The CreAiNg a Lemparart Wal dune
eX CME OG. cahenl Bert eeen Ree iercs
SSPE A TEES. Hae, Ne ge eA
mene
ae ne DMA conti tata fede PREROHSS Cauie arimapt
hicheveryaa
Ailable
=
The Jie Ss AMeman access. .ONA Antertace ak the
8936 mM 2 MAAS... CONG aAe as Be ters and
HLDP..S1.4 nal. Ane... 90,2 6. SiQMa\.oxternal device w
a
Baten AG lt > MLD A OMY Magic is ene o
RD Signal is atisoren io) rbnight Pyeng ere hig
FANS OD AGNNG. NOW EAD... 19PAN,..generar eg
b YPE RY REL EBON. ADL AALAA S.A WAL. cc... processoY
2 Per OM MNS... hd... OR EEANOO. wishin. Me Ino ry
OY LO. SEPEMAOOS,.OO. ADE. SHAIAS,.OFF. IO
Vil. Exercise ml
W sotet Focully ill ane a cate rer ale i
(Use blank spice forsswers oc atch more pagal ited)
Draw the labelled block diagram of 8086,
ta1us signalsin maximum mode
(Space for answers)Exeenhe
uni.r conte)
Proees
Related
foharashira State Boar 5
late Board of Technical Education
Matarashira StaDare pater
BAY
operaning
so Fa
s available
Table 2
Address
S000
C504
CS:0002
CS10003
CS:0004
CS:0005ted: OF, CF, PF. AF, SE
& Operation
SUB “SRC
Destination + dest
SBB SRC
sired (Additional)
Resources requ
ve |_ Sesion
I Hpesutor” CC 96
| EaUkOY MS:
Sew | CY ASH. OY
1S anwey_ (LENKOrt
Tarebs 9 ye Deby oyta Aa
Precautions to be followed
| Quantity | Remarks
1 destination,
source may ke
ny 24 a
> and
ation should
Procedure 4
se blank
1. Write algorithm and di
or attach m
b. Double clikon DOSBOX TASM 1.4 icon
Type edi DOS promyJ | Additional)
rT. 545
G& RAMA 2-7 BRO
0S window 10.
are DOS... BOK:
of Register using debugger TD or Deb
-s after the Addit
~ Before
060°
) Observe and write the contents of memoryg
debugger TD or Debug after the execution ofte 2: Contents of memory toeatton in Code Seument
Address Contents Ada \ Com
Aram | OSREAR | oe
|
ame Gesg |
R30Ke0 |
A1o009d | 00D
a
CsONF 1 00 SSE
nory location in Data Segment using
rable 3: Contents of memory location in Dats Segment
Contents Address ‘Contents
} RD DS, eel
(26 “ve REO)
[ee
ie
Address
DS:000A
750008
DS:0006 =
9$:000D.
DS.0008
Program Code with comments
fi ork ankBregram
AY
Pov OX, +¢
SU b AX, BX
cose
END
veagisier te
vm Flay.
2 Ba) dard segs
dd. 122
wf abe.
€ def 34 Sf
for -
for - CASA
Suns _pro9ramne Ci] bs €d translate
eve 6 for addenAL yegisicr will. Show. she. .vAre
°
Cary Rag, ck wit be. Sek aioe eens
1) dara... segment
abc. dd AL 456184
def dd... [Link] EroM
ane. gw
Aaa. endS.
cose. segment
Assume G2 1gces
et ,
pov. AR, Asta,
3S
rhov...a\,-b0\d
Mon
KON,
Odd... AX, 22
Noy... word .p*
ws... Br
Nov HOV,
nr ends.
Lend.
ira State Board of Technical EducationD Operation
Dx
X by BX, AX
ved byte with signed word.
in BX
Al
Bul Bx Me
HBeriple of nulriplication of 98
Moy BX. multipl 1
Benipy AL. multiplic \
CBW «
Mul Bx
numb
mbes Work Situation
Biase ce programming tools to write
BF culty mus
BS tucients groun
he f
Resources required (Additional)
Instrumentebe Followed ipnerats with care
emputer ste
. gorithm and draw flow-chart for
hs more pages ifneeded)
Neill = BS SBOX TASM 1.4 icon.
von DOS prompt and press Enter Key
siven program ¢ygl
i
b, Double e
mand save on disk
‘s program is created, then type fi
ge prog ‘YPC Las fate
ress Enter Key to create fllenam ‘
name on comm
ne.0bj file
'd prompt and py
8. Finally, type deduee [Link] or td [Link] on the go
press Enter Key to debug your program step by step,
mMmand p
fh. Observe the contents of register ‘memory location used and statis gf
XII Resources used (Additional)
No used
XII Obsery
Observe and write the contents of
f Register 4
execution of program. Lister Using deby
i
‘cal Educationsion in Data Segment Le
2p en
“table 2: Contents of memory 12cm
rn 2
DY nesalt AX) orore estsmall
nw dp 7.0 eee
end
num2. dw OFFER
MSS!
Yo -m
2 msb dw 0
ede oa
ie ON OA, @dara
MEU. dS, AX
MON | OY, eae
MAL Num?
MO. YS-1 Sb AX
MOV 35. msh dX
endsThe. sours Cites
yes EON NX
be
menengglles required (Additional)
wie sc] | Barner
oP Rei] | — ie OIE
ibs 0607IT
OORT
‘009i
3 Cog
wall Bhi
Kr
toe
Destination bigex
[Memory I
mion | Dag
Ds:000sH sat
DS:0006H | 7H
DS:0007K1
[an
en
[AAtr
DS.0008H
S000;
ock is 5, then inig
memory pointer
SI and DI regi
MOVSB/Moy
nation bloek
clared in the
st be
1 empty
“se of asseniBy Has Re Osi
Wo students,
SSembly language programming tools to
| Quantity
Handle connpaner systewm mat
‘Shs down PO Pepe
Wine alynithen aed draw 8
mitach mote pages i mee
k 00) DOSBOK
i i
Type tink [Link]
reate filename exe 6
type debug filen
cen Enter Kicf Sade
Observe the contents of
“Resources used (Aggitign
DS:0001
DS:0002
~_DS:0003recautions to be fe
nt and press Enter Key
n step by step. re
y Tocation used and status ass
csources used (Additional)
DESMO L.-.Leney.2
aan
Soure
Address
DS:0000.
5-000)
“pS:0003
D5:0004
ons =I
e and write the conten
2) Table 2: Obst
pea
Source Me
nso
5:0002
Board of Technical Fducation
fashtra State2341 7» 5&254 1 F89GH | ;
, Show 3
234
6554ead aX, @.. data
MA.O¥. Dg
MON. ApH
RON FRREM DV Got OM
THON Wh DEERE MES it Chae
PVA BA
add dy
VPs mar. .AX..CNID
[Link]. Kad dn. AX
Surv 9a
SMB i hig De
\ooP..wexs
2.9.5
endé ; i
°
pt and press Enter Keyxn hie
1 ung
Ebb COPA ¥€.... Skt N0
HPS” Com Dare. Stamm... bg te
on Hye by
CHRSY: Compare SAY wor,
Maharasinia Sine Board of TechnicalFON BRM SCONE IN... PEIN)... SAIN on
oe. ESE. ds. EP. AE RSLErm To0-Poink to. Ane
COATES. ADS. 9 OS MANOM O0SYAM.S
ES PCEIIMENY,. KOC AG TWAS segment oweve™s
S90 Gore NOD a EDT SEQN SA ETES. are
V8 C8. MMe RADE .59 AINE Source
And. Mesrinarion _weseecsined}:
1ey
2) REPEAT = REP
The... SOWIE OO. 25. wsed asa yrenr
Insiaatrion with. re Ssinng Lnsarcren)
ane. wrerprered. As a * Repeat whe
Nor_elnd..OF.. Skea
Ccx...n9* ean +0 2er0}
Cour... FOX yepear...masi b& joaded
C0 6K RES OREM
Koy *. san \& cx #0
Exe re SAnny Ans\2uctioN
3. te a
[Link]
Exampe
rk nov §%,@ .94%4
N ,
way 2o-Be
OY ES, Br
a CLD
Mov CXS yength of Okun
tov. ST1.0 F¥Seh Bsanind
voy DT. o84s8t D:9mey
perc merch or crs
Retz Koreas. Wie equa
or: Repent Wailea(Convert Byte to Word)
8 the sign of byte in AL. to all the bits in AH. AH is th
sign extension of AL. The CW operation must be done bef
ration
filled with 8" bit of AL i.e. D,
ple
AX
lconvert signed byte in AL to signed we
AX
(Convert Word to Double word)
Gilt ater th
Dx
sing tools to write
ning tools to write and,
es required (Additional)
nt Specification | Quantity
Tnstrume
I /Ovject/Software
| Des vto? Keyword
E Edit
TAs
ee GMe
pr aae
ons to be followed
je computer System and peripheral with
Bown PC properlyre pa ©
clik on DOSBOX TASM 1.4
DS:0001
1DS:0002
|-—Bs.0003.
DS:0004
—ps:0005
DS:0006
DS:0007
4
/ 2
Vy Program Gor
Resources used (Additional)
wna
+ Mose
TASH 3.4 re
Win dows eperating Sycterd diy
Xu ares
div
an
r€r
+. C9de
egister aX
—- *
CF To} Y
2F lo]
ey 3
oF ig
PF lo} '
AF lo ¢
iF ley
DF Ig | eae
V Results (©
in Data Se
aharashira State Board of Technical EducationS000 26o0g0o | 0204
DS.0001 Og00 bs 495
Ds.000. 000 Ds00GA Teac ead
psovos | ase) | | oer
ps000s | one | exer
50006 Aa toatl ee
BS-000' as DS:0001 A
Address, Contents Kaldvess Contents
VEsigned..derd. Wy..byhe
+ Model..omarh
2 IAA
IM dh O23
IAMS... V2
QMO. db 0
LEM de a
Codd.
ye EIA. ax.,.Q)....)a44
_—
Hon 9.5.09. A%,
VON. AX.p..d90)
IPM dANS
Mov... Avs ma
Moy, ¥[Link]
C98. oss
sy ATA
Results (Output of P
eacher)
rogram) (Notes Weite an Outputoneaed
Bes
ONE =.
WM
: Jisise
5 cb VON is aed wire OAS
eran Besa [Link] tees oO ecx SES
unsigned word b is
$ me) 03.4
YOST GH ED Jorble? We ny fo
P S THESE ins thio. Sear gy + Core
oc Woe signea word 4% Harve 10rd by ‘aig wd
prOne NIE unsigned J :
Model Smaiy
sddtg
div= mss jc
FFEFH
Svc lob yy
€
S001 H §
Jivisor chy Jw LEH
qo Ca
nen dw °
£
* Code
eV ax 8) aig
fey ls, ax
4 AX, Jiu xlsbh
MW... AX y iv
=MSb
BED icv.
POV Guo. + ax
HON... 219... JX
ends
State Board of Technical Education
adh- Medeh..Srmarh
+ AA
din. =m.
A. ASM.
Jivisor.. o>
Que.
yer
+ Code
PrAON.
kyon.
af Technical Rducatanoo ink ore
lena exe
vay ads you OA
Trot.
can ges epee
Deon top ‘ c
Edi toy = 7
Dssembler : 7
Liner \
[pebgyer P co
wii Toes Da}
X Pree
‘Opserve and write the eon
er 4 execution of program
‘Table 2: Content
XI Procedure
ram. (Use blank spi
b. Doub
le clik on DOSBOX TAS\ “0 ee
gram is created, then type asm filename
er Key to create [Link] fileOperating... Sysber
Table.1: Contents of Registers
Registers Flag Register
After Before
"Cary Fla
Zero Fla
Sign Flag,
©0006 |o000
o000
0000
0000 =r
0000 is
5000 |
9000 |
0000
‘Overflow F
Auxiliary C
Tnterrupt F
jon in Data Segment after the
x
jon of ;
Table 2: Contents of memory location in Data Segment
‘Address
Address Co
a 7 DS:0008,
| i DS:0009.
DS:000—
mt} spook ene
Ds-0003_* iv DS:000B “| °
38.0004 | a a ese es
ps:0005 | DS. “0302
~ DS:0006 | on be
DS:000)
Contents
Bes iaic Board of Technical Educaany. Fl.
Raxiilany1. rexister of following code after Oye
MOV AL
MOV iL
code after the
MOV AL,O3H
MOV BL,O7H
SUBAL, BL
DAA
Cary F144
Rai tlany Hag
AL= 619.2
“State Board of Technical EducationEditoy-
ayailagie
td | fawatla bie
Asseasiey| 1 Taal
inte Ty — | taal
Degg er} a
(Use blak space provided
1 Rey
rm [Link] on the
bj Hite
mpt and press Enter Key
‘© command prompt and
x! status of flags.email
mats od
eo Serad SEF, OEE OFF, OFF. OFFH
eS MS b. dbo.
cede
TAQ... AK oat.
ByoV. ase Qs
PAV... O%.Sh
MOM. 63. p OFT IE A. AMEMDAIA,
Mo ay,.0sv.
Add.) 925.7,15-b. AN €
Unc. next j
We WamShe
Nd 'S,
Hts (Output ofthe Progeamy 8°
Write am Ouput of program axsigned by teacher)
FE ea ere he
Practical related Ques
I. Beton’ given are few sample questions for reference! Tevclers must design
venstre the achievement of identified CO.
Gan the registers used as memory pointer and counter 8 program?
memnery pointer. ssi.
Countey Ce. :
the use of INC instruction in your program.
cHon. Adds xs The,
Srna tla. a
State
inc ast
De aile Gere. Cod. ten
jerminate
+P will
1
InsPuchiolg. is Main Us egal
srrerent. JOoPS Fo. Hee
iostecnon. USC Ae Ge
WAGE Jo. indicate. he (oop
und
- eee iS.2ACHO Ns e | (lela
PAE AD I nS CAFE Ane
ESX pe :
le0P coanje;-AVUMB.A]
S/e
Co ”
ee Sene? \G- bi) number
pode! small
aeEPEN, OFEEEH OFFFFM
OFREEM, OFEEEM
6b ad 9
mb dw 0
Be code .
Ay gee gat Ae
PON 3S tc AX
. oe a oer
Stroy eateet ataaueo ss
| pov tsi).
E WER. ASP... AE
r VRC vt NEZEE crs
inc ees ms b
next... ‘
1 ped
looP M0
ends
endses required (Additional)
Quantity Remarks
1 Avaag\e |
1 ava \ab) ¢|
Va wailay,
i ayalayte |
i b valabie)
pms To be followed
(le computer system and peripheral
Ut down PC properly
Is with care.
Bite algorithm and draw flowehatt for given program (Use blank space provided
lattach more pages if needed)
ule clik on DOSBOX TASM 1.4 icon.
pe eclit [Link] on DOS prompt and press Enter Key
ype the program and save on di
© the assembly language program is created, then type fasnr [Link] on the
Bib mand prompt and press Enter Key 16 create [Link] file
Pe (in [Link] or tink filename on command prompt and press Enter Key
eate filename .exe file
ly. type debug [Link] ot td [Link] on the command prompt and
ess Enter Key to debug your program step by step.
erve the contents of registers, ilemory location used and status of flags.
irces used (Additional)
TASM. UG.
jerve and write the contents of memory location and AL registet after the
Eutjon of program ‘syntax off
h conditionPIAS SOS FOS Car i oe FF, RE SE,
Crh. ORS SOLING Ventral gece ose
FO MAMET DLASION to Find Srealier/
sav gest. Mumbey
ax of CMP instruction
tion jump instructions are 4
(Space for answers}
CHP. mestination...soarce.
£23,
cme al Cid.
Malarashurs Sia Board of Technical Education