[Solved] How to declare local variables in macro asm of gas like decalaring it in macro asm with %local in macro asm of nasm or local in macro asm of masm?
gas is primarily intended as a compiler backend, not for human use. As such, it’s lacking some features, among others this one. You can of course try to make a macro to do this, something along these lines: .intel_syntax noprefix .globl main .macro local head, tail:vararg # assume dwords for simplicity .set localsize, localsize + … Read more