.text .globl main main: li $t0, 10 # ASCII-Zeichen für Returntaste loop: li $v0, 12 # Tastatur- syscall # eingabe beq $v0, $t0, Fertig # Returntaste? move $a0, $v0 li $v0, 11 # Bildschirm- syscall # ausgabe j loop # das Ganze # nochmal Fertig: li $v0, 10 # Programm syscall # beenden