CAP/TP01/riscv/minmax.s
Emma Nardino 1f64bd761c Add TP01
2024-09-12 10:02:16 +02:00

19 lines
299 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
.dword 42
min:
.dword 0