X-Git-Url: https://hackdaworld.org/gitweb/?p=info3%2Fasm.git;a=blobdiff_plain;f=loesung4-2.s;h=d467535b7b3a8c3bfcf2c7a0c98ce33134bac54b;hp=10607e112ef80df79af749d2f6224fbe00871356;hb=refs%2Fheads%2Fmaster;hpb=a31e5278c5acbdca58ddf8cca1c131a3928f3122 diff --git a/loesung4-2.s b/loesung4-2.s index 10607e1..d467535 100644 --- a/loesung4-2.s +++ b/loesung4-2.s @@ -1,6 +1,9 @@ ; blatt 4 ; aufgabe 2 +; hier mach ich nicht wirklich intervallschachtelung. +; daher folgt das mit intervallschachtelung gleich im anschluss. + .data text: .asciiz "input: " .align 2 @@ -19,9 +22,6 @@ loop: addi r2,r2,1 add r3,r0,r1 mult r6,r2,r2 -j check - -check: beqz r3,end beqz r6,loop subi r6,r6,1