100% found this document useful (1 vote)
310 views13 pages

GATE Microprocessor Questions & Solutions

The document discusses previous GATE questions on microprocessors and memory mapping from 1987-2014. It provides questions from various years along with links to video solutions. Some of the questions ask about memory addressing, interrupts, instruction execution times, and memory mapping configurations for microprocessors like the 8085. The document is a resource for practicing previous GATE exam questions related to microprocessors and computer architecture topics.

Uploaded by

DHRUV CHAUHAN
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
310 views13 pages

GATE Microprocessor Questions & Solutions

The document discusses previous GATE questions on microprocessors and memory mapping from 1987-2014. It provides questions from various years along with links to video solutions. Some of the questions ask about memory addressing, interrupts, instruction execution times, and memory mapping configurations for microprocessors like the 8085. The document is a resource for practicing previous GATE exam questions related to microprocessors and computer architecture topics.

Uploaded by

DHRUV CHAUHAN
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)
5

Home

GATE

More NextBlog

GATE2014Keys

CreateBlog

YearwiseGATEQuestions

TopicwiseGATEQuestions

PracticeProblems

GATEExamNotes

DownloadAndroidAPPforFREE

Saturday,November15,2014

PreviousGATEQuestionsonMicroprocessorsand
MemoryMappingwithSolutions(19872014)

Download
AppforFREE

1991
1.Theprogramgivenbelowisrunonan8085basedmicrocomputersystem.
Determinethecontentsoftheregisters:PC,SP,B,C,H,Lafterahaltinstructionis
executed.

[Link]
3,338likes

5
LikePage

Share
DownloadAndroid
APPforFREE

Bethefirstofyourfriendstolikethis

1992
1.Inan8085microprocessorsystemwithmemorymappedI/O,
a.I/Odeviceshave16bitaddresses
b.I/OdevicesareaccessedusingINandOUTinstructions
c.Therecanbeamaximumof256inputdevicesand256outputdevices
[Link]/O
data.

Adsense

2.Thefollowingprogramisrunon8085microprocessor:

GATE paper
[Link]/+GATEpaperIn
Solutions to GATE Previous Papers &
Conceptual GATE Video Lectures

Follow
262 followers

Atthecompletionoftheexecutionoftheprogram,theprogramcounterofthe8085
contains_____________andthestackpointercontains_______________.

BlogArchive

2015(34)
2014(143)

3.Figureshowsthememorycircuitof8085microprocessor.

[Link]

1/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

