A working but not simple solution is to make a simple hello.c, and
compile it with --save-temps.
This means you get a hello.s in there too, and you can build that with

cc -O2 -pipe -o hello  hello.s
and you have a working binary, with the correct ELF sections and everything.
It becomes some 5200 bytes after strip on arm64, but at least you
could start from the hello.s and edit that to your hearts content.

Den fre 14 mars 2025 kl 11:47 skrev Computer Planet <open...@cpnetserver.net>:
>
> Hi guys!
> Please, could someone tell me how to print a very simple "Hello, world!" in 
> assembly for aarch64?
> Thanks for reply.
>


--
May the most significant bit of your life be positive.

Reply via email to