精编OA自动化电气自动化专业毕业设计英文翻译.docx

上传人:b****6 文档编号:3382820 上传时间:2022-11-22 格式:DOCX 页数:18 大小:54.03KB
下载 相关 举报
精编OA自动化电气自动化专业毕业设计英文翻译.docx_第1页
第1页 / 共18页
精编OA自动化电气自动化专业毕业设计英文翻译.docx_第2页
第2页 / 共18页
精编OA自动化电气自动化专业毕业设计英文翻译.docx_第3页
第3页 / 共18页
精编OA自动化电气自动化专业毕业设计英文翻译.docx_第4页
第4页 / 共18页
精编OA自动化电气自动化专业毕业设计英文翻译.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

精编OA自动化电气自动化专业毕业设计英文翻译.docx

《精编OA自动化电气自动化专业毕业设计英文翻译.docx》由会员分享,可在线阅读,更多相关《精编OA自动化电气自动化专业毕业设计英文翻译.docx(18页珍藏版)》请在冰豆网上搜索。

精编OA自动化电气自动化专业毕业设计英文翻译.docx

精编OA自动化电气自动化专业毕业设计英文翻译

【OA自动化】电气自动化专业毕业设计英文翻译

 

xxxx年xx月xx日

xxxxxxxx集团企业有限公司

Pleaseenteryourcompany'snameandcontentv

Computercontroltechnology

1Computerstructureandfunction

Thissectionintroducestheinternalarchitectureofacomputeranddescribeshowinstructionsarestoredandinterpretedandexplainshowtheinstructionexecutioncycleisbrokendownintoitsvariouscomponents.

Atthemostbasiclevel,acomputersimplyexecutesbinary-codedresults.Forageneral-purposeprogrammablecomputer,fournecessaryelementsarethememory,centralprocessingunit(CPU,orsimplyprocessor),anexternalprocessorbus,andaninput/outputsystemasindicatedinFig.3-1A-1.

Fig.3-1A-1Basicelementsofacomputer

Thememorystoresinstructionsanddata.

TheCPUreadsandinterpretstheinstructions,readsthedatarequiredbyeachinstruction,executestheactionrequiredbytheinstruction,andstorestheresultsbackinmemory.OneoftheactionsthatisrequiredoftheCPUistoreaddatafromorwritedatatoanexternaldevice.Thisiscarriedoutusingtheinput/outputsystem.

Theexternalprocessorbusisasetofelectricconductorsthatcarriesdata,addressandcontrolinformationbetweentheothercomputerelements.

1-1Thememory

Thememoryofacomputerconsistsofasetofsequentiallynumberedlocations.Eachlocationisaregisterinwhichbinaryinformationcanbestored.The“number”ofalocationiscalleditsaddress.Thelowestaddressis0.Themanufacturerdefinesawordlengthfortheprocessorthatisanintegralnumberoflocationslong.Ineachwordthebitscanrepresenteitherdataorinstructions.FortheIntel8086/87andMotorolaMC6800microprocessors,awordis16bitslong,buteachmemorylocationhasonly8bitsandthustwo8-bitlocationsmustbeaccessedtoobtaineachdataword.

Inordertousethecontentsofmemory,theprocessormustfetchthecontentsoftherightlocation.Tocarryoutafetch,theprocessorplaces(enables)thebinary-codedaddressofthedesiredlocationontotheaddresslinesoftheexternalprocessorbus.Thememorythenallowsthecontentsoftheaddressedmemorylocationtobereadbytheprocessor.Theprocessoffetchingthecontentsofamemorylocationdoesnotalterthecontentsofthatlocation.

InstructionsinmemoryInstructionsstoredinmemoryarefetchedbytheCPUandunlessprogrambranchesoccur,theyareexecutedinthesequencetheyappearinmemory.Aninstructionwrittenasabinarypatterniscalledamachine-languageinstruction.OnewaytoachievemeaningfulpatternsistodivideupthebitsintofieldsasindicatedinFig.3-1A-2,witheachfieldcontainingacodeforadifferenttypeofinformation.

Fig.3-1A-2Arrangementofprogramanddatainmemory

Eachinstructioninoursimplecomputercanbedividedupintofourfieldsof4bitseach.Eachinstructioncancontainoperationcode(oropcode,eachinstructionhasauniqueopcode),operandaddress,immediateoperands,branchaddress.

Inarealinstructionsettherearemanymoreinstructions.Thereisalsoamuchlargenumberofmemorylocationsinwhichtostoreinstructionsanddata.Inordertoincreasethenumberofmemorylocations,theaddressfieldsandhencetheinstructionsmustbelongerthan16bitsifweusethesameapproach.Thereareanumberofwaystoincreasetheaddressingrangeofthemicroprocessorwithoutincreasingtheinstructionlength:

variableinstructionfield,multiwordinstructions,multipleaddressingmodes,variableinstructionlength.Wewillnotdiscussthemindetail.

Datainmemorydataisinformationthatisrepresentedinmemoryasacode.Forefficientuseofthememoryspaceandprocessingtime,mostcomputersprovidethecapabilityofmanipulatingdataofdifferentlengthsandrepresentationsinmemory.Thevariousdifferentrepresentationsrecognizedbytheprocessorarecalleditsdatatypes.Thedatatypesnormallyusedare:

bit,binary-codeddecimaldigit(4-bitnibble,BCD),byte(8bits),word(2bytes),doubleword(4bytes).

Someprocessorsprovideinstructionsthatmanipulateotherdatatypessuchassingle-precisionfloating-pointdatatypes(32bits)anddouble-precisionfloating-pointdatatypes(64bits).Thereisanothertypeofdata—characterdata.Itisalsousuallyrepresentedin8bits.Eachcomputerterminalkeyandkeycombination(suchasshiftandcontrolfunctions)onastandardterminalkeyboardhasa7-bitscodedefinedbytheAmericanStandardCodeforInformationInterchange(ASCII).

