How Do You Run Assembly in Repl.it
I'm trying to learn Assembly, but don't know how to run it in Repl.it. I tried
gcc already, trying examples for x86 and x64 Assembly (I normally learn new programming languages by reading code examples) and it returned an error saying "Exec format error". Does anyone know how to fix this?
It’s because you didn’t link your code yet. Basically before you can run the code you have to link it. The assembler only gives you an object file, not a actual executable. You have to use lid first
Edit: use ld