cpu-registers
How to know if a binary integral number represents a negative number?
I am reading some C text. In the Negative and Positive Values session, the author mentioned several ways of representing a negative number in binary form.[详细]
2023-04-13 08:31 分类:问答Does a DMA controller have its own registers?
I\'m trying to understand the ins and outs of how a DMA controller functions. I\'m looking at the 8237 DMA controller. Some information here has some tab开发者_JAVA技巧les with register values.[详细]
2023-04-13 02:07 分类:问答How can a register detect that the value it containes is either data, or the address of data?
As far as I know, when a data is too long, the address of a data is written to a register. When it is not long for a register, the real value of the data can be written to a register. How can a regist[详细]
2023-04-13 00:12 分类:问答Converting inline ASM to Intrinsic
I\'ve been give a task to convert small piece of asm into intrinsic in order to test performance. I ve never developed any code for either one, but I understand asm and c, and reading up on intrinsic[详细]
2023-04-10 11:36 分类:问答How to print out registers in Linux kernel?
I want to print out values of a couple of registers from the linux kernel code running on ARM. Particularly I have the following assembly in linux -[详细]
2023-04-09 04:26 分类:问答How can a register have address?
According to book, register is a pl开发者_如何学Cace in CPU with small storage space (example 16 bit on 16 bits CPU). So how does CPU register have address? And how are we able to add displacement to[详细]
2023-04-02 18:08 分类:问答Why does the 8086 use an extra register to address 1MB of memory?
I heard that the 8086 has 16-bit registers which allow it to only address 64K of memory. Yet it is still able to address 1MB of memory which would require 20-bit registers. It does this by using anoth[详细]
2023-03-31 18:59 分类:问答gcc argument register spilling on x86-64
I\'m doing some experimenting with x86-64 assembly. Having compiled this dummy function: long myfunc(long a, long b, long c, long d,[详细]
2023-03-31 11:47 分类:问答How to read from and write to hardware registers using C#?
I have absolutely no experience or knowledge regarding hardware registers and how to interface with them via code.However, my current C# project requires me to read temperatures from a chip on the SMB[详细]
2023-03-27 18:45 分类:问答How to load register value to variable C#
Is there any way in C# for loading register val开发者_高级运维ue to variable? Like I want to load value of alregister.No - C# isn\'t tied to any particular CPU architecture, and the use of registered[详细]
2023-03-26 03:21 分类:问答