TypeofmemoryIntheapplicationsofdigitalcontrolsystem,wealsoconcernedwiththecharacteristicsofdifferentmemorytechniques.Forprimarymemory,weneedittobestoredinformationtemporarilyandtobewrittenandgotinformationfromsuccessiveorfromwidelydifferentlocations.Thistypememoryiscalledrandom-accessmemory(RAM).Insomecasewedonotwanttheinformationinmemorytobelost.Sowearewillingtousespecialtechniquestowriteintomemory.Ifwritingisaccomplishedonlyoncebyphysicallychangingconnections,thememoryiscalledaread-onlymemory(ROM).Iftheinterconnectionpatterncanbeprogrammedtobeset,thememoryiscalledaprogrammableread-onlymemory(PROM).Ifrewritingcanbeaccomplishedwhenitisnecessary,wehaveanerasableprogrammableread-onlymemory(EPROM).AnelectronicallyerasablePROMisabbreviatedEEPROM.

1-2TheCPU

TheCPU’sjobistofetchinstructionsfrommemoryandexecutetheseinstructions.ThestructureoftheCPUisshowninFig.3-1A-3.Ithasfourmaincomponents:

anarithmeticandlogicalunit(ALU),asetofregisters,aninternalprocessorbusandcontroller.

Fig.3-1A-3Centralprocessingunit(CPU)

TheseandothercomponentsoftheCPUandtheirparticipationintheinstructioncyclearedescribedinthefollowingsections.

ArithmeticandLogicalUnit(ALU)TheALUprovidesawidearithmeticoperations,includingadd,subtract,multiply,anddivide.ItcanalsoperformBooleanlogicoperationssuchasAND,OR,andCOMPLEMENTonbinarydata.Otheroperations,suchaswordcompares,arealsoavailable.ThemajorityofcomputertasksinvolvetheALU,butagreatamountofdatamovementisrequiredinordertomakeuseoftheALUinstructions.

RegistersAsetofregistersinsidetheCPUinusedtostoreinformation.

InstructionregisterWhenaninstructionisfetched,itiscopiedintotheinstructionregister,whereitisdecoded.Decodingmeansthattheoperationcodeisexaminedandusedtodeterminethestepsoftheexecutionsequence.

Programmer’smodeloftheCPUThecollectionofregistersthatcanbeexaminedormodifiedbyaprogrammeriscalledtheprogrammer’smodeloftheCPU.Theonlyregistersthatcanbemanipulatedbytheinstructionset,orarevisiblyaffectedbyhardwareinputsortheresultsofoperationsupondata,aretheregistersrepresentedinthemodel.

FlagregisterTheexecutionsequenceisdeterminednotonlybytheinstructionbutalsobytheresultsofthepreviousinstructions.Forexample,ifanadditioniscarriedoutintheALU,dataontheresultoftheaddition(whethertheresultispositive,negative,orzero,forexample)isstoredinwhatisknownasaflagregister,statusregister,orconditionregister.Ifthenextinstructionisaconditionalbranchinstruction,theflagwordistestedinthatinstructiontodetermineifabranchifabranchisrequired.

Programcounter(instructionpointer)Theaddressofthenextinstructionislocatedinaregistercalledtheprogramcounter.

DataregistersWhenaninstructionusestheregisterstostoredata,thereferencetotheregisterintheinstructioniscalledregisteraddressing.Thereasonsofmakinguseoftheinternalregisterstostoredataarethattheycanmaketheinstructionsshorterandmakeexecutionfaster.

AddressregistersTheinternalregisterscanalsobeusedforthestorageofaddressofdatainmemorydata.Insuchacase,theinstructionwordcontainsaregisternumber(i.e.aregisteraddress).Intheregisteriscontainedtheaddressofmemorydatatobeusedintheinstruction.Thisformofaddressingiscalledregisterindirectaddressing.Thecontentsoftheregisteraresaidtopointtothedatainmemory.

InternalProcessorBusTheinternalprocessorbusmovesdatabetweeninternalregister.Abusisasetofcloselygroupedelectricconductorsthattransfersdata,address,andcontrolinformationbetweenfunctionalblocksoftheCPU.Datafromasourceregistercanbepassedtoadestinationregisterwhenbothareenabledonto(connectedto)thebus.

ControllerThecontrollerprovidesthepropersequenceofcontrolsignalsforeachinstructioninaprogramcycletobefetchedfrommemory.Atotalprogramcyclecomprisesmanyinstructioncycle,eachinstructioncyclecanbedividedupintoitscomponentmachinecyclesandeachmachinecyclecomprisesanumberofclockcycle.

Inordertofetchaninstruction,forexampleillustratedinFig.3-1A-4,theaddressintheprogramcounterisplacedontheaddresslinesoftheexternalbus(AB)attheonsetofclockcycleC1.Simultaneously,usingacodeonthecontrollinesofthebus(CB),theCPUinformsalldevicesattachedtothebusthatan“opcode”fetchmachinecycleisbeingexecutedbytheCPU.Thememoryallowsthememoryaddresstoselectthememorylocationcontainingtheinstruction.AtC2thecontrollerplacesa“read”commandontothecontrolbuswhichallowsthememorydatatobeplacedontothedatabus.ThecontrollerthengatesthedataintotheinstructionregisterandremovesthereadcommandfromthecontrolbusinC3.AtC4,thecontrollerremovestheaddressfromtheaddressbusandbeginstodecodetheoperation-codeportionoftheinstructiontoseewhats

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1