From ddf63e2765a6b225d18c59321595e69e1a126e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Neuwirth?= Date: Tue, 12 May 2009 23:00:03 +0200 Subject: adding tha rest --- ue3/mycpu/test/test_prog | 2 ++ ue3/mycpu/test/test_prog_mem | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'ue3/mycpu/test') diff --git a/ue3/mycpu/test/test_prog b/ue3/mycpu/test/test_prog index 74dac21..b50575b 100644 --- a/ue3/mycpu/test/test_prog +++ b/ue3/mycpu/test/test_prog @@ -1,4 +1,5 @@ # set R2 = 10 + load R2, R1 # start of loop @@ -8,6 +9,7 @@ sub R4, R3, R2 test R4 jumpz EndLoop write WDEZ, R3 +store R3, R1 jumpa Loop label EndLoop: diff --git a/ue3/mycpu/test/test_prog_mem b/ue3/mycpu/test/test_prog_mem index f599e28..8c3e80f 100644 --- a/ue3/mycpu/test/test_prog_mem +++ b/ue3/mycpu/test/test_prog_mem @@ -1 +1,6 @@ -10 +9 +3 +4 +5 +4 +3 -- cgit v1.2.3