armassembly
ARM Assembly - Hello World!
· ☕ 3 min read · ✍️ devoalda
Installation I’m using WSL to build and run the ARM assembly code, these are the installation packages I used: 1 sudo apt install gcc-arm-linux-gnueabi make git-core ncurses-dev qemu qemu-user {:file="Installation on Windows WSL”} Code Simple program to return a number to shell .global _start .section .text _start: mov r7, #0x1 @ System call number for exit (0x1) mov r0, #32 @ Exit code 32 (Returns 32 to the shell) swi 0 @ Software interrupt .