Add warning message
This commit is contained in:
parent
447f6e75d2
commit
2d64967f2e
|
@ -90,4 +90,6 @@ while True:
|
||||||
elif len(instruction) != 0:
|
elif len(instruction) != 0:
|
||||||
print("Found suspiciously long instruction \"" + " ".join(instruction) + "\"")
|
print("Found suspiciously long instruction \"" + " ".join(instruction) + "\"")
|
||||||
rs["ip"] += 1
|
rs["ip"] += 1
|
||||||
|
if rs["sp"] != 0:
|
||||||
|
print("WARNING - Stack was not empty at program exit")
|
||||||
debug()
|
debug()
|
||||||
|
|
Loading…
Reference in New Issue