MCPcopy Create free account
hub / github.com/geekcomputers/Python / resetInterpreter

Function resetInterpreter

Assembler/assembler.py:1287–1303  ·  view source on GitHub ↗

resets the interpreter mind.

()

Source from the content-addressed store, hash-verified

1285
1286
1287def resetInterpreter():
1288 """
1289 resets the interpreter mind.
1290 """
1291 global eax, ebx, ecx, edx, zeroFlag, stack
1292 global variables, jumps, lines, tokens, returnStack
1293 eax = 0
1294 ebx = 0
1295 ecx = 0
1296 edx = 0
1297 zeroFlag = False
1298 stack = []
1299 jumps = {}
1300 variables = {}
1301 lines = []
1302 tokens = []
1303 returnStack = []
1304
1305
1306# DEBUG FUNCTION

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected