16 lines
273 B
ArmAsm
16 lines
273 B
ArmAsm
|
.text
|
||
|
.globl main
|
||
|
main:
|
||
|
addi sp,sp,-16
|
||
|
sd ra,8(sp)
|
||
|
## TODO Your assembly code there
|
||
|
## END TODO End of user assembly code
|
||
|
ld ra,8(sp)
|
||
|
addi sp,sp,16
|
||
|
ret
|
||
|
|
||
|
# Data comes here
|
||
|
.section .data
|
||
|
mydata:
|
||
|
.dword 7
|