nice counting m9
This commit is contained in:
parent
fe4291b45f
commit
ecd9ae56dd
@ -81,7 +81,7 @@ with open(sys.argv[1], 'rb') as data:
|
|||||||
elif word == 2: #PUSH
|
elif word == 2: #PUSH
|
||||||
print('{:04x} push {}'.format(pos, readOp().get()))
|
print('{:04x} push {}'.format(pos, readOp().get()))
|
||||||
elif word == 3: #POP
|
elif word == 3: #POP
|
||||||
print('{:04x} pop {}'.format(pos, readOp().set()))
|
print('{:04x} pop {}'.format(pos, readOp().set()))
|
||||||
elif word == 4: #EQ
|
elif word == 4: #EQ
|
||||||
print('{:04x} eq {} {} {}'.format(pos, readOp().set(), readOp().get(), readOp().get()))
|
print('{:04x} eq {} {} {}'.format(pos, readOp().set(), readOp().get(), readOp().get()))
|
||||||
elif word == 5: #GT
|
elif word == 5: #GT
|
||||||
|
Reference in New Issue
Block a user