汇编语言知识总结

汇编语言知识总结

ID:27829066

大小:162.66 KB

页数:9页

时间:2018-12-06

汇编语言知识总结_第1页
汇编语言知识总结_第2页
汇编语言知识总结_第3页
汇编语言知识总结_第4页
汇编语言知识总结_第5页
资源描述:

《汇编语言知识总结》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、第一章绪论一、计算机的定义Acomputerisadevicethatacceptsinputprocessesdata,storesdataandproducesoutputallaccordingtoaseriesofstoredinstructions.①Computerinputiswhateveristyped,submittedortransmittedtoacomputersystem.②Inthecontextcomputingdatareferstosymbolsthatrepresentfacts,objectsandideas.computersmanipul

2、atedatainmanywaysandthismanipulationiscalledprocessing.③Memoryisaareaofcomputerthattemporarilyholdsdatawaitingtobeprocessed,storedoroutput・二、计算机五大部件运算器、控制器、存储器、输入设备、输出设备。二、8086寄存器8086中程序可访问的寄存器共有14个,按功能可分为通用寄存器组,段寄存器组和专用寄存器组。①通用寄存器组:AX,BX,CX,DX,SP,BP,SI,DI②段寄存器:CS,DSZSS,ES③专用寄存器组:其包括指令指针IP和标志寄

3、存器FR。FR有:OF,DF,IF,SF,ZF,AF,PF,CF(注:①②③详见P12-13,P15)四、微处理器如何获取指令?Wheredoesthemicroprocessorgetit'sinstructions?Thesimpleansweristhatamicroprocessorexecutes(执彳亍)instructionsprovidedbyacomputerprogram・However,amicroprocessorcarftfollowjustanyinstructions・Aprogramthatcontainsaninstructionto"selfde

4、struct(自毁)〃won'thavemucheffectbecauseamicroprocessorcanperformonlyalimitedlistofinstruct!ons"selfdestruct,zisn〃toneofthem.Thelistofinstructionsthatamicroprocessorcanperformiscalledit'sinstructionset.Theseinstructionsarehard-wired(硬线连接)intotheprocessor'scircuitry(电路、电路系统)andineludebasicarithmet

5、ic(算》去)andlogicoperations.Fetchingdataandclearingregisters・Acomputercanperformverycomplextasks,butitdoessobyperformingacombinationofsimpletasksfromit'sinstructionset.Howdoesamicroprocessorwork?Insidethechip/carrier,amicroprocessorisaverycomplexintegratedcircuit,containingasmanyas300millionmini

6、aturizedelectroniccomponents.Theminiaturizedcircuitryinamicroprocessorisgroupedintoimportantfunctionalareas,suchastheALUandthecontrolunit.TheALU(arithmeticlogicunit)performsarithmeticoperations,suchasadditionandsubtraction.Italsoperformslogicoperations,suchascomparingtwonumberstoseeiftheyareth

7、esame•TheALUusesregisterstoholddatathatisbeingprocessed,justasyouuseamixingbowltoholdtheingredientsforabatchofbrownies・Themicroprocessor'scontrolunitfetcheseachinstruction,justasyougeteachingredientoutofacupboardortherefrigerator・偶地址开始存

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。