X86_Assembly

X86_Assembly

ID:40997143

大小:429.12 KB

页数:123页

时间:2019-08-13

X86_Assembly_第1页
X86_Assembly_第2页
X86_Assembly_第3页
X86_Assembly_第4页
X86_Assembly_第5页
资源描述:

《X86_Assembly》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、X86AssemblyFromWikibooks,theopen-contenttextbookscollectionContents•1Introduction•1.1WhyLearnAssembly?•1.2WhoisThisBookFor?•1.3HowisThisBookOrganized?•2BasicFAQ•2.1HowDoestheComputerRead/UnderstandAssembly?•2.2IsittheSameOnWindows/DOS/Linux?•2.3WhichAssemblerisBest?•2.4DoI

2、NeedtoKnowAssembly?•2.5HowShouldIFormatmyCode?•3X86Family•3.1Intelx86Microprocessors•3.2AMDx86CompatibleMicroprocessors•4X86Architecture•4.1x86Architecture•4.1.1GeneralPurposeRegisters(GPR)•4.1.2SegmentRegisters•4.1.3EFLAGSRegister•4.1.4InstructionPointer•4.1.5Memory•4.1.6

3、Two'scomplementrepresentation•4.1.7Addressingmodes•4.2Stack•4.3CPUOperationModes•4.3.1RealMode•4.3.2ProtectedMode•4.3.2.1FlatMemoryModel•4.3.2.2Multi-SegmentedMemoryModel•5Comments•5.1Comments•5.2HLAComments•61632and64Bits•6.1The8086Registers•6.1.1Example•6.2TheA20GateSaga

4、•6.332-BitAddressing•7X86Instructions•7.1Conventions•8DataTransfer•8.1Datatransferinstructions•8.1.1Move•8.1.2DataSwap•8.1.3MoveandExtend•8.1.4MovebyDataSizeTheWikibookofx86AssemblyLanguageIntroductionx86AssemblyWhyLearnAssembly?Assemblyisthemostprimitivetoolintheprogramme

5、rstoolbox.Entiresoftwareprojectscanbewrittenwithouteveroncelookingatasinglelineofassemblycode.Sothequestionarises:whylearnassembly?Assemblylanguageistheclosestformofcommunicationthathumanscanengageinwithacomputer.Usingassembly,theprogrammercanpreciselytracktheflowofdataand

6、executioninaprogram.Also,anotherbenefittolearningassembly,isthatonceaprogramhasbeencompiled,itisdifficult--ifnotimpossible--todecompilethecode.Thatmeansthatifyouwanttoexamineaprogramthatisalreadycompiled,youwillneedtoexamineitinassemblylanguage.Debuggersalsowillfrequentlyo

7、nlyshowtheprogramcodeinassemblylanguage.Ifnothingelse,itcanbebeneficialtolearntoreadassemblylanguage,ifnotwriteit.Assemblylanguageisalsothepreferredtool,ifnottheonlytoolavailableforimplementingsomelow-leveltasks,suchasbootloaders,andlow-levelkernelcomponents.Codewrittenina

8、ssemblyhaslessoverheadthancodewritteninhigh-levellanguages,soassemblycodefrequentlywillru

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

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

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