資源描述:
《計(jì)算機(jī)匯編語言概述(a summary of computer assembly language)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、計(jì)算機(jī)匯編語言概述(Asummaryofcomputerassemblylanguage)Therearesomanykindsofcomputerlanguagesthat,ingeneral,canbedividedintothreecategories:machinelanguage,assemblylanguageandhigh-levellanguage.Ifthenotepoints,canbedividedintoEnglishsignlanguageandChineselangu
2、agesymboltwo.(typical:easylanguage,easylanguage.Flying.)Eachcomputertodoamove,astepthatisaccordingtotheprogrammedcomputerimplementationoftheprogramisasetofcomputerinstructionstoexecute,andtheproceduresareallinourunderstandingofthelanguagetowrite.Sope
3、oplehavetocontrolthecomputer.Theymustsendcommandstothecomputerthroughthecomputerlanguage.Thelanguagethatcomputerscanrecognizeismachinelanguage,thecodeconsistingof0and1.Butusuallypeopledonotusemachinelanguagewhenprogramming,becauseitisveryhardtorememb
4、erandrecognize.Atpresent,therearetwocommonprogramminglanguages:assemblylanguageandhigh-levellanguage.Theessenceofassemblylanguageisthesameasthemachinelanguage,whichisdirectlytothehardwareoperation,buttheinstructionusestheEnglishabbreviationidentifier
5、,whichiseasiertorecognizeandmemorize.Italsorequiresprogrammerstowriteeachstepintheformofcommands.Anassemblerusuallyconsistsofthreeparts:instructions,pseudodirectives,andmacros.Correspondingtoeachsentenceintheassemblerinstructioncanonlypracticeafineco
6、urseofaction,suchasmoving,increment,soassemblysourceprogramisgenerallymorecomplex,tedious,errorprone,andtheuseofassemblylanguageprogrammingrequiresmorecomputerexpertise,buttheadvantagesofassemblylanguageisobviously,completecantheuseofassemblylanguage
7、operationisnotageneralhigh-levellanguagecanberealized,andthesourceprogramcompiledexecutablefileisgeneratednotonlyisrelativelysmall,andtheimplementationofthefast.Highlevellanguagesarethechoiceofmostprogrammersatthemoment.Comparedwiththeassemblylanguag
8、e,itnotonlymanyrelatedmachineinstructionsintoasingleinstructionandremovedandthespecificoperationandcompletetheworkrelatedbutirrelevantdetails,suchastheuseofthestackandregisters,whichgreatlysimplifiestheprograminstructions.Atthesametime,programmersdon