]> git.gag.com Git - fw/sdcc/blobdiff - src/ds390/main.c
Many changes. Started a second pass to the register allocator & true 10bit stack
[fw/sdcc] / src / ds390 / main.c
index b905d3cee1e61b1c7042f96887cf471490b2dcf8..f343ebaf3031a7940b2c5de95995f4ddcbd53808 100644 (file)
@@ -105,9 +105,9 @@ _ds390_finaliseOptions (void)
     port->s.fptr_size = 3;
     port->s.gptr_size = 4;
 
-    port->stack.isr_overhead++;        /* Will save dpx on ISR entry. */
+    port->stack.isr_overhead += 2;     /* Will save dpx on ISR entry. */
 
-    port->stack.call_overhead++;       /* This acounts for the extra byte 
+    port->stack.call_overhead += 2;    /* This acounts for the extra byte 
                                 * of return addres on the stack.
                                 * but is ugly. There must be a 
                                 * better way.