More than 5 years have passed since last update.
概要
armでアセンブラやってみた。
hello worldやってみた。
サンプルコード
.text
.global _start
_start:
mov r0, #1
ldr r1, = msg
mov r2, #13
mov r7, #4
svc 0
_exit:
mov r7, #1
svc 0
msg:
.asciz "Hello World!\n"
以上。
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
