Adds a way to simulate the programs with spike, to compare PCs and debug

This commit is contained in:
2025-11-15 00:57:30 +01:00
parent ca03b29774
commit 0c377a1380
8 changed files with 77 additions and 76 deletions

View File

@@ -4,13 +4,8 @@
_start:
# réservation d'une (petite) zone de mémoire pour la pile
la sp, stack + STACK_SIZE
la sp, _stack_start
# appel de main, sans espoir de retour !
jal main
1: j 1b
.bss
.align 4
.global stack
stack:
.skip STACK_SIZE
.data
.bss