-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[solved] Error occurred when I run bash CPUEmulator.sh
to test nand2tetris/projects/8/FunctionCalls/FibonacciElement/FibonacciElement.asm
#4
Comments
OccupyMars2025
referenced
this issue
May 5, 2024
try to debug: It is most probable that the generared .asm file has bugs in it. So I regenerate nand2tetris/projects/8/FunctionCalls/SimpleFunction/SimpleFunction.asm, and test it, the result is as followsAttention: the PC is 1151, but PC should be 132 or 133 at the end of execution1. Use CPUEmulator to execute it one line per step, found that writeReturn() generated code
|
Solution: ec372d1 |
OccupyMars2025
referenced
this issue
May 5, 2024
OccupyMars2025
changed the title
[TODO] Error occurred when I run
[solved] Error occurred when I run May 5, 2024
bash CPUEmulator.sh
to test nand2tetris/projects/8/FunctionCalls/FibonacciElement/FibonacciElement.asm
bash CPUEmulator.sh
to test nand2tetris/projects/8/FunctionCalls/FibonacciElement/FibonacciElement.asm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
commit: dd9ce20
The text was updated successfully, but these errors were encountered: