Then I translated it locally and watched its processing line by line. In the end my results were just the same to the results in .cmp (so locally my VMTranslator.py works as expected):
I know that it should be Stack = 6084, not Stack but it seems to be a mistake, because on line 11 in .vm program shown before we just add to get 1110 (seen in the first line of the stack). And then we move on to the next lines and work on them until the end of the program.
So it seems that my program output locally is:
|RAM[256(257)]| RAM | RAM |RAM[3032|RAM[3046|
| 6084 | 3030 | 3040 | 32 | 46 | I don't understand why my solution works differently locally and online. Would appreciate any help.