ref: 2f6992e581ba599c2bcd14a04013b335269a542a
parent: 4c2dee977b6510bea2600763a794b60c798e0d25
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Mar 16 02:59:27 EDT 2015
Fix bug in output of AUTO variables Some times variables in stack are positive, but other time they are negative, so we don't have to force a sign in the fmt but put the format modifier to force printf to put always the correct sign.
--- a/cc2/code.c
+++ b/cc2/code.c
@@ -142,7 +142,7 @@
break;
case PAR:
case AUTO:
- printf("(IX+%d)", a->u.i);
+ printf("(IX%+d)", a->u.i);
break;
case INDEX:
fputs("(HL)", stdout);