Add warning message

This commit is contained in:
Niles Rogoff 2017-07-02 14:27:00 -07:00
parent 447f6e75d2
commit 2d64967f2e
No known key found for this signature in database
GPG Key ID: B78B908F23430F80
1 changed files with 2 additions and 0 deletions

View File

@ -90,4 +90,6 @@ while True:
elif len(instruction) != 0:
print("Found suspiciously long instruction \"" + " ".join(instruction) + "\"")
rs["ip"] += 1
if rs["sp"] != 0:
print("WARNING - Stack was not empty at program exit")
debug()