]> hackdaworld.org Git - info3/asm.git/commitdiff
added part c) - waiting for dukes okay :)
authorhackbard <hackbard>
Tue, 22 Apr 2003 17:14:17 +0000 (17:14 +0000)
committerhackbard <hackbard>
Tue, 22 Apr 2003 17:14:17 +0000 (17:14 +0000)
loesung1-2.s

index f570cf64fa526a429c6670c6707fc39e30cc295c..0d14d5bb377348c47429c04ddb15bae56403939d 100644 (file)
@@ -33,5 +33,15 @@ sw 0x220,r1
 
 ; c)
 
+addi r1,r0,inputtext
+jal InputUnsigned
+add r2,r0,r1
+addi r1,r0,inputtext
+jal InputUnsigned
+add r3,r2,r1
+add r1,r0,r3
+addi r14,r0,outputtextaddr
+trap 5
+
 trap 0