From 0b1acd59bcee9943ab419164ccb68d62693f1cfe Mon Sep 17 00:00:00 2001 From: hackbard Date: Tue, 22 Apr 2003 17:14:17 +0000 Subject: [PATCH] added part c) - waiting for dukes okay :) --- loesung1-2.s | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.2