What version of assembly does the gcc compiler compile?
I have a .s file and for some reason when I try to push the ebp(stack pointer), then move it into the esp register(a general purpose register), I get an error saying it's "too many instructions" or it "too many memory-to-memory" assignments.
I really don't know how I am going to push or move anything without being able to correctly use the ebp register and esp register. Some x86 assembly works, some x64 assembly works, and the tutorial I am following works with 32 bit assembly and uses movl and pushl. I am using the gcc compiler, but maybe I should switch?
I don't know. Any help would do. Thanks!