summaryrefslogtreecommitdiffstats
path: root/ue3/mycpu/test/test_prog
diff options
context:
space:
mode:
authorGünther Neuwirth <e0626638@student.tuwien.ac.at>2009-05-12 23:00:03 +0200
committerGünther Neuwirth <e0626638@student.tuwien.ac.at>2009-05-12 23:00:03 +0200
commitddf63e2765a6b225d18c59321595e69e1a126e0c (patch)
tree36336d5b3a1f0af0f9c2782351e30efe31bcf159 /ue3/mycpu/test/test_prog
parente41c92320aef4a54b7f3b323f7302b180019b6d7 (diff)
downloadooprog-ddf63e2765a6b225d18c59321595e69e1a126e0c.tar.gz
ooprog-ddf63e2765a6b225d18c59321595e69e1a126e0c.tar.bz2
ooprog-ddf63e2765a6b225d18c59321595e69e1a126e0c.zip
adding tha rest
Diffstat (limited to 'ue3/mycpu/test/test_prog')
-rw-r--r--ue3/mycpu/test/test_prog2
1 files changed, 2 insertions, 0 deletions
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 @@
1# set R2 = 10 1# set R2 = 10
2
2load R2, R1 3load R2, R1
3 4
4# start of loop 5# start of loop
@@ -8,6 +9,7 @@ sub R4, R3, R2
8test R4 9test R4
9jumpz EndLoop 10jumpz EndLoop
10write WDEZ, R3 11write WDEZ, R3
12store R3, R1
11jumpa Loop 13jumpa Loop
12 14
13label EndLoop: 15label EndLoop: