Professional Documents
Culture Documents
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
shankaragoudb@gmail.com
STUDY31ENGINEERINGBlog
ThissiteisaboutstudiesofB.Tech3rdyear1stsemester(CSE)ofJNTUsyllabus.
Thursday,September10,2009
VivaQuestionsandAnswersinMPIlab1
Followers
Jointhissite
VivAQuestionSandAnswerSinMPInterfacinG
LaB1
1)WhatisMicroProcessor?
A:AMicroProcessorisamultipurpose,programmable,clockdriven,
registerbasedelectronicdevicethatreadsbinaryinstructionsfroma
storagedevicecalledmemory,acceptsbinarydataasinputand
processesthedataaccordingtothoseinstruction,andprovidesresults
asoutput.
2)WhatarethedifferenttypesofAddressingModes?
A:Thereare12differenttypesofAddressingModes.Theyare:
<1>Immediate:TheImmediatedataisapartofinstruction,andappears
intheformofsuccessivebytes.
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
withGoogleFriendConnect
Members(14)
Alreadyamember?Signin
Feedjit
LiveTrafficFeed
AvisitorfromBangalore,
Karnatakaviewed"STUDY31
ENGINEERINGBlog:Viva
QuestionsandAnswersinMPI
AvisitorfromErnakulam,
lab1"47secsago
Keralaviewed"STUDY31
1/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
<2>Direct:A16bitmemoryaddress(offset)isdirectlyspecifiedinthe
instructionasapartofit.
<3>Register:Dataisstoredinaregisteranditisreferredusingthe
particularregister(exceptIP).
<4>RegisterIndirect:Theaddressofthememorylocationwhich
containsdataoroperandisdeterminedinanindirectway.
<5>Indexed:offsetoftheoperandisstoredinoneoftheindexregisters.
<6>RegisterRelative:Thedataisavailableataneffectiveaddress
formedbyaddingan8bitor16bitdisplacementwiththecontentofany
oneoftheregistersBX,BP,SIandDIinthedefault(eitherDSorES)
segment.
<7>BasedIndexed:Theeffectiveaddressofthedataisformed,inthis
addressingmode,byaddingcontentofabaseregistertothecontentof
anindexregister.
<8>RelativeBasedIndexed:Theeffectiveaddressisformedbyadding
an8or16bitdisplacementwiththesumofcontentsofanyoneofthe
baseregistersandanyoneoftheindexregisters,inthedefaultsegment.
<9>IntrasegmentDirectMode:Inthismode,theaddresstowhichthe
controlistobetransferredliesinthesegmentinwhichthecontrol
transferinstructionliesandappearsdirectlyintheinstructionasan
immediatedisplacementvalue.
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
Keralaviewed"STUDY31
ENGINEERINGBlog:Viva
QuestionsandAnswersinMPI
AvisitorfromBangalore,
lab1"4hrs39minsago
Karnatakaviewed"STUDY31
ENGINEERINGBlog:Viva
QuestionsandAnswersinMPI
AvisitorfromHyderabad,
lab1"19hrs34minsago
AndhraPradeshviewed
"STUDY31ENGINEERING
Blog:VivaQuestionsand
AnswersinMPIlab1"23hrs
AvisitorfromHyderabad,
15minsago
AndhraPradeshviewed
"STUDY31ENGINEERING
Blog:VivaQuestionsand
AnswersinMPIlab1"23hrs
AvisitorfromIndiaviewed
19minsago
"STUDY31ENGINEERING
Blog:VivaQuestionsand
AnswersinMPIlab1"23hrs
AvisitorfromIndiaviewed
24minsago
"STUDY31ENGINEERING
Blog:VivaQuestionsand
AnswersinMPIlab1"1day
AvisitorfromHerndon,
ago
Virginiaviewed"STUDY31
ENGINEERINGBlog:Viva
QuestionsandAnswersinMPI
AvisitorfromLondon,London,
lab1"1day8hoursago
Cityofviewed"STUDY31
ENGINEERINGBlog"1day12
hoursago
AvisitorfromHyderabad,
AndhraPradeshviewed
"STUDY31ENGINEERING
Blog:VivaQuestionsand
RealtimeviewGetFeedjit
2/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
<10>IntrasegmentIndirectMode:Inthismode,thedisplacementto
whichthecontrolistobetransferred,isinthesamesegmentinwhichthe
controltransferinstructionlies,butitispassedtotheinstruction
indirectly.
<11>IntersegmentDirect:Inthismode,theaddresstowhichthecontrol
istobetransferredisinadifferentsegment.
AboutMe
G.YugandharSrinivas
HYDERABAD,AndhraPradesh,India
IamG.YugandharSrinivas.Iam
B.Tech{CSE}.
Viewmycompleteprofile
<12>IntersegmentIndirect:Inthismode,theaddresstowhichthe
controlistobetransferredliesinadifferentsegmentanditispassedto
theinstructionindirectlysequentially.
3)WhataretheGeneralDataRegisters&theiruses?
A:TheRegistersAX,BX,CX,DXarethegeneralPurpose16bit
registers.AXregisteras16bitaccumulator.BXregisterisusedasan
offsetStorage.CXregisterisusedasdefaultorimpliedcounter.DX
registerisusedasanimplicitoperandordestinationincaseofafew
instructions.
StatCounter
SlideShare
UploadsBy
Me
Rupeemail
4)WhatareSegmentRegisters&theiruses?
A:Thereare4SegmentRegistersCodeSegment(CS),DataSegment
(DS),ExtraSegment(ES)&StackSegment(SS)registers.CSisused
foraddressingmemorylocationincode.DSisusedtopointsthedata.
ESreferstoasegmentwhichisessentiallyinanotherdatasegment.SS
isusedforaddressingstacksegmentofmemory.
5)WhatareFlagregisters?
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
3/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
A:Dividedinto2parts:Conditioncodeorstatusflagsandmachine
controlflags.
SSignFlag:Istosetwhentheresultofanycomputationis
negative.
ZZeroFlag:Istosetiftheresultofthecomputationor
comparisionperformedbythepreviousinstructioniszero.
CCarryFlag:IssetwhenthereiscarryoutofMSBincaseof
additionoraborrowincaseofsubtraction.
TTrapFlag:Isset,theprocessorentersthesinglestepexecution
mode.
IInterruptFlag:Isset,themaskableinterruptsarerecognizedby
theCPU.
DDirectionFlag:IssetforAutoincrementingorAuto
decrementingmodeinstringmanipulationinstructions.
ACAuxiliaryCarryFlag:Issetifthereisacarryfromthelowest
nibbleduringadditionorborrowforthelowestnibble.
OOverflowFlag:Issetiftheresultofasignedoperationislarge
enoughtobeaccommodatedinadestinationregister.
VivaQuestionsandAnswersinMPInterfacinG{MicroProcessorI}Lab2
GetyourownWidget
BlogArchive
2010(1)
2009(8)
VivAQuestionSandAnswerSinMPAndILaB2
6)Whatdoesthe8086Architecturecontain?
A:Thecompletearchitectureof8086canbedividedinto2types:Bus
InterfaceUnit(BIU)&ExecutionUnit.
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
09/1309/20(1)
09/0609/13(1)
VivaQuestionsand
AnswersinMPIlab1
08/2308/30(1)
08/1608/23(5)
4/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
TheBIUcontainsthecircuitforphysicaladdresscalculationsanda
precodinginstructionbytequeue&itmakesthebussignalsavailablefor
externalinterfacingofthedevices.
TheEUcontainstheregistersetof8086exceptsegmentregisters
andIP.Ithasa16bitALU,abletoperformarithmeticandLogic
operations.
7)WhatareDataCopy/TransferInstructions?
A:Mov
Push
Pop
Xchg
In
Out
Xlat
Lea
Lds/Les
Lahf
Sahf
Pushf
Popf
TotalPageviews
2 7 1 2 0
99Counters
8)WhatareMachineControlInstructions?
A:Nop
Hlt
Wait
Lock
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
5/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
9)WhatareFlagManipulationInstructions?
A:Cld
Std
Cli
Sti
10)WhatareStringInstructions?
A:Rep
MovSB/MovSW
Cmps
Scas
Lods
Stos
VivaQuestionsandAnswersinMPAnDInterfacinG[MicroProcessorI]Lab3
VivAQuestionSandAnswerSinMPAnDILaB3
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
6/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
11)Whataredifferentpartsfor8086architecture?
A:Theanswerisin6th.
A:Thecompletearchitectureof8086canbedividedinto2types:Bus
InterfaceUnit(BIU)&ExecutionUnit.
TheBIUcontainsthecircuitforphysicaladdresscalculationsanda
precodinginstructionbytequeue&itmakesthebussignalsavailablefor
externalinterfacingofthedevices.
TheEUcontainstheregistersetof8086exceptsegmentregisters
andIP.Ithasa16bitALU,abletoperformarithmeticandLogic
operations.
VivaQuestionsandAnswersforMP+InterfacinGLab11{NEW}
VivAQuestionSandAnswerSforMP*InterfacinGLaB11{NEW}
1.WhatisanOpcode?
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
7/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
A:ThepartoftheinstructionthatspecifiestheoperationtobeperformediscalledtheOperation
codeorOpcode.
2.WhatisanOperand?
A:ThedataonwhichtheoperationistobeperformediscalledasanOperand.
3.ExplainthedifferencebetweenaJMPandCALLinstruction?
A:AJMPinstructionpermantelychangestheprogramcounter.
ACALLinstructionleavesinformationonthestacksothattheoriginalprogramexecution
sequencecanberesumed.
4.WhatismeantbyPolling?
A:PollingordevicePollingisaprocesswhichidenfiesthedevicethathasinterrupted
themicroprocessor.
5.WhatismeantbyInterrupt?
A:Interruptisanexternalsignalthatcausesamicroprocessortojumptoaspecificsubroutine.
6.WhatisanInstruction?
A:Aninstructionisabinarypatterneneteredthroughaninputdevicetocommand
themicroprocessortoperformthatspecificfunction.
7.WhatisMicrocontrollerandMicrocomputer?
A:Microcontrollerisadevicethatincludesmicroprocessor:memoryandI/Osignallinesona
singlechip,fabricatedusingVLSItechnology.
MicrocomputerisacomputerthatisdesignedusingmicroprocessorasitsCPU.Itincludes
microprocessor,memoryandI/O.
8.WhatisAssembler?
A:Theassemblertranslatestheassemblylanguageprogramtextwhichisgivenasinputtothe
assemblertotheirbinaryequivalentsknownasobjectcode.
Thetimerequiredtotranslatetheassemblycodetoobjectcodeiscalledaccesstime.The
assemblerchecksforsyntaxerrors&displaysthembeforegivingtheobjectcode.
9.DefineVariable?
A:AVariableisanidentifierthatisassociatedwiththefirstbyteofdataitem.
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
8/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
10.ExplainDup?
A:TheDUPdirectivecanbeusedtoinitializeseverallocation&toassignvaluestotheselocations.
11.DefinePipelining?
A:In8086,tospeeduptheexecutionprogram,theinstructionsfetchingandexecutionofinstructions
areoverlappedeachother.ThisisknownasPipelining.
12.WhatistheuseofHLDA?
A:HLDAistheacknowledgmentsignalforHOLD.ItindicateswhethertheHOLDsignalisreceivedor
not.
HOLDandHLDAareusedasthecontrolsignalsforDMAoperations.
13.Explainabout"LEA"?
A:LEA(LoadEffectiveAddress)isusedforinitializingaregisterwithanoffsetaddress.
AcommonuseforLEAistointializeanoffsetinBX,DIorSIforindexinganaddressin
memory.
AnequivalentoperationtoLEAisMOVwiththeOFFSEToperator,whichgeneratesslightly
shortermachinecode.
14.Differencebetween"Shift"and"Rotate".
A:ShiftandRotatecommandsareusedtoconvertanumbertoanotherformwheresomebitsare
shiftedorrotated.
Arotateinstructionisaclosedloopinstruction.Thatis,thedatamovedoutatoneendisputback
inattheotherend.
Theshiftinstructionlosesthedatathatismovedoutofthelastbitlocations.
Basicdifferencebetweenshiftandrotateisshiftcommandmakes"fallof"bitsattheendofthe
register.
Whererotatecommandmakes"wraparound"attheendoftheregister.
15.Explainabout.MODELSMALL?
A:.MODELdirective:Thissimplifiedsegmentdirectivecreatesdefaultsegmentsandtherequired
ASSUMEandGROUPstatements.
Itsformatis.MODELmemorymodel.Thefollowingarethememrymodels
Tiny:Codeanddatainonesegment,for.COMprograms.
Small:Codeinonesegment(<=64K),datainonesegment(<=64K).Itgenerates16bitoffset
addresses.
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
9/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
Medium:Anynumberofcodesegments,datainonesegment(<=64K).
Compact:Codeinonesegment(<=64K),anynumberofdatasegments.Itgenerates32bit
addresses,whichrequiremoretimeforexecution.
Large:Codeanddatabothinanynumberofsegments,noarray>64K.
Huge:Codeanddatabothinanynumberofsegments,arraysmaybe>64K.
Flat:Definesoneareaupto4gigabytesforbothcodeanddata.Itisunsegmented.The
programuses32bitaddressingandrunsunderWindowsinprotectedmode.
16.DifferencebetweenJMPandJNC?
A:JMPisUnconditionalBranch.
JNCisConditionalBranch.
17.ListtheStringManipulationCommands?
A:REP=Repeat.
MOVS=MoveByte/Word
CMPS=CompareByte/Word
SCAS=ScanByte/Word
LODS=Loadbyte/WdtoAL/AX
STOS=StorByte/WdfromAL/A
18.Whatarethe4Segments?
A:CodeSegmentRegister{CS}
DataSegmentRegister{DS}
ExtraSegmentRegister{ES}
StackSegmentRegister{SS}
19.Whatisthemainuseofreadypin?
A:READYisusedbythemicroprocessortocheckwhetheraperipheralisreadytoacceptor
transferdata.
AperipheralmaybeaLCDdisplayoranalogtodigitalconverteroranyother.
TheseperipheralsareconnectedtomicroprocessorusingtheREADYpin.
IfREADYishighthentheperipheryisreadyfordatatransfer.Ifnot
themicroprocessorwaitsuntilREADYgoeshigh.
20.ExplainaboutDirectionFlag?
A:Thisisusedbystringmanipulationinstructions.
Ifthisflagbitis0,thestringisprocessedbeginningfromthelowesttothehighest
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
10/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
address,i.e.,.Autoincrementmode.
Otherwise,thestringisprocessedfromthehighesttowardsthelowest
address,i.e.,.Autodecrementingmode.
MPUnit5
Interrupts
Interrupts
Def:Aninterruptoperationsuspendsexecutionofaprogramsothatthesystemcantakespecial
action.Theinterruptroutineexecutesandnormallyreturnscontroltotheinterruptedprocedure,
whichthenresumesexecution.BIOShandlesInt00H1FH,whereasDOShandlesINT20H3FH.
HereistheVivaquestionsandanswersformplab.Nearly277questionsandanswersareposted.
ChecktheWebsitewww.study31engg.blogspot.comThoroughly.
Todownloadthemoreandabove32VivaquestionsandanswersofMPsubject.
Clickthebelowdownloadlinksdependingonyourconnectionspeed.
http://www.ziddu.com/download/8260259/NewTextDocument5.txt.html
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
11/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
http://www.ziddu.com/download/17155375/NewMicrosoftWordDocument.doc.html
http://www.4shared.com/document/JWZOPGl9/New_Microsoft_Word_Document.ht
ml
http://www.scribd.com/fullscreen/71583229?access_key=key2c5v9lddo17rmx4ib1pz
http://www.mediafire.com/?7v1cm4bn65k7qg1
DysgB,6786
PostedbyG.YugandharSrinivasat8:26PM
Reactions:
funny (0)
interesting (0)
cool (0)
crazy (0)
31comments:
Anonymous November5,2009at10:38AM
thanku
Reply
kavya May23,2010at10:07AM
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
12/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
thankuverymuch
Reply
santosh July21,2010at3:40AM
send more questions about the micro processor architecture and thank u for sending this
questions
Reply
Anonymous August6,2010at3:23AM
thankusomuch
Reply
a August17,2010at4:15AM
thanku
Reply
swetha October5,2010at6:58AM
thanq..
Reply
Anonymous October17,2010at8:53AM
notbad...
Reply
Anonymous October20,2010at3:28AM
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
13/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
thanku
Reply
Anonymous October21,2010at10:55PM
nice...
thanq...
butsomemorequestionswouldhelp
Reply
dimpu October27,2010at12:39AM
nice
Reply
Anonymous October30,2010at8:24AM
thanxalot.....
Reply
Anonymous October30,2010at8:27AM
sushsaid....
nice
Reply
padmarao November8,2010at5:42AM
itsnice
butweneedsomemorequestions
Reply
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
14/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
sravani November8,2010at5:34PM
thesearegoodbutifuprovidesomemorequestionsitmayusefultostudents
Reply
sarita May31,2011at9:06AM
thanku....buttrytogivemorequestions...
Reply
Anonymous September19,2011at7:28PM
thankyewh:)
Reply
Anonymous October10,2011at6:44AM
than"Q"
Reply
Anonymous October17,2011at1:56AM
ithmanoharamayitund
Reply
bujjiraji October27,2011at12:24AM
thanQsir
Reply
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
15/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
Anonymous November27,2011at11:05AM
thaqverymuch
Reply
pravallika December6,2011at9:01AM
thanqqqqqqq
Reply
sethuram007 March25,2012at11:37AM
it was really awesome.....instead to refer whole the bulky text book.......I can get instant
knowledgeonthego......thanksforyourgreateffort.....
Reply
varsha April7,2012at8:22AM
itsgoooooooooodanswersthanks
Reply
lucky May7,2012at10:39AM
thnxalot....ndplzprovidesummorequestion....:)
Reply
AJEET May9,2012at3:16PM
thx...........
Reply
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
16/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
Anonymous May24,2012at8:02AM
thanksalot
Reply
Anonymous October15,2012at7:00AM
veryhelpfulgood.....thanks
Reply
PrathibhaA May25,2013at4:05AM
thankusir
Reply
AnkitaGavali October14,2013at4:45AM
thequestionsweresosimpleandobvious:/
Reply
dhiru October21,2013at9:03AM
tysomuch!
Reply
nanidapuri November16,2014at9:13AM
thanku
Reply
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
17/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
Enteryourcomment...
Commentas:
Publish
(ShankargoudaBIradar)(Google)
Signout
Notifyme
Preview
Linkstothispost
CreateaLink
NewerPost
Home
OlderPost
Subscribeto:PostComments(Atom)
HotNews
Google
WiredGoogleWillMakeHealthSearchesLessScaryWithFactCheckedResults
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
poweredby
18/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
SearchThisBlog
Search
currencyconverter
bbclearningenglish
Scribd
10
From
ArgentinePeso(ARS)
Viewmyprofileon
To
Vietnamesedong(VND)
Convert
PoweredbyCurrencyConverter.com
CurrencyConverter.com
Weather
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
19/20
2/11/2015
STUDY31ENGINEERINGBlog:VivaQuestionsandAnswersinMPIlab1
Hyderabad,India
26C
Sunny
FeelsLike:26C
Humidity:39%
Wind:ESE13km/h
Hourbyhour|10day
EntercityorU.S.zip
@weather.com
CheckFlightDelays
DestinationWeather
WinterGamesCountdown
AwesomeInc.template.PoweredbyBlogger.
http://study31engg.blogspot.in/2009/09/vivaquestionsandanswersinmplab1.html
20/20