inline-assembly
64-bit issues: trying to copy value from %rsp into temp variable using inline assembly
I\'m taking an operating systems design class in which they have given us a microkernel written in C that we\'re building on top of. The ker开发者_运维知识库nel seems to have been designed with 32-bit[详细]
2023-01-05 01:03 分类:问答Error in my first assembly program (GCC Inline Assembly)
After a lot of internet research I implemented a small assembler routine in my C++ program to get the CPU\'s L1 cache size using cpuid.[详细]
2023-01-04 12:28 分类:问答How do I load all 1's into a mmx register? Why doesn't this work?
couldn\'t seem to find anything besides opinion questions on 64/32 bit stuff when I searched. __asm__ {[详细]
2023-01-04 11:35 分类:问答Execute Assembly from Pascal
How can I execute this code from Pascal : 开发者_JAVA技巧MOV EAX, variable1 PUSH EBX, EAX MOV EAX, variable2[详细]
2023-01-03 17:45 分类:问答C inline assembly of x86 fbstp instruction
Was wondering how to inline a usage of fbstp on a 32 bit I86 architecture. I tried something like int main( )[详细]
2023-01-03 05:45 分类:问答syscall from within GCC inline assembly [duplicate]
This question already has answers here: 开发者_StackOverflow中文版 How to invoke a system call via syscall or sysenter in inline assembly?[详细]
2023-01-02 04:48 分类:问答Is it possible to include inline assembly in Go code?
Is it possible to include inline assembly in Go code? This blog post shows compiling Go to a separate .s file and editing it, but not inline asm as part of 开发者_如何学Goa Go function like many C com[详细]
2023-01-01 14:34 分类:问答Clang doesn't support the Lock Prefix. How shall I workaround?
Assume this code: static inline void inc(in开发者_如何学Got64_t* atomic) { __asm__ __volatile__ ( \"lock incq %0\\n\"[详细]
2023-01-01 06:38 分类:问答Intrinsics program (SSE) - g++ - help needed
This is the first time I am posting a question on stackoverflow, so please try and overlook any errors I may have made in formatting my question/code. But please do point the same out to me so I may b[详细]
2023-01-01 06:09 分类:问答How do you call Win32 API functions from inline assembler?
Would somebody please tell me whats wrong with this code I am just calling a Sleep function from the kernel32.dll[详细]
2022-12-31 23:48 分类:问答
加载中,请稍侯......