summaryrefslogtreecommitdiffstats
path: root/ue3/mycpu/test
diff options
context:
space:
mode:
Diffstat (limited to 'ue3/mycpu/test')
-rw-r--r--ue3/mycpu/test/test_prog2
-rw-r--r--ue3/mycpu/test/test_prog_mem7
2 files changed, 8 insertions, 1 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:
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 @@
110 19
23
34
45
54
63