汇编语言知识总结.doc

汇编语言知识总结.doc

ID:56123684

大小:61.50 KB

页数:9页

时间:2020-03-17

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

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

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

2、sandideas.computersmanipulatedatainmanywaysandthismanipulationiscalledprocessing.Memoryisaareaofcomputerthattemporarilyholdsdatawaitingtobeprocessed,storedoroutput.二、计算机五大部件运算器、控制器、存储器、输入设备、输出设备。三、8086寄存器8086中程序可访问的寄存器共有14个,按功能可分为通用寄存器组,段寄存器组和专用寄存器组。通用寄存器组:AX,BX,CX,

3、DX,SP,BP,SI,DI段寄存器:CS,DS,SS,ES专用寄存器组:其包括指令指针IP和标志寄存器FR。FR有:OF,DF,IF,SF,ZF,AF,PF,CF(注:详见P12-13,P15)四、微处理器如何获取指令?Wheredoesthemicroprocessorgetit’sinstructions?Thesimpleansweristhatamicroprocessorexecutes(执行)instructionsprovidedbyacomputerprogram.However,amicroprocesso

4、rcan’tfollowjustanyinstructions.Aprogramthatcontainsaninstructionto“selfdestruct(自毁)”won’thavemucheffectbecauseamicroprocessorcanperformonlyalimitedlistofinstructions“selfdestruct”isn’toneofthem.Thelistofinstructionsthatamicroprocessorcanperformiscalledit’sinstructi

5、onset.Theseinstructionsarehard-wired(硬线连接)intotheprocessor’scircuitry(电路、电路系统)andincludebasicarithmetic(算法)andlogicoperations.Fetchingdataandclearingregisters.Acomputercanperformverycomplextasks,butitdoessobyperformingacombinationofsimpletasksfromit’sinstructionset.

6、Howdoesamicroprocessorwork?Insidethechip/carrier,amicroprocessorisaverycomplexintegratedcircuit,containingasmanyas300millionminiaturizedelectroniccomponents.Theminiaturizedcircuitryinamicroprocessorisgroupedintoimportantfunctionalareas,suchastheALUandthecontrolunit.

7、TheALU(arithmeticlogicunit)performsarithmeticoperations,suchasadditionandsubtraction.Italsoperformslogicoperations,suchascomparingtwonumberstoseeiftheyarethesame.TheALUusesregisterstoholddatathatisbeingprocessed,justasyouuseamixingbowltoholdtheingredientsforabatchof

8、brownies.Themicroprocessor’scontrolunitfetcheseachinstruction,justasyougeteachingredientoutofacupboardortherefrigerator.偶地址开始存放数据(即:首地址一般为

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

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

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