15 lines
266 B
ArmAsm
15 lines
266 B
ArmAsm
.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
|