Category:ARM Assembly Implementations: Difference between revisions

no edit summary
m (Created page with "{{implementation cat|ARM Assembly}}")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1:
{{implementation cat|ARM Assembly}}
 
Arm Assembly 32 bits is running on raspberry pi 1,2 and 3.<br>
For compiling, use as and link to ld.<br>
 
Arm Assembly 32 bits is running on android os with application Termux (download to playstore).<br>
Read the documentation to Termux site.<br>
Install and config ssh to connect a pc.<br>
Install package binutils in console Termux. <br>
 
For compiling and link use as and ld strictly equal to raspberry pi.<bR>
 
Script example : <br>
<pre>
#compilation assembleur ARM raspberry or android
echo "Compilation 32 bits de "$1".s"
as -o $1".o" $1".s" -a >listing.txt
#gcc -o $1 $1".o" -e main
ld -o $1 $1".o" -e main
ls -l $1*
echo "Fin de compilation."
</pre>