diff d09.c @ 52:51b437557f42

boot without disk image dir -e on other directory
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 22 Jul 2018 15:52:39 +0900
parents 01519215ec70
children
line wrap: on
line diff
--- a/d09.c	Sun Jul 22 05:48:04 2018 +0900
+++ b/d09.c	Sun Jul 22 15:52:39 2018 +0900
@@ -1375,7 +1375,7 @@
 		  s = "-";
 		  offset=0xffff-offset+1;
 		}
-		fprintf(fp,"%0.2X %0.2X %0.2X %0.2X %s%s       %s$%0.4X,%s",
+		fprintf(fp,"%0.2X %0.2X %0.2X %0.2X %s%s       [%s$%0.4X,%s]",
 			code, postbyte, prog[pc+2], prog[pc+3], suffix, op->name, s, offset,
 		IndexRegister(postbyte));
 		extrabytes = 2;