下载  >  开发技术  >  其它  > 编程卓越之道卷2 pdf

编程卓越之道卷2 pdf 评分

编程卓越之道卷2
WRITE GREAT CODE Volume2: Thinking L。w Level, Writing High-Level by randall Hyde NO STARCH PRESS San francisco WRITE GREAT CODE, Vol. 2: Thinking Low-Level, Writing High-Level Copyright o 2006 by Randall Hyde All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher Printed on recycled papcr in the Unitcd Statcs of America 2345678910-09080706 No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press, Inc. Other product and company names mentioned herein may be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark Publisher: WilliaN Pollock Managing editor: Elizabeth Campbell Cover and Intcrior Design: Octopod Studios nental Editor: Jin Technical Reviewer: Benjamin David Lunt Copveditor: Kathy Grider- Carlyle Compositor: Riley Hoffman Proofreader: Stephanie provines For information on book distributors or translations, please contact No Starch Press, Inc. directly No Starch Press. Inc 555 De haro Street. Suite 250. San francisco. CA 94107 phone415.863.9900;fax:415.863.9950;info@nostarch.com;www.nostarch.com The information in this book is distributed on an"As Is"basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor No Starch Press, Inc. shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it Library of Congress Cataloging-in-Publication Data ( volume 1) Hyde, Randall Write great code understanding the machine /Randall Hyde ammar puter architecture. I. Title 0A76.6.H942004 BRIEF◎ NTENTS Acknowledgments XV Introduction i Chapter 1: Thinking Low-Level, Writing High-Level Chapter 2: Shouldn't You Learn Assembly Language Chapter3:80×86 Assembly For the HLl Programmer…… 21 Chapter 4: Power PC Assembly for the HLl Programmer 47 Chapter 5: Compiler Operation and Code generation 6l Chapter 6: Tools for Analyzing Compiler Output 115 Chapter 7: Constants and High-Level Languages ····· 165 Chapter8: Variables in a High-Level Language……… ∴189 Chapter 9: array data Types 241 Chapter 10: String Data Types 281 Chapter 11: Pointer Data Types 315 Chapter 12: Record, Union, and Class Data Types .341 Chapter 13: Arith metic and Logical Expressions .385 Chapter 14: Control Structures and Programmatic Decisions 439 apter 15: Iterative Control Structures 489 Chapter 16: Functions and Procedures 521 Engineering Software 579 ppendix a Brief Comparison of the 80x86 and Power PC CPU Families 581 Online Appendices 589 591 CONTENTS N DETAIL ACKNOWLEDGMENTS INTRODUCTION THINKING LOW-LEVEL, WRITING HIGH-LEVEL tions about compiler Q 1.2 Why Le Is still a good ide Why Learning Assembly Language Isn t Absolutely Necessary 1.4 Thinking Low-Level 4.1 Compilers Are Only as Good as the Source Code You Feed Them 4.2 Helping the Compiler Produce Better Machine Code 4 4.3 How to Think in Assembly While Writing HLL Code 5 Writing High-Level 1.6 Assumptions 7 Language-Neutral Approach 1.8Ch 1.9 The E 1.10 For More Information 10 SHOULDN T YOU LEARN ASSEMBLY LANGUAGE? 2.1 Roadblocks to Learning Assembly Language ·.········ 2.2 Write Great Co 2 to the re 2.3 High-Level Assemblers to the rescue 2.4 The High-Level Assembler(HLA) 14 2.5 Thinking High-Level, Writing Low-Le 2.6 The Assembly Programming Paradigm(Thinking Low-Levell 16 2.7 The Art of Assembly Language and Other Resources 80X86 ASSEMBLY FOR THE HLL PROGRAMMER 21 3. 1 Learning One Assemb anquace ood, Learning More Better… 3.2 80x86 Assembly syntaxes 3.3 Basic 80x86 Architecture 3.3.1 Register 3.3.2 80x86 General- Purpose registers 中:*··· .24 3.3.3 The 80x86 EFLAGS Register 25 3.4 Literal Constants ···: 26 3.4.1 Binary Literal Constants 3.4.2 Decimal Literal Constants 3.4.3H al literal constants 3.5 Manifest( Symbolic) Constants in Assembly Language. 3.4. 4 Character and String Literal Constants .28 Ing Point literal constants 30 3.5.1 Manifest Constants in HLA ······:···········:······::···:·:· .30 3.5.2 Man ifest Constants in gas 30 3.5.3 Manifest Constants in masm and tasm 3. 6 80x86 Addressing Modes 3. 6. 1 80x86 Register Addressing Modes 31 3.6.2 Immediate Addressing Mode 36.3 Displacemen○ nly Memory Addressing Mode………… 3.6.4 Register Indirect Addressing Mode 35 3.6.5 Indexed Addressing Mode…… 36 3.6.6 Scaled-Indexed Addressing Modes 38 3.7 Declaring data in Assembly Language 39 3.7.1 Data Declarations in hla 40 3.7.2 Data declarations in masm and tasm 3.7.3 Data declarate 4 3.8 Specifying Operand Sizes in Assembly Language 44 3.8. 1 Type Coercion in HLA …44 3.8.2 Type Coercion in MASM and TASM .45 3.8.3 Type Coercion in Gas 45 3. 9 The Minimal 80x86 In struction Set 46 3. 10 For More Information 46 POWERPC ASSEMBLY FOR THE HLL PROGRAMMER 47 4.1 Learning One Assembly Language Is Good; More Is Better 48 42 Assembly Syntaxes… 48 4.3 Basic Power PC Architecture 49 4.3.1 General-Purpose Integer Registers 49 4.3.2 General-Purpose Floating- Point Registers 49 4.3.3 User-Mode-Access ible Special-Purpose Registers 49 4.4 Literal constants 4.4.1 Binary Literal Constants 52 4.4.2 Decimal Literal constants ···· 4.4.3 Hexadecimal Literal Constants 4.4.4 Character and String Literal Constants 4.4.5 Floating-Point Literal Constant 53 4.5 Manifest(Symbolic) Constants in Assembly Language 54 4.6 PowerPC Addressing Modes 54 4.6.1 PowerPC Register Access 4.6.2 The Immediate Addressing Mode 54 4.6.3 PowerPC mer 4.7 Declaring data in Assembl y Language 4.8 Specifying Operand Sizes in Assembly Language .59 4.9 The mi 9 4.10「 or more information… ..59

...展开详情
所需积分/C币:9 上传时间:2017-03-30 资源大小:10.22MB
举报 举报 收藏 收藏 (1)
分享 分享

评论 下载该资源后可以进行评论 2

scannme 金典好书,谢谢!!!
2018-10-11
回复
gubuyi_041 金典好书,谢谢!!!
2017-09-12
回复
编程卓越之道_第一卷:深入理解计算机.pdf

更彻底的理解编程,什么是编程.为写出更加卓越的代码奠定基础

立即下载
卓越编程之道原版(第二卷)

卓越编程之道原版 卓越编程之道原版 卓越编程之道原版 卓越编程之道原版

立即下载
编程卓越之道 第一、二卷

编程卓越之道第一、二卷,扫描版。第一卷:深入理解计算机;第二卷:运用底层语言思想编写高级语言代码。不想花钱去某宝的童鞋们可以看过来。

立即下载
编程卓越之道第二卷2C运用底层语言思想编写高级语言代码.pdf

运用底层语言思想编写高级语言代码计算机_软件与程序设计_综合_高级程序语言设计计算机_软件工程及软件方法学_综合 作者:(美)海德(Hyde,R.)

立即下载
卓越编程之道 - 卷2.rar

卓越编程之道 - 卷2.rar,很不错的东西,分享给大家

立即下载
编程卓越之道 第1卷:深入理解计算机.pdf

编程卓越之道 第1卷:深入理解计算机.pdf

立即下载
编程卓越之道 第二卷 英文版 (带书签)

编程卓越之道 第二卷 Write Greate Code volume2: thinking low-level, writing high-level 英文版 带有书签

立即下载
编程卓越之道(第二卷):运用底层语言思想编写高级语言代码.[美]Randall Hyde(带详细书签)

本书是《编程卓越之道》系列书的第二卷,将探讨怎样用高级语言(而非汇编语言)编程得到高效率机器代码。在书中,您可以学到如何分析编译器的输出,以便检验代码的所作所为,从而得到高质量的机器码;了解编译器为常见控制结构生成的典型机器指令,以便在编写高级语言程序时选用恰当的语句;掌握编译器将各种常量和变量类型转换成机器数据的方法,以便于使用这些数据写出又快又短的程序。 书中的理论超出了特定的编程语言和CPU架构,以各种处理器平台进行开发的高级语言程序员都能从中汲取到卓越编程的营养。 编程卓越之道 第二卷 目录 第1章 以底层语言思考,用高级语言编程 第2章 要不要学汇编语言 第3章 高级语言程序员

立即下载
编程卓越之道+第一卷:深入理解计算机+.pdf

深入理解计算机 (2010 年度畅销NO.491 )。本书作者为希望能编写出卓越代码的人提供了自己积累的关于卓越编程的真知

立即下载
编程卓越之道_第二卷_运用底层语言思想编写高级语言代码_中文版

编程卓越之道 第二卷 运用底层语言思想编写高级语言代码,绝对中文版。 但这只是第3章,《高级语言程序员应具备的80x86 汇编知识》。 我会继续发布后续章节。

立即下载
卓越编程之道 卷一 卷二 英文版

从底层开始讲起 不过只有前两卷 期待剩下的4卷 可以结合《深入理解计算机系统》那本书来看

立即下载
Eric.Meyer谈CSS(第一、二卷)

[Eric.Meyer谈CSS(第一、二卷)] [Eric.Meyer谈CSS(第一、二卷)]

立即下载