资源描述:
《(已修改)单片机试题6~8(答案仅作参考)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、1.FortherevisedtitleExaminationquestions6Achoicerate,eachof1pointsin10pointstotalexergy1,theso-calledCPUreferstotherateofAexergyA,arithmeticandcontroller,B,arithmeticandmemory,C,inputandoutputdevice,D,controllerandmemoryAddressingaccesstoexternaldatamemory2,therate
2、isCexergyA,immediateaddressing,B,registeraddressing,C,registerindirectaddressing,D,directaddressing3,theprincipleofstackdataimportandexergyrateBA,firstinfirstoutB,advancedafterC,backwardafterD,cannotgetinTheuseofCPUin4,isthefirstbootaftertheresetregistergroupinthea
3、ddressrangeisBexergyrateA,00H-10H,B,00H-07H,C,10H-1FH,D,08H-0FH5,timer/counterworkin1wayswhenthecounterisinseveralrateBexergyA,8bitB,16bitC,14bitD,13bit5,ifamemorychipaddresslineis12,soithasastoragecapacityofexergyrateCA,1KB,B,2KB,C,4KB,D,8KB6,controloftheserialpor
4、tmoderegisterrateisCexergyA,TCON,B,PCON,C,SCON,D,TMOD7,whentheAT89S51externalmemory32KBwillneedtousetheEPROM2764CexergyrateA,2piecesofB,3piecesofC,4piecesofD,5pieces8,therateof28H=46HknownR0=28HexergyMOVAin#32HMOVAin45HMOVAin@R0ResultsoftheimplementationofAisAexerg
5、yrateA,46H,B,28H,C,45H,D,32H9,theprogramrunningresultsforBexergyrateMOV2FHin#30HMOV30Hin#40HMOVROin#30HThe2MOVA#20HSETBCTheADDCA@RODECROMOV,@RO,AA2FHin=30H30H,exergyexergyin=40HB2FHin=61H30H,exergyexergyandexergyin=40HC2FHin=60H30H=60HD,exergyexergyin2FHin=30H30H=6
6、0HinexergyTwo,fillinexergyeach1pointstotalof20pointsinthe1,AT89S51has111instructionsinexergy.2,theoscillatorfrequencyis6MHzwithinamachinecycleis2muSinexergy.3,51SCMisthecentralprocessorinmemory,theexergyexergyintimer/counter,Exergyinthesystemclockinterruptsystem,ex
7、ergyexergyinthesystembusandI/OinterfacecircuitinAmicrocomputerwhosemaincomputercomponentsareintegratedintoanintegratedcircuitchip・1,whenthevalueofPOisresetinexergyFFH.2,whenPSW.4二0PSW.3二1,thecurrentworkoftheregisterofRnworkingintheareain1exergy.3,inthecaseofR7二OOH*
8、DJNZR7*relinstructionwillexecutecycle256timesinexergy.4,tomakethelow4Plportoutput0ofthehigh4bitsshouldexecuteaconstant〃ANLPlthe#OFOHinstructionin