Commit 721885dd authored by Trevor Cappallo's avatar Trevor Cappallo
Browse files

pop into b reg goes faster?

parent 3847cfd0
......@@ -142,10 +142,10 @@ class Skython(object):
elif op == 8: # POP
if sp > 0:
sp -= 1
a = output[sp]
b = output[sp]
elif sp == 0:
a = output[sp]
if a == self.MAGIC_NUMBER:
b = output[sp]
if b == self.MAGIC_NUMBER:
pc = self.MAX_PROG_SIZE
elif op == 9: # INC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment