-
-
Notifications
You must be signed in to change notification settings - Fork 360
Forward euler in x86_64 #503
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
Conversation
add rsp, 800 # Deallocating array | ||
pop rbp | ||
xor rax, rax | ||
ret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please insert a newline to avoid warnings
if_false: | ||
add r13, 1 | ||
loop_check: | ||
cmp r13, r14 # Check if index is less the array size |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole check doesn't work. You need to change line 69 into add 12, 1
and line 71 into cmp r12, r13
because r13 is your array_size and r12 the loopcounter
Well apart from the weird error I still get, this is okay. |
I get the newline warning as well. They should be there according to the |
No description provided.