所讨论的主题包括基本的架构、SPU汇编语言的基本语法及SPE与ppe间的主要通信模式。
Topics covered include the basic architecture, the syntax of the SPU assembly language, and the primary modes of communication between the SPE and the PPE.
本期文章重点放在基本的语法和SPE汇编语言及ABI (applicationbinary interface或平台的函数调用约定)的用法上。
This article focuses on the basic syntax and usage of SPE assembly language, and the ABI (the application binary interface, or the function calling conventions of the platform).
让我们首先看一下Linux中使用的基本汇编程序语法。
Let's first look at the basic assembler syntax used in Linux.
在这两种汇编器中,寄存器的名称是一样的,但是因为寻址模式不同,使用它们的语法是不同的。
In both the assemblers, the names of registers remain the same, but the syntax for using them is different as is the syntax for addressing modes.
当您在非连接模式下工作时,您仍然可以检查源代码的语法与语义错误,然后连接就只是为了提交一个汇编后的文件,这时您已经为创建项目对象做好了准备。
While working in the disconnected mode, you can still check source code for syntax and semantic errors and then connect only to submit a compiled file when you are ready to create the program objects.
系统的软件部分是利用汇编语言设计,这种方法具有语法简单、执行效率高、可靠高等优点。
And in the design of software system, Assemble Language is selected for the advantages of simple syntax, high efficiency and strong reliability.
你可以改变你的代码使用预先性的语法,但一个更好的解决办法是告诉汇编程序,您使用的是性的方式加入“。语法统一”指令代码之前。
You could change your code to use the pre-UAL syntax, but a much better solution is to tell the assembler that you are using the UAL style by adding a ". Syntax unified "directive before your code.
显然,无论反汇编你使用(我不承认,输出格式),因为ARM推出了UAL语法一直没有更新,所以一直拆卸旧助记符。
Clearly whatever disassembler you're using (I don't recognise that output format) hasn't been updated since ARM introduced the UAL syntax, so has disassembled to the old mnemonics.
显然,无论反汇编你使用(我不承认,输出格式),因为ARM推出了UAL语法一直没有更新,所以一直拆卸旧助记符。
Clearly whatever disassembler you're using (I don't recognise that output format) hasn't been updated since ARM introduced the UAL syntax, so has disassembled to the old mnemonics.
应用推荐