From 7ff0d605067d57f638da50e53eb4a7dbb7ef11e6 Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Wed, 8 May 2024 12:12:09 +0200 Subject: build assembly files --- prog/main.s | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 prog/main.s (limited to 'prog/main.s') diff --git a/prog/main.s b/prog/main.s deleted file mode 100644 index bbae5bb..0000000 --- a/prog/main.s +++ /dev/null @@ -1,24 +0,0 @@ -.section .text -.globl _start - -_start: - #la sp, stack_top - - #li a0, 10 - #li a1, 20 - #add a2, a0, a1 - addi t0, zero, 5 - addi t1, zero, 3 - add t2, t0, t1 - -halt_loop: - j halt_loop - -.section .data - - -.section .bss - -.section .stack - .space 0x1000 # Allocate stack space -stack_top: -- cgit v1.2.3