Commit Diff


commit - 6b6159b3a7745bae7fb9d8672cab8bbd9713ad3c
commit + 029e5020e2d2dd9254418183159333a6cfe4c69c
blob - 9759873ef06780b5766ea9435710f7c0f177c056
blob + 9cd2f7606d29f6fdcb30905320d6f34457860037
--- acid/port
+++ acid/port
@@ -37,7 +37,7 @@ defn params(param)
 {
 	while param do {
 		sym = head param;
-		print(sym[0], "=", itoa(sym[1], "%ux"));
+		print(sym[0], "=", itoa(sym[1], "%#ux"));
 		param = tail param;
 		if param then
 			print (",");
@@ -54,7 +54,7 @@ defn locals(l)
 
 	while l do {
 		sym = head l;
-		print(stkprefix, "\t", sym[0], "=", itoa(sym[1], "%ux"), "\n");
+		print(stkprefix, "\t", sym[0], "=", itoa(sym[1], "%#ux"), "\n");
 		l = tail l;
 	}	
 }
@@ -102,7 +102,7 @@ defn _stk(regs, dolocals)
 		params(paramlist);
 		print(")");
 		if pc != fn then
-			print("+", itoa(pc-fn, "%ux"));
+			print("+", itoa(pc-fn, "%#ux"));
 		print(" ");
 		pfl(pc);
 		if dolocals then