bug fix: csa descriptors contained upb instead of upb - lwb.
authorceriel <none@none>
Wed, 11 Feb 1987 16:05:25 +0000 (16:05 +0000)
committerceriel <none@none>
Wed, 11 Feb 1987 16:05:25 +0000 (16:05 +0000)
lang/basic/src.old/graph.c

index 545d499..ee0c86c 100644 (file)
@@ -220,7 +220,7 @@ int type;
        descr= genlabel();
        firstlabel=genlabel();
        fprintf(tmpfile,"l%d\n",descr); emlinecount++;
-       fprintf(tmpfile," rom *%d,1,%d\n",firstlabel,jumpcnt); emlinecount++;
+       fprintf(tmpfile," rom *%d,1,%d\n",firstlabel,jumpcnt-1); emlinecount++;
        l= jumphead;
        while( l)
        {
@@ -244,7 +244,7 @@ int type;
        descr= genlabel();
        firstlabel=genlabel();
        fprintf(tmpfile,"l%d\n",descr); emlinecount++;
-       fprintf(tmpfile," rom *%d,1,%d\n",firstlabel,jumpcnt); emlinecount++;
+       fprintf(tmpfile," rom *%d,1,%d\n",firstlabel,jumpcnt-1); emlinecount++;
        l= jumphead;
        while( l)
        {