From: hackbard Date: Tue, 22 Apr 2003 17:14:17 +0000 (+0000) Subject: added part c) - waiting for dukes okay :) X-Git-Url: https://www.hackdaworld.org/gitweb/?p=info3%2Fasm.git;a=commitdiff_plain;h=0b1acd59bcee9943ab419164ccb68d62693f1cfe added part c) - waiting for dukes okay :) --- diff --git a/loesung1-2.s b/loesung1-2.s index f570cf6..0d14d5b 100644 --- a/loesung1-2.s +++ b/loesung1-2.s @@ -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