FibonacciElement Test success
SimpleFunction Test success
StaticsTest Test success
NestedCall Test failure
I compared the results of VM emulator and CPU emulator and found that the temp segment was not correct.
This is two pictures of the CPU test.
![](http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/file/n4032396/cpu1.png)
![](http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/file/n4032396/cpu2.png)
This is a picture of the VM test.
![](http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/file/n4032396/vm.png)
I checked the code of my VM translator again, but I still couldn't find the problem.
I hope someone can give me some help and point out where my problems are located.
Thank you very much