We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
General
None
No response
I believe that the memory location of the return value from Fibonacci(4) should be 262 not 261.
See PR #546 for the VM version of this error.
There is a similar error in the Hack assembler version of the testing.
You should double-check this, since it seems suspicious that I am "discovering" this error at this point in the development.
Where is the master version of these files? I will be glad to file a PR against it.
In the assembler version, SP=256 at the start. Then the stack upon calling the Fibonacci function for the first time contains:
That means SP=262 at the start of the function call.
Both test scripts assert that the return value from the first Fibonacci function is at RAM[261], but I think it should be RAM[262].
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tool
General
Interface
None
Contact Details
No response
What happened?
I believe that the memory location of the return value from Fibonacci(4) should be 262 not 261.
See PR #546 for the VM version of this error.
There is a similar error in the Hack assembler version of the testing.
You should double-check this, since it seems suspicious that I am "discovering" this error at this point in the development.
Where is the master version of these files? I will be glad to file a PR against it.
Details
In the assembler version, SP=256 at the start.
Then the stack upon calling the Fibonacci function for the first time contains:
That means SP=262 at the start of the function call.
Both test scripts assert that the return value from the first Fibonacci function is at RAM[261], but I think it should be RAM[262].
Additional Comments
No response
Do you want to try to fix this bug?
Code of Conduct
The text was updated successfully, but these errors were encountered: