inline-assembly
Inline assembly troubles
I tried to compile with GCC inline assembly code which compiled fine with MSVC, but got the following errors for basic operations:[详细]
2023-03-05 15:10 分类:问答Simple inline assembly program won't compile
This is driving me insane... I\'m sure there\'s something very small I\'m doing wrong here, but I can\'t figure out what it is after trying for 30 minutes and go开发者_如何学Pythonogling.I am trying t[详细]
2023-03-01 12:02 分类:问答Is there an 8-bit atomic CAS (cmpxchg) intrinsic for X64 in Visual C++?
The following code is possible in 32-bit Visual Studio C++.Is there a 64-bit equivalent using intrinsics since inline ASM isn\'t supported in the 64-bit version of Visual Studio C++?[详细]
2023-03-01 09:20 分类:问答C++ with inline assembly, whats wrong?
First please use easy words, as i\'m not really good in english ;) An开发者_开发知识库d now the problem:[详细]
2023-02-26 01:01 分类:问答Microsoft inline assembly and references or Why does BYTE PTR [ByteRef] not work in this situation?
Okay so I have a C++ fu开发者_运维技巧nction in which I am trying to use inline assembly void ToggleBit(unsigned char &Byte, unsigned int Bit)[详细]
2023-02-25 02:38 分类:问答GCC asm inline constraints, conflicting register allocation
I\'v开发者_Go百科e made some ARM-inline assembler code. Looking in Semaphore.s, I see that gcc is using register r3 for both two variables: \"success\" and \"change\". I wonder if there is a problem w[详细]
2023-02-23 23:52 分类:问答Trying to define variables to specific memory locations
Hey, im u开发者_Go百科sing WinAVR and programing an ATMEGA32 in C. Basically, I want to link my C program to asm via the:[详细]
2023-02-23 05:09 分类:问答Variable arguments in _stdcall, C++ / Inline ASM
I\'m in a situation where I have to mock up a _stdcall function using C++ and inline ASM, but which uses a variable number of arguments. Normally it wouldn\'t know how many arguments to pop from the s[详细]
2023-02-23 03:33 分类:问答Left bitwise rotation on variable without carry?
Let us have a task to do left-bitwise-rotation on variable a without carry in C++. I think, it would be much better to use assembly inline to perform this routine, isn\'t 开发者_开发知识库it?[详细]
2023-02-22 17:12 分类:问答Why does my program run on Ubuntu gcc but not OSX gcc?
So my homework, I ran it in Ubuntu, and it compiles fine and runs like the way it should. But when I run this in Mac OSX, it gets a bus error. Why is that?[详细]
2023-02-22 10:07 分类:问答
加载中,请稍侯......