resets the interpreter mind.
()
| 1285 | |
| 1286 | |
| 1287 | def 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 |