fixes and "slt" command added

This commit is contained in:
black
2025-07-10 07:47:05 +02:00
parent 35b434ec77
commit e1dcd693bd
5 changed files with 32 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
addi x1, x0, 5 # x1 = 5 (Zaehler)
loop:
addi x1, x1, 1 # x1 = 1
bne x1 , x0, loop # solange x1 != 0 , wiederhole
bne x1, x0, loop # solange x1 != 0 , wiederhole