]> git.gag.com Git - fw/sdcc/blobdiff - as/mcs51/lkmem.c
* as/mcs51/lkmem.c: rflag is for DS390
[fw/sdcc] / as / mcs51 / lkmem.c
index 9ff0c161f9bf91956ce938565e31598dd2e114a7..661f611167ea5a74fb994b272c606923d1f53b02 100644 (file)
@@ -251,9 +251,8 @@ int summary(struct area * areap)
        }
 
        /*Report the position of the begining of the stack*/
-       /* TODO find flag for DS390 */
        fprintf(of, "\n%stack starts at: 0x%02lx (sp set to 0x%02lx)",
-               0 ? "16 bit mode initial s" : "S", Stack.Start, Stack.Start-1);
+               rflag ? "16 bit mode initial s" : "S", Stack.Start, Stack.Start-1);
 
        /*Check that the stack pointer is landing in a safe place:*/
        if( (dram[Stack.Start] & 0x8000) == 0x8000 )