mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +00:00
23 lines
265 B
ArmAsm
23 lines
265 B
ArmAsm
.text
|
|
.balign 2
|
|
.global foo
|
|
.type foo, @function
|
|
foo:
|
|
MOV.W #lo (P), R8
|
|
RETA
|
|
.size foo, .-foo
|
|
|
|
.balign 2
|
|
.global main
|
|
.type main, @function
|
|
main:
|
|
CALLA #foo
|
|
.L4:
|
|
BRA #.L4
|
|
.size main, .-main
|
|
.section .bss,"aw",@nobits
|
|
.balign 2
|
|
.global P
|
|
P:
|
|
.zero 4
|