added all example programs
This commit is contained in:
4
beispielprogramme/5.txt
Normal file
4
beispielprogramme/5.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
addi x1, x0, 5 # x1 = 5 (Zaehler)
|
||||
loop:
|
||||
addi x1, x1, −1 # x1 −= 1
|
||||
bne x1 , x0, loop # solange x1 != 0 , wiederhole
|
||||
Reference in New Issue
Block a user