From f67834dd18859ed333c88360f4141a99dc7db5dd Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 28 May 2009 19:22:52 +0200 Subject: push for me --- ue4/mycpu/test/test3_program | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ue4/mycpu/test/test3_program (limited to 'ue4/mycpu/test/test3_program') 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 @@ +# set R2 = 10 +LOAD R2, R1 + +# start of loop +label Loop: +inc R3 +sub R4, R3, R2 +test R4 +jumpz EndLoop +write WDEZ, R3 +jumpa Loop + +label EndLoop: -- cgit v1.2.3