From 5daee185ec57174285b273d0d4fe52d0b239593e Mon Sep 17 00:00:00 2001 From: crc Date: Tue, 5 Feb 2019 03:22:19 +0000 Subject: [PATCH] retro-extend (c) now displays an error on err:notfound FossilOrigin-Name: 4134203f3482f7a2cd2732b3e0ad27a2c1d253bbd16cc90b4763b1e1f570a027 --- tools/extend.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/extend.c b/tools/extend.c index ad63842..d8194ae 100644 --- a/tools/extend.c +++ b/tools/extend.c @@ -254,6 +254,9 @@ void execute(CELL cell) { ip = cell; while (ip < IMAGE_SIZE) { opcode = memory[ip]; + if (ip == notfound) { + printf("%s ?\n", string_extract(1025)); + } if (ngaValidatePackedOpcodes(opcode) != 0) { ngaProcessPackedOpcodes(opcode); } else {