summaryrefslogtreecommitdiffstats
path: root/ue4/mycpu/test/test3_program
diff options
context:
space:
mode:
authormanuel <manuel@nc8430.lan>2009-05-28 19:22:52 +0200
committermanuel <manuel@nc8430.lan>2009-05-28 19:22:52 +0200
commitf67834dd18859ed333c88360f4141a99dc7db5dd (patch)
treef668d395e258ce9601ddde380b85e9369265dedb /ue4/mycpu/test/test3_program
parent064eaaed391835d0e0d057466f6f552e43e79bd8 (diff)
downloadooprog-f67834dd18859ed333c88360f4141a99dc7db5dd.tar.gz
ooprog-f67834dd18859ed333c88360f4141a99dc7db5dd.tar.bz2
ooprog-f67834dd18859ed333c88360f4141a99dc7db5dd.zip
push for me
Diffstat (limited to 'ue4/mycpu/test/test3_program')
-rw-r--r--ue4/mycpu/test/test3_program13
1 files changed, 13 insertions, 0 deletions
diff --git a/ue4/mycpu/test/test3_program b/ue4/mycpu/test/test3_program
new file mode 100644
index 0000000..ae5e9d2
--- /dev/null
+++ b/ue4/mycpu/test/test3_program
@@ -0,0 +1,13 @@
1# set R2 = 10
2LOAD R2, R1
3
4# start of loop
5label Loop:
6inc R3
7sub R4, R3, R2
8test R4
9jumpz EndLoop
10write WDEZ, R3
11jumpa Loop
12
13label EndLoop: