gnu-assembler
Invalid instruction suffix for push when assembling with gas
When assembling a file with GNU assemble开发者_如何学Cr I get the following error: hello.s:6: Error: invalid instruction suffix for `push\'[详细]
2023-03-11 12:13 分类:问答Macro substituting a constant number in GAS
What\'t wrong with that macro on X86 GNU Assembly? It says the symbol S is undefined during linking. .macro S size=40[详细]
2023-03-02 21:16 分类:问答Segfault with x86 assembly on mov 0, %eax
I\'m trying to assemble a small piece of x86 code. I\'m on a 32 bit machine and I have written the following code. It should just add values into eax and the开发者_如何转开发n return. I realize there[详细]
2023-03-02 04:13 分类:问答Gnu Assembler (GAS) Optimizations
Im actually learning assembly and I went with Gas, but the problem is: 1) I only know Intel syntax and I saw in a page Gas with intel syntax is not very good optimized in some cases. Is this correct[详细]
2023-02-15 11:17 分类:问答Using another assembler (MASM, NASM, TASM, etc.) with GCC
I\'ve been looking through questions on here and the internet for a while now and I cannot seem to find out whether or not it is possible to do inline assembly with GCC using something other than GAS.[详细]
2023-02-09 15:21 分类:问答Passing array to external assembly function
Somehow related to this calling assembly functions from c I\'m passing to that function an array of int and a length:[详细]
2023-02-04 04:19 分类:问答calling assembly functions from c
I\'m trying to use a function in assembly, invoked from a C project.This function is supposed to call a libc function let\'s say printf(), but I keep getting a segmentation fault.[详细]
2023-02-04 03:50 分类:问答I need help converting Intel inline asm to AT&T so I can compile it with gcc
T开发者_JS百科his is the original code: #define CPU_PREFETCH(cache_line)\\ { int* address = (int*) (cache_line);\\[详细]
2023-01-31 02:45 分类:问答How to install and use GAS (GNU Compiler) on Linux?
I\'m using Ubun开发者_如何学JAVAtu, and I was looking for an assembler compiler for Linux, and I found GAS.[详细]
2023-01-26 23:52 分类:问答how do you make an x86 assembly program in linux that converts files to uppercase?
I found a pdf file called: ProgrammingGroundUp-1-0-booksize.pdf, and one of the projects is to make an assembly program that takes in files and converts them to uppercase, `[详细]
2023-01-21 07:00 分类:问答