Been working on Project 8 for a while and stuck on passing SimpleFunction and NestedCall. My answer is very close to both but for some reason, it keeps putting a -1 in my RAM register. For Nested call the correct output is | RAM | RAM | RAM | RAM | RAM | RAM | RAM |
| 261 | 261 | 256 | 4000 | 5000 | 135 | 246 |
While running the .tst I can see 135 in RAM but then 246 gets put in RAM and RAM gets a -1.
Since the value that should be being put into RAM is getting put into RAM, overwriting the correct value that had previously been placed there, I would first focus on why that value is being put into RAM.