diff options
| author | manuel <manuel@nc8430.lan> | 2009-05-14 18:15:28 +0200 |
|---|---|---|
| committer | manuel <manuel@nc8430.lan> | 2009-05-14 18:15:28 +0200 |
| commit | ad6ca84f6e93f983de926ae71f31f42325986f61 (patch) | |
| tree | a28df3e6aa600fc7eec4194bc81dbda930de6c8f /ue3/mycpu/test/program1 | |
| parent | 9e7c204525a50f36ba7aa7563f1a9702d0bb6f44 (diff) | |
| download | ooprog-ad6ca84f6e93f983de926ae71f31f42325986f61.tar.gz ooprog-ad6ca84f6e93f983de926ae71f31f42325986f61.tar.bz2 ooprog-ad6ca84f6e93f983de926ae71f31f42325986f61.zip | |
* making cdisplay a template
* adding some asserts
* adding classdiagramm and protokoll
* fixing protokoll.pdf in ue1
Diffstat (limited to 'ue3/mycpu/test/program1')
| -rw-r--r-- | ue3/mycpu/test/program1 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ue3/mycpu/test/program1 b/ue3/mycpu/test/program1 deleted file mode 100644 index ae5e9d2..0000000 --- a/ue3/mycpu/test/program1 +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | # set R2 = 10 | ||
| 2 | LOAD R2, R1 | ||
| 3 | |||
| 4 | # start of loop | ||
| 5 | label Loop: | ||
| 6 | inc R3 | ||
| 7 | sub R4, R3, R2 | ||
| 8 | test R4 | ||
| 9 | jumpz EndLoop | ||
| 10 | write WDEZ, R3 | ||
| 11 | jumpa Loop | ||
| 12 | |||
| 13 | label EndLoop: | ||
