1
0
mirror of https://github.com/mnaberez/py65.git synced 2025-01-02 03:29:26 +00:00

Interactive assembler continues at same address on error.

This commit is contained in:
Mike Naberezny 2009-08-21 21:01:09 -07:00
parent 87de997a78
commit 475c929011

View File

@ -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