From 475c92901191c0bb9edddcaca47ad0a821506ea0 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Fri, 21 Aug 2009 21:01:09 -0700 Subject: [PATCH] Interactive assembler continues at same address on error. --- src/py65/monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/py65/monitor.py b/src/py65/monitor.py index 2c2f129..5483b44 100644 --- a/src/py65/monitor.py +++ b/src/py65/monitor.py @@ -239,8 +239,8 @@ class Monitor(cmd.Cmd): bytes = self._assembler.assemble(line) if bytes is None: - self._output("Assemble failed: %s\n" % line) - return + self.stdout.write("\r$%04x ???\n" % start) + continue end = start + len(bytes) self._mpu.memory[start:end] = bytes