December(14)
November(12)
GATEAnalogCircuitsFiveMarkQuestionswith
Solu...
PreviousGATEQuestionsonAnalogtoDigital&
Dig...
PreviousGATEQuestionsonMicroprocessors
andMem...
GATEPreviousQuestionsonMemories(ROM,
PLAandP...
GATEPreviousQuestionsonAsynchronous&
Synchron...
GATEPreviousQuestionsonLatches&Flip
Flops...
PreviousGATEQuestionsonICLogicFamilies
with...
PreviousGATEQuestionsonMultiplexers
(MUX)with...
PreviousGATEQuestionsonCombinational
Circuits...
PreviousGATEQuestionsonKMap,SOPand
POSexpr...
PreviousGATEQuestionsonLogicGates(1987
toTi...
PreviousGATEQuestionsonNumberSystems&
Subtra...
October(20)

[Link]?
b.Whatarethebeginningandendingaddressesofthememoryinchip1?
c.Whatarethebeginningandendingaddressesofthememoryinchip2?
[Link]?
e.HowwillyoureplacethetwoNANDgatesIthecircuitwithone3to8
decoderwithoutchangingthememorysizeorthememoryaddresses?
AssumethatthedecoderhasoneactivehighenableE1andoneactivelow
enableE2.

September(7)
August(8)

Solution:[Link]

July(5)
June(6)
May(20)
April(27)

1993

March(24)

[Link],waitstatesareusedto
[Link]
[Link]
[Link]
[Link]

[Link][A4A0]andeightdatalines[D7
D0].AninputdeviceA,anoutputdeviceB,aROMandaRAMarememory
[Link]
havefouraddressableregisterseach/RAMhas8bytesandROMhas16bytes.

[Link].
[Link](CS)
functionofeachdevice/memory.
Solution:[Link]

1995
[Link],it
[Link]
[Link]
[Link]
[Link]
interruptdevice
[Link]

2/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

[Link]
[Link]
[Link]/Odeviceswithoutuseof
P
[Link]
[Link]/Odevices

[Link]
[Link]
[Link]
[Link]
[Link]

[Link],aparalleldatabus,aRDandWR
activeLOWsignals.TwoROMsofsize4KwordseachandtwoRAMsofsizes
16Kand8Kwords,respectively,[Link]
tobesoconnectedthattheyfilltheaddressspaceoftheCUasperthememorymap
[Link].

[Link]?
[Link],Y,ZandWasdecimalnumbers.
c.Usinga2to4decoderandsomeadditionalgates,drawacircuitforthe
decodinglogic.
Solution:[Link]

1996
[Link](inclusiveoftheopcodefetch),
whenan8085processorexecutestheinstructionLDA2003is
a.1
b.2
c.3
d.4
Solution:

2.Thefollowingsequenceofinstructionsareexecutedbyan8085
microprocessor:
1000LXISP,27FFH
1003CALL1006
1006POPH
Thecontentsofthestackpointer(SP)andtheHLregisterpaironcompletionof
executionoftheseinstructionsare
[Link]=27FF,HL=1003
[Link]=27FD,HL=1003
[Link]=27FF,HL=1006
[Link]=27FD,HL=1006
Solution:

1997
1.In8085Psystem,theRSTinstructionwillcauseaninterrupt
[Link]
b.Onlyifabitintheinterruptmaskismade0
[Link]
[Link]
Solution:
[Link]

3/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

[Link],hasbeenusedtogeneratedtheactive
lowchipselectsignalforamicroprocessorperipheral(Theaddresslinesare
designatedasA0toA7forI/Oaddresses).

a.60H63H
b.A4A7H
c.3033H
d.7073H
Solution:[Link]

3.Thefollowinginstructionshavebeenexecutedbyan8085P
Forwhichaddresswillthenextinstructionbefetched?

a.6019
b.6379
c.6979
[Link]
Solution:

[Link]
[Link]

Solution:[Link]

[Link],whilemovingdatabetweenregistersofthe8085andthe
stack

Solution:

[Link]
followingdelaysubroutine,inclusiveofthecallinstructioninthecallingprogram.

[Link]

4/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

YouaregiventhataCALLinstructiontakes18cyclesofthesystemclock,
PUSHrequires12cyclesandconditionaljumptakes10cyclesifthejumpistaken
[Link](3n+1)clockcycles,
wherenisthenumberofaccessestothememory,inclusiveoftheopcodefetch.
Solution:

1998
[Link]/Oprocessorcontroltheflowofinformationbetween
[Link]/Odevices
[Link]/Odevices
[Link]/Odevices
[Link]
Solution:[Link]

[Link]
[Link]
[Link]
[Link]
[Link]
Solution:[Link]

[Link],withoutusinganyarithmetic
instruction,tostorehexadecimal5Dintheflagregisterof8085microprocessor.
Datainotherregistersoftheprocessormustnotalteruponexecutingthisprogram.
Solution:

1999
[Link]=A15A14A13isusedasthechipselectlogicofa4KRAMinan8085
system,thenitsmemoryrangewillbe
a.30003FFFFH
b.70007FFFH
c.50005FFFHand60006FFFH
d.60006FFFHand70007FFFH
Solution:[Link]

2.An8085assemblylanguageprogramisgivenbelow.

[Link]

5/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

Solution:

2000
1.Inthe8085microprocessor,theRST6instructiontransferstheprogram
executiontothefollowinglocation
a.30H
b.24H
c.48H
d.60H

Solution:[Link]

[Link](whichrequireanexternalsignalto
interrupt)presentinan8085microprocessorare
a.1
b.4
c.5
d.13
Solution:[Link]

[Link](B)andAccumulator(A)of8085microprocessorare
[Link](CY)and
signflag(S)afterexecutingSUBBinstructionare
a.A=F1,CY=1,S=1
b.A=0F,CY=1,S=1
c.A=F0,CY=0,S=0
d.A=1F,CY=1,S=1
Solution:[Link]

4.Theprogramandmachinecodeforan8085microprocessoraregivenby
[Link]
executedfrom8000H?

Solution:

2001
1.An8085microprocessorbasedsystemusesa4Kx8bitRAMwhosestarting
[Link]
a.0FFFH
b.1000H
c.B9FFH
d.BA00H
[Link]

6/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

Solution:[Link]

2.Considerthefollowingsequenceofinstructionsforan8085microprocessor
basedsystem.

a.IftheprogramexecutionbeginsatthelocationFF00H,writedownthe
sequenceofinstructionswhichareactuallyexecutedtillaHLTinstruction.
AssumeallFlagsareinitiallyRESET.
[Link](PORT1,PORT2andPORT3)willbeloaded
withdata,andwhatisthebitpatternofthedata?
Solution:

2002
[Link].
MVIB,87H
MOVA,B
START:JMPNEXT
MVIB,00H
XRAB
OUTPORT1
HLT
NEXT:XRAB
JPSTART
OUTPORT2
HLT
Theexecutionoftheaboveprograminan8085microprocessorwillresultin
a.Anoutputof87HatPORT1
b.Anoutputof87HatPORT2
[Link]
remainingat00H
[Link]
alternatingbetween00Hand87H
Solution:[Link]

2.An8085microprocessoroperatingat5MHzclockfrequencyexecutesthe
followingroutine.
START:MOVA,B
OUT55H
DCRB
STAFFF8H
JNPSTART
[Link]
routinetilltheJMPinstructionisexecutedforthefirsttime.
[Link](MEMW)signals.
[Link]
areintroducedintheI/OWRITEmachinecycle,determinethetimeinterval
betweentwoconsecutive(MEMW)signals.
Solution:

2003
1.Inan8085microprocessor,theinstructionCMPBhasbeenexecutedwhilethe
[Link]

7/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

[Link],
[Link]
[Link]
[Link]
[Link]
Solution:[Link]

2004
1.The8255programmableperipheralinterfaceisusedasdescribedbelow.
(i)AnA/Dconverterisinterfacedtoamicroprocessorthroughan8255.
[Link].
AsignalonportCcausesdatatobestrobedintoportA.
(ii)[Link]
asabidirectionaldataportsupportedbyappropriatehandshakingsignals.
Theappropriatemodesofoperationofthe8255for(i)and(ii)wouldbe
a.Mode0for(i)andMode1for(ii)
b.Mode1for(i)andMode0for(ii)
c.Mode2for(i)andMode0for(ii)
d.Mode2for(i)andMode1for(ii)
Solution:

2.Thenumberofmemorycyclesrequiredtoexecutethefollowing8085
instructions
(i)LDA3000H
(ii)LXID,F0F1H
Wouldbe
a.2for(i)and2for(ii)
b.4for(i)and3for(ii)
c.3for(i)and3for(ii)
d.3for(i)and4for(ii)
Solution:

3.Considerthesequenceof8085instructionsgivenbelow.
LXIH,9258H
MOVA,M
CMA
MOVM,A
Whichoneofthefollowingisperformedbythissequenceofinstructions?
a.Contentsoflocation9258aremovedtotheaccumulator
b.Contentsoflocation9258arecomparedwiththecontentsofthe
accumulator
c.Contentsoflocation9258arecomplementedandstoredinlocation9258
d.Contentsoflocation5892arecomplementedandstoredinlocation5892.
Solution:[Link]

4.Itisdesiredtomultiplythenumbers0AHby0BHandstoretheresultinthe
[Link]
the8085programforthispurposeisgivenbelow:
MVIA,00H
LOOP:..............
..............
..............
HLT
END
Thesequenceofinstructionstocompletetheprogramwouldbe
[Link],ADDB,DCRC
[Link],JNZLOOP,DCRC
[Link],JNZLOOP,ADDB
[Link],DCRC,JNZLOOP
Solution:[Link]

2005
StatementforlinkedAnswerQuestions1&2:
Consideran8085microprocessorsystem.
1.Thefollowingprogramstartsatlocation0100H.
LXISP,00FF
LXIH,0701
MVIA,20H
SUBM
THEContentsofaccumulatorwhentheprogramcounterreaches0109His
[Link]

8/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

a.20H
b.02H
c.00H
[Link]
[Link],followingcodeexistsfrom0109Honwards.
ORI40H
ADDM
Whatwillbetheresultintheaccumulatorafterexecutingthelastinstruction?
a.40H
b.20H
c.60H
d.42H
Solution(1&2):

2006
[Link]/Operipheraldeviceshownnfigure(b)belowistobeinterfacedtoan8085
[Link]/OdeviceintheaddressrangeD4HD7H,itschip
select(CS)shouldbeconnectedtotheoutputofthedecodershowninthefigure(a)
below:

a.Output7
b.Output5
c.Output2
d.Output0
Solution:[Link]

2.Followingisthesegmentofa8085assemblylanguageprogram
LXISP,EFFFH
CALL3000H
:
:
3000H:LXIH,3CF4H
PUSHPSW
SPHL
POPPSW
RET
OnthecompletionofRETinstruction,thecontentsofSPis
a.3CF0H
b.3CF8H
[Link]
[Link]
Solution:

2007
1.An8255chipisinterfacedtoan8085microprocessorsystemasanI/Omapped
I/Oasshowninthefigure.TheaddresslinesA0andA1ofthe8085areusedbythe
[Link]
linesA0toA7aswellastheIO/[Link]
ofaddresseesforwhichthe8255chipwouldgetselectedis

[Link]

9/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

a.F8HFBH
b.F8HFCH
c.F8HFFH
d.F0HF7H

Solution:[Link]

Statementforthelinkedanswerquestions2&3:
An8085assemblylanguageprogramisgivenbelow.
Line1MVIA,B5H
2MVIB,0EH
3XRI69H
4ADDB
5ANI9BH
6CPI9FH
7STA3010H
8HLT
[Link]
line4willbe
a.C3H
[Link]
[Link]
d.69H
3.Afterexecutionofline7oftheprogram,thestatusoftheCYandZflagswillbe
..respectively.
a.0,0
b.0,1
c.1,0
d.1,1
Solution(2&3):[Link]

2008
1.An8085executesthefollowinginstructions
2710LXIH,30A0H
2713DADH
2714PCHL
[Link]
programcounterandHLbethecontentsofHLregisterpairjustafterexecuting
PCHL.
Whichofthefollowingstatementsiscorrect?
[Link]=2715HandHL=30A0H
[Link]=30A0HandHL=2715H
[Link]=6140HandHL=6140H
[Link]=6140HandHL=2715H
Solution:[Link]

2009
[Link],theserviceroutineforacertaininterruptstartsfromafixed
locationofmemorywhichcannotbeexternallyset,buttheinterruptcanbedelayed
[Link]
[Link]
[Link]
[Link]
[Link]
Solution:[Link]

[Link]

10/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

2010
1.Forthe8085assemblylanguageprogramgivenbelow,thecontentofthe
accumulatoraftertheexecutionoftheprogramis
3000MVIA,45H
3002MOVB,A
3003STC
3004CMC
3005RAR
3006XRAB
a.00H
b.45H
c.67H
d.E7H
Solution:[Link]

2011
[Link]
[Link]
is
MVIA,07H
RLC
MOVB,A
RLC
RLC
ADDB
RRC
a.8CH
b.64H
c.23H
d.15H
Solution:[Link]

2013
1.For8085microprocessor,thefollowingprogramisexecuted.
MVIA,05H
MVIB,05H
PTR:ADDB
DCRB
JNZPTR
ADI03H
HLT
Attheendoftheprogram,accumulatorcontains
a.17H
b.20H
c.23H
d.05H
Solution:[Link]

2014
1.Forthe8085microprocessor,theinterfacingcircuittoinput8bitdigitaldata
(DI0DI7)[Link]
datatransferis

[Link]

11/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

[Link],F8H
b.INF8H
c.OUTF8H
d.LDAF8F8H
Solution:[Link]

2.An8085microprocessorexecutesSTA1234Hwithstartingaddresslocation
1FFEH(STAcopiesthecontentsoftheaccumulatortothe16bitaddresslocation).
Whiletheinstructionisfetchedandexecuted,thesequenceofvalueswrittenatthe
addresspinsA15A8is

Solution:[Link]

PostedbyGATEpaperat13:23

+5 Recommend this on Google


Labels:GATEQuestions,Microprocessors

[Link]

12/13

1/14/2016

[Link]:PreviousGATEQuestionsonMicroprocessorsandMemoryMappingwithSolutions(19872014)

3 comments

Add a comment as Dhruv Chauhan

Top comments

Raj Sekhar 9 months ago - Shared publicly


sir y u r not uploading other subjects
1 Reply

arun singh mehra 2 weeks ago - Shared publicly

thanks
sir this is helpful for a better approach towards the problems in gate
sir please could you upload some videos of problems on microprocessor from
electrical branc
1 Reply

Supreet Singh 9 months ago - Shared publicly


Some links are not there for the solutions...
+1
2

1 Reply

NewerPost

Home

OlderPost

Subscribeto:PostComments(Atom)

[Link].

[Link]

13/13

You might also like