CAP/TP01/riscv/carres.s

16 lines
273 B
ArmAsm
Raw Normal View History

2024-09-12 10:02:16 +02:00
.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