zoukankan      html  css  js  c++  java
  • 【译】x86程序员手册02

    Chapter 2 -- Basic Programming Model: 基本的程序模式

    Introduces the models of memory organization. Defines the data types. Presents the register set used by applications. Introduces the stack. Explains string operations. Defines the parts of an instruction. Explains addressing calculations. Introduces interrupts and exceptions as they may apply to applications programming.

    介绍模式下的内存组织。数据类型的定义。能被程序使用的寄存器组。介绍栈。解释字符操作。定义指令部分。解释地址计算。介绍应用程序可以使用的中断和异常。

    This chapter describes the 80386 application programming environment as seen by assembly language programmers when the processor is executing in protected mode. The chapter introduces programmers to those features of the 80386 architecture that directly affect the design and implementation of 80386 applications programs. Other chapters discuss 80386 features that relate to systems programming or to compatibility with other processors of the 8086 family.

    这章描述80386的应用程序环境,正象处理器在保护模式下执行时一个汇编程序员看到的那样。本章介绍那些可以直接影响到80386的程序的设计和实现的一些特性。其他章节会讨论与系统应用 相关的80386的特性或者是兼容8086家族处理器。

    The basic programming model consists of these aspects:

    一个基本的程序模式由以下几个方面构成:

    • Memory organization and segmentation 内存组织和分段
    • Data types 数据类型
    • Registers 寄存器
    • Instruction format 指令格式
    • Operand selection 操作符
    • Interrupts and exceptions 中断和异常

    Note that input/output is not included as part of the basic programming model. Systems designers may choose to make I/O instructions available to applications or may choose to reserve these functions for the operating system. For this reason, the I/O features of the 80386 are discussed in Part II.

    注意:输入输出不包括在基本的程序模式中。系统设计者选择I/O指令对应用有效或选择保留这些功能给操作系统。基于这个原因,80386的I/O特性在第二部分讨论。

    This chapter contains a section for each aspect of the architecture that is normally visible to applications.

    本章对于按照那些对程序可见的架构的每个方面进行分解。

  • 相关阅读:
    iOS 类知乎”分页”效果的实现?
    iOS 图解弹幕功能的实现
    iOS 为何使用runtime方法交换多次后却能按照交换顺序依次执行代码逻辑?
    iOS常用算法之单链表查找倒数第n个节点(图解)
    iOS常用算法之两个有序数组合并, 要求时间复杂度为0(n)
    iOS 常用算法之设计一个算法,验证某字符是否为合法IPV4字符
    iOS .Crash文件分析处理办法 (利用symbolicatecrash工具处理)
    iOS中UIWebview中网页宽度自适应的问题
    iOS开发
    安卓应用加固之反动态调试技术总结
  • 原文地址:https://www.cnblogs.com/mqmelon/p/6692056.html
Copyright © 2011-2022 走看看