52ky 发表于 2022-4-7 10:02:28

C&汇编训练营


汇编语法和汇编器之间的关系类似于C/C++标准和C/C++编译器之间的关系。 有两种主要语法,Intel 和 AT&T 汇编语法。 最大的不同在于后者是独立于平台的,而前者仅限于在Inter平台上。 特定 CPU 架构下的汇编指令集和寄存器名称等价于汇编语法中的关键字。 支持多平台的GAS汇编器会根据当前系统的CPU架构,自动识别并转换相应平台下的机器码。

(The relationship between assembly syntax and assembler is similar to that between C / C + + standard and C / C + + compiler. There are two main syntaxes, Intel and at & T assembly syntaxes. The biggest difference is that the latter is platform independent, while the former is limited to the inter platform. The assembly instruction set and register names under a specific CPU architecture are equivalent to keywords in assembly syntax. The gas assembler supporting multiple platforms will automatically identify and convert the machine code under the corresponding platform according to the CPU architecture of the current system.)

页: [1]
查看完整版本: C&汇编训练营