codea: w00t... snafu_03 geht _ENDLICH_ *pardy* :)))
[uebersetzerbau-ss10.git] / codea / code.bfe
index 84d8db4c3f0feaf58c925e29fdbb1818876aab61..e5677b20c14078702fe9177e5f7d5429c248bf54 100644 (file)
@@ -153,13 +153,15 @@ void gen_subspecial(struct treenode *bnode, short e)
 {
        /* tritt z.b. bei snafu_05.0 auf */
        printf("\t//gen_subspecial(%i)\n", e);
-       if (!e)
-               KIDREG2ID(0);
+       KIDREG2ID(0);
        KIDKIDREG2PARM(1,0);
-       if(e)
+
+       if(e) {
                printf("\tsubq $%d, %%%s\n", KIDKID_VAL(1,0), BN_REG);
-       else
+       } else {
                printf("\tsubq %%%s, %%%s\n", KIDKID_REG(1,0), BN_REG);
+       }
+       if(e) KIDKIDREG2PARM(1,1);
        printf("\taddq %%%s, %%%s\n", KIDKID_REG(1,1), BN_REG);
 }