资源描述:
《计算机汇编语言概述(a summary of computer assembly language)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、计算机汇编语言概述(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