From: hackbard Date: Tue, 22 Apr 2003 15:25:20 +0000 (+0000) Subject: - X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89a03487325a938b48f1d881ce366cc88e0592dc;p=info3%2Fasm.git - --- diff --git a/loesung1-1.s b/loesung1-1.s new file mode 100644 index 0000000..e2ccd27 --- /dev/null +++ b/loesung1-1.s @@ -0,0 +1,16 @@ +; blatt 1 + +; aufgabe 1 +; a) +addi r1,r0,1 +addi r2,r0,15 +add r3,r1,r2 + +; b) +addi r4,r0,64 +sw 0x200,r4 +lw r5,0x200 ; wir sollen es ja nochmal laden +sll r6,r5,1 +;add r6,r5,r5 +sw 0x220,r6 + diff --git a/loesung1.s b/loesung1.s deleted file mode 100644 index c9a7608..0000000 --- a/loesung1.s +++ /dev/null @@ -1,20 +0,0 @@ -; blatt 1 - -; aufgabe 1 -; a) -addi r1,r0,1 -addi r2,r0,15 -add r3,r1,r2 - -; b) -addi r4,r0,0x200 -addi r5,r0,64 -sw (r4),r5 -lw r6,(r4) ; dabei stehts ja schon in r5 -add r7,r6,r6 -addi r8,r0,0x220 -sw (r8),r7 - -; aufgabe 2 -; a) -