From: Bernhard Urban Date: Tue, 18 May 2010 02:32:52 +0000 (+0200) Subject: codea: besserer call @ snafu_03 und update fuer einige referenzwerte X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=testub10.git;a=commitdiff_plain;h=54ed1b28ca35a8757d25db774763672e95db80f1 codea: besserer call @ snafu_03 und update fuer einige referenzwerte --- diff --git a/codea/intelli_00.instr b/codea/intelli_00.instr index 8351c19..48082f7 100644 --- a/codea/intelli_00.instr +++ b/codea/intelli_00.instr @@ -1 +1 @@ -14 +12 diff --git a/codea/intelli_03.instr b/codea/intelli_03.instr index b4de394..45a4fb7 100644 --- a/codea/intelli_03.instr +++ b/codea/intelli_03.instr @@ -1 +1 @@ -11 +8 diff --git a/codea/intelli_05.instr b/codea/intelli_05.instr index 1e8b314..7ed6ff8 100644 --- a/codea/intelli_05.instr +++ b/codea/intelli_05.instr @@ -1 +1 @@ -6 +5 diff --git a/codea/intelli_06.instr b/codea/intelli_06.instr index 1e8b314..b8626c4 100644 --- a/codea/intelli_06.instr +++ b/codea/intelli_06.instr @@ -1 +1 @@ -6 +4 diff --git a/codea/intelli_08.instr b/codea/intelli_08.instr index 1e8b314..7ed6ff8 100644 --- a/codea/intelli_08.instr +++ b/codea/intelli_08.instr @@ -1 +1 @@ -6 +5 diff --git a/codea/lewurm_02.instr b/codea/lewurm_02.instr index 45a4fb7..7f8f011 100644 --- a/codea/lewurm_02.instr +++ b/codea/lewurm_02.instr @@ -1 +1 @@ -8 +7 diff --git a/codea/lewurm_14.instr b/codea/lewurm_14.instr index a45fd52..2bd5a0a 100644 --- a/codea/lewurm_14.instr +++ b/codea/lewurm_14.instr @@ -1 +1 @@ -24 +22 diff --git a/codea/mrstrcmp_03.instr b/codea/mrstrcmp_03.instr index b8626c4..0cfbf08 100644 --- a/codea/mrstrcmp_03.instr +++ b/codea/mrstrcmp_03.instr @@ -1 +1 @@ -4 +2 diff --git a/codea/mrstrcmp_04.instr b/codea/mrstrcmp_04.instr index b8626c4..0cfbf08 100644 --- a/codea/mrstrcmp_04.instr +++ b/codea/mrstrcmp_04.instr @@ -1 +1 @@ -4 +2 diff --git a/codea/mrstrcmp_05.instr b/codea/mrstrcmp_05.instr index b8626c4..0cfbf08 100644 --- a/codea/mrstrcmp_05.instr +++ b/codea/mrstrcmp_05.instr @@ -1 +1 @@ -4 +2 diff --git a/codea/mrstrcmp_07.instr b/codea/mrstrcmp_07.instr index b8626c4..0cfbf08 100644 --- a/codea/mrstrcmp_07.instr +++ b/codea/mrstrcmp_07.instr @@ -1 +1 @@ -4 +2 diff --git a/codea/skinner33_04.instr b/codea/skinner33_04.instr index 3b20426..b16e5f7 100644 --- a/codea/skinner33_04.instr +++ b/codea/skinner33_04.instr @@ -1 +1 @@ -108 +104 diff --git a/codea/skinner33_06.instr b/codea/skinner33_06.instr index 3b20426..b16e5f7 100644 --- a/codea/skinner33_06.instr +++ b/codea/skinner33_06.instr @@ -1 +1 @@ -108 +104 diff --git a/codea/skinner33_07.instr b/codea/skinner33_07.instr index 69a893a..abdfb05 100644 --- a/codea/skinner33_07.instr +++ b/codea/skinner33_07.instr @@ -1 +1 @@ -66 +60 diff --git a/codea/skinner33_08.instr b/codea/skinner33_08.instr index 69a893a..abdfb05 100644 --- a/codea/skinner33_08.instr +++ b/codea/skinner33_08.instr @@ -1 +1 @@ -66 +60 diff --git a/codea/snafu_03.call b/codea/snafu_03.call index 6fa61c0..e5891be 100644 --- a/codea/snafu_03.call +++ b/codea/snafu_03.call @@ -1,4 +1,16 @@ long Long(long this, long, long, long, long, long); +long Loong(long this, long, long, long, long, long); +long Looong(long this, long, long, long, long, long); -RET( (Long(0xDEAD, 23, 66, 1024, 9999999, 65535) == 9935366) && (Loong(0xDEAD, 11, 22, 33, 44, 55) == 10) - && (Looong(0xDEAD, 34, 92934, 2991, 12389, 72281) == 11309) ); +long erw1 = 9935366; +long erw2 = 10; +long erw3 = 11309; +long ret1 = Long(0xDEAD, 23, 66, 1024, 9999999, 65535); +long ret2 = Loong(0xDEAD, 11, 22, 33, 44, 55); +long ret3 = Looong(0xDEAD, 34, 92934, 2991, 12389, 72281); + +printf("Long(erwartet: %i) : %i\n", erw1, ret1); +printf("Loong(erwartet: %i) : %i\n", erw2, ret2); +printf("Looong(erwartet: %i) : %i\n", erw3, ret3); + +RET(ret1 == erw1 && ret2 == erw2 && ret3 == erw3); diff --git a/codea/snafu_03.instr b/codea/snafu_03.instr index 59343b0..c739b42 100644 --- a/codea/snafu_03.instr +++ b/codea/snafu_03.instr @@ -1 +1 @@ -53 +44 diff --git a/codea/snafu_04.instr b/codea/snafu_04.instr index 209e3ef..3c03207 100644 --- a/codea/snafu_04.instr +++ b/codea/snafu_04.instr @@ -1 +1 @@ -20 +18