I want start learning Assembly. But, there is a problem. I can't run my file.
I tried to use yasm file.s -o run and after ./run, but I see this:
bash: ./run: Permission denied
After, I searched and found this:
Using this on terminal:
~$ yasm -felf64 file.s
~$ ld file.o -o run
~$ ./run.
But, I saw this error:
ld: file.o: error adding symbols: file in wrong format
What should I do?
I'm running this on Android 11, with Termux 0.118.0 . CPU: Samsung Exynos Octa 7904.