need sone asm knowledge. and its pretty messed up when you need to create it for different arch
compiled in arm
you can test now in termux
copy to $HOME directory and write
chmod +x ./a.out
./a.out
will print "Hello World"
you can test now in termux
copy to $HOME directory and write
chmod +x ./a.out
./a.out
will print "Hello World"
I named my new language Saynaa
๐1
The reason is
that we share things together and develop an interpreter and a compiler language
that we share things together and develop an interpreter and a compiler language
hello.s
601 B
Hello World in assembly language
copy all to termux $HOME directory
> give permission
$ chmod +x arm-as arm-ld
> convert assembly to object
$ ./arm-as -o hello.o hello.s
> convert object to executable binary
$ ./arm-ld -o hello hello.o
> then execute the program
$ ./hello
then output will become "Hello World" based to arm 32bit
> give permission
$ chmod +x arm-as arm-ld
> convert assembly to object
$ ./arm-as -o hello.o hello.s
> convert object to executable binary
$ ./arm-ld -o hello hello.o
> then execute the program
$ ./hello
then output will become "Hello World" based to arm 32bit