您可能已经简单地对寄存器进行了编号,不过之后编写代码并记住哪个寄存器实现哪些功能会比以前更加乏味。
You could have simply numbered the registers, but then writing the code and remembering which register does what would get even more tedious than before.
你可以设置一些寄存器,并发出一个系统调用指令(或中断),并由陷阱处理程序直接调用内核代码。
You set some registers and issue a system call instruction (or an interrupt) and have the kernel code called directly from the trap handler.
对于调试来说,它是很有价值的,它允许调试器中断操作系统代码、并检查硬件寄存器。
It is useful for debugging purposes by letting the debugger break into operating system code and examining the hardware registers.
这就使得寄存器在代码中更为醒目。
PPE可以通过在内核模式中使用内存映射寄存器来发起dma传输,而SPE则可以使用在SPU上运行的代码来写入dma通道。
The ppe does this through memory-mapped register access from kernel mode, while the SPE writes to its DMA channels from code running on the SPU.
也就是说,现在并不通过线程状态和寄存器表示代码块(函数)。
That is, a block of code (function) that now doesn't have to be represented via thread state and registers and such.
有时,语义上等同但采用两种不同方式编写的代码可能会使优化器在执行良好的寄存器分配上所花费的时间相差巨大。
At times, semantically equivalent code, written in two different ways, might cause the optimizer to have a more difficult time performing good register allocation.
在内核中,这些进程称为线程,代表了单独的处理器虚拟化(线程代码、数据、堆栈和CPU寄存器)。
In the kernel, these are called threads and represent an individual virtualization of the processor (thread code, data, stack, and CPU registers).
在Linux程序中使用SPU需要使用一部分内核代码,因为控制寄存器只能从PPE中使用特权模式进行访问。
Some kernel code is needed to use the SPUs from a Linux application, since the controlling registers are only accessible from the PPE in privileged mode.
kdb允许用户控制内核代码的执行(包括内核扩展和设备驱动器),并观察和修改变量和寄存器。
KDB allows the user to control execution of kernel code (including kernel extensions and device drivers), and to observe and modify the variables and register.
虽然代码也使用了一些向量运算,但我们只关注一个寄存器内的一个值,而其他值则被简单忽略。
It will use some vector operations, but we will only be concerned with one value within each register — the others we will simply ignore.
这样,如果您以后需要向代码中添加一个寄存器,那么汇编程序就会自动重新计算新寄存器的编号,您也不必更改自己的寄存器编号约定。
This way, if you need to add a register to your code later, the assembler will auto-recalculate the new register Numbers and you don't have to alter your register numbering convention.
访问实际硬件(卡)寄存器的代码现在应该进行一些修改,访问模拟设备寄存器的本地变量。
The code that accesses the actual card registers should now be changed to access the local variables that mimic the device's registers.
攻击CFG生成进程也可以是通过混淆汇编代码以致它不能够正确地确定跳转指令的目标,比如使用寄存器指示跳转目标。
The CFG generation process can also be attacked by obfuscating the assembly code such that one cannot determine the correct target of a jump instruction, such as using a jump through register.
虽然我们处于一个basklet 中,但是仍然可以在调试时修改(本地)寄存器的值,并且可以单步跟踪所有的路径和源代码。
While you are in the tasklet, you will be able to modify the (local) register values at debug time and be able to step through all the paths and flow of the source code.
因为他准确知道中断会用到哪个寄存器,所以它能够以程序编缉时的状态为基础,动态决定代码大小。
Since it knows exactly which registers will be used for any interrupt, it can determine the context size dynamically, based on the state of the program at the time of compilation.
本文基于ARM 9tdmi内核,从指令调整、寄存器分配、条件分支和循环结构等方面对汇编代码的优化方法进行了详细的论述。
This article gives a detail discussion on the assembled code optimization from instruction arrangement, register division, condition selection branch and cycle structure based on the core of ARM9TDMI.
并给出了相应的程序转换算法,通过数据相关性的分析,在应用程序向量化时,生成采用向量寄存器部分重用的优化代码。
According to the dependence analysis, we present a transformation strategy that generates vector codes exploiting the partial reuse of vector registers during the vectorization of applications.
TECHPRO编译器中的全知代码生成器对程序中任何指针下哪个寄存器可用哪个寄存器不可用非常了解。
The omniscient code generator in HI-TECH's pro compiler has perfect knowledge about which registers are available and which registers are not available at any point in the program.
一个代码能够访问64位寄存器,采用另一种保护模式,称为长模式。
For a code to be able to run with access to 64-bit registers, another kind of protected mode is employed, called long mode.
“寄存器”窗口保持打开状态,则在代码执行时会看到寄存器值的变化。
Registers window open as you step through your program, you can see register values change as your code executes.
在内核模式代码中严格禁止使用这些寄存器。
The use of these registers is strictly prohibited in kernel mode code.
寄存器分配和代码生成是决定编译器能否生成高效代码的关键部分。
Register allocation and code generation are key parts of generating high performance assembly code.
当设置好这些数据结构,代码段以及系统寄存器之后,可以通过设置控制寄存器CR0的PE位(第0位)为1来进入保护模式。
With these data structures, code modules, and system registers initialized, the processor can be switched to protected mode by loading control register CR0 with a value that sets the PE flag (bit 0).
家族代码显示在SAP(伺服适配参数)控制编辑寄存器而编辑在RAM(随机存储)和ROM(只读存储)。
Family code is displayed in SAP Control Flags editor while editing in RAM and ROM.
家族代码显示在SAP(伺服适配参数)控制编辑寄存器而编辑在RAM(随机存储)和ROM(只读存储)。
Family code is displayed in SAP Control Flags editor while editing in RAM and ROM.
应用推荐