mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-21 06:30:15 +00:00
Interactive assembler continues at same address on error.
This commit is contained in:
parent
87de997a78
commit
475c929011
@ -239,8 +239,8 @@ class Monitor(cmd.Cmd):
|
|||||||
|
|
||||||
bytes = self._assembler.assemble(line)
|
bytes = self._assembler.assemble(line)
|
||||||
if bytes is None:
|
if bytes is None:
|
||||||
self._output("Assemble failed: %s\n" % line)
|
self.stdout.write("\r$%04x ???\n" % start)
|
||||||
return
|
continue
|
||||||
|
|
||||||
end = start + len(bytes)
|
end = start + len(bytes)
|
||||||
self._mpu.memory[start:end] = bytes
|
self._mpu.memory[start:end] = bytes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user