资源描述:
《嵌入式开发面试题(embedded development interview questions )》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、嵌入式开发面试题2(Embeddeddevelopmentinterviewquestions2)(41)A.SPfirstdecreased,thenintothedataB.firstpressdata,afurtherreductionofSPC.SPfirst,thenintothedataD.firstpressdata,SPplus:checkthebasicsofthe8086stack.Personallyfeelthatthestackisthebasisofembeddedthings,natureis
2、thefocusoftheexamination,thefuturemaybemoretestingSCMARMstructure.8086processorsareusingfulldecrementstack.Whenyouenterthestack,youfirstsubtracttheaddressandthengetthedata;whenyoustackthedatafirst,thensubtracttheaddress.PUSHSRL:firstmovethetoppointerSPofthestacktotwobits,that
3、is,SP-2,pointtoanewwordstoragecell,andthenstoretheoperandintothewordstorageunitreferredtobytheSP.POPDST:sendsthecurrentstacktoppointerSPtothewordcellcontenttoDST,thenmovesSPdowntwobits,SP-2.Reference:A.-ifaregisterofafewclearinstructionsavailable__(42)__treatment.Today,myboss
4、askedmetogivemesomeinterviewquestionsabouttheinterviewinanembeddedway,mainlyforfurtherunderstandingofhistechnicaldepth.I'vegonethroughthefollowingquestions,andeachoneexaminestheskillsthatanembeddedprogrammershouldhave.Ofcourse,thesearejustmypersonalunderstanding,notnecessaril
5、ycorrect.Heretosharewithyou,buthopethatfriendscangetalittleinspiration:howtoseizeeveryopportunitytoshowyourdifference?Thesametechnicalproblem,manypeoplemayhavetobeabletoanswer,butsomepeoplejustknowbutnotknowingwhyitissonatural.Asamatteroffact,interviewersusuallyhideapointofvi
6、ewbehindeveryquestion.Ifwecanseetheessencebehindthequestion,wecantakeadvantageofitwhenweanswerthequestion.Ibelievethedifferencebetween90and100willcomeout.Whichinterviewerdoesnotlikeanemployeewholikestothinkandseethroughthephenomenon?Nowlet'stakealookatwhatliesbehindtheCinterv
7、iew.Thefollowingisonlysomepersonalideas,welcometodiscuss,Paizhuan~~Tap////////////////////////////1,int,a=2,b=11,c=a+b++/a++;whatistheCvalue?Codespecification[testpoint].Onthesurface,examineyourgraspofoperatorprecedence,butinfact,priorityishardtomemorizeIseverybody'sdoubttheo
8、rderofcombinationsofoperators?Sohowtoavoidit?C=a+((b++)/(a++))isnoto