X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=listing.c;h=265f47cc32ab501070bd1b3f8641c6da535ed04e;hp=b3f40ddb44f13a35de646107aaa8814226def4a6;hb=2b2451777ddcb27f2b1c21c6551085a7a35e6701;hpb=4c9357ac95af4a645d42640d2bcae39cda56b581 diff --git a/listing.c b/listing.c index b3f40dd..265f47c 100644 --- a/listing.c +++ b/listing.c @@ -1,7 +1,7 @@ // // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System // LISTING.C - Listing Output -// Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2012 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source Utilised with the Kind Permission of Landon Dyer // ------------------------------------------------------------------------------------------------- @@ -256,10 +256,10 @@ void listeol(void) { LONG count; int fixcount; - DEBUG printf("~list: lsloc=$%lx sloc=$%lx\n", lsloc, sloc); + DEBUG printf("~list: lsloc=$%ux sloc=$%ux\n", lsloc, sloc); if(lsloc != sloc) { - sprintf(buf, "%08lx", lsloc); + sprintf(buf, "%08ux", lsloc); scopy(lnimage+LOC_COL, buf, 8); } @@ -296,7 +296,7 @@ void listeol(void) { uc_ln(lnimage); ship_ln(lnimage); lnfill(lnimage, SRC_COL, SPACE); // Fill with spaces - sprintf(buf, "%08lx", lsloc); + sprintf(buf, "%08ux", lsloc); scopy(lnimage+LOC_COL, buf, 8); } @@ -360,7 +360,7 @@ void lstout(char tag) { // int listvalue(VALUE v) { - sprintf(buf, "=%08lx", v); + sprintf(buf, "=%08ux", v); scopy(lnimage+DATA_COL-1, buf, 9); return(0); }