This is basicTest.cmp file:
|RAM[256]|RAM[300]|RAM[401]|RAM[402]|RAM[3006|RAM[3012|RAM[3015|RAM[11] |
| 472 | 10 | 21 | 22 | 36 | 42 | 45 | 510 |
and this is my basicTest.out file:
|RAM[256]|RAM[300]|RAM[401]|RAM[402]|RAM[3006|RAM[3012|RAM[3015|RAM[11] |
| 10 | 10 | 21 | 22 | 36 | 42 | 45 | 510 |
-----------------------------------------------
this is pointTest.cmp:
|RAM[256]| RAM[3] | RAM[4] |RAM[3032|RAM[3046|
| 6084 | 3030 | 3040 | 32 | 46 |
and this is pointTest.out:
|RAM[256]| RAM[3] | RAM[4] |RAM[3032|RAM[3046|
| 3030 | 3030 | 3040 | 32 | 46 |
--------------------------------------------------
I cross checked my vm to assembly translation in chatgpt and it says that everything is fine with the translation. When i compare the files in cpu emulator, the code runs till the end and says that error is at line 2. but shouldn't it stop where the error occurred? And sometimes the code runs even after the point where it should stop (the ticktock count in the tst script) and it very buggy in general (if that is causing any problem, in case):
I am first loading the test script in the cpu emulator and then loading the asm file. am i doing it right?
I can't find the problem in my asm file as well. please help me find the bug🙏