Skip to content

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

Merged
merged 4 commits into from
Oct 16, 2018
Merged

Conversation

Gathros
Copy link
Contributor

@Gathros Gathros commented Oct 12, 2018

No description provided.

@Gathros Gathros added Implementation This provides an implementation for an algorithm. (Code and maybe md files are edited.) Hacktoberfest The label for all Hacktoberfest related things! labels Oct 12, 2018
add rsp, 800 # Deallocating array
pop rbp
xor rax, rax
ret
Copy link

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
Copy link

@Liikt Liikt Oct 14, 2018

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

@Liikt
Copy link

Liikt commented Oct 15, 2018

Well apart from the weird error I still get, this is okay.

@zsparal
Copy link
Contributor

zsparal commented Oct 15, 2018

I get the newline warning as well. They should be there according to the .editorconfig anyway so might as well add it @Gathros

@Liikt Liikt merged commit 81021d7 into algorithm-archivists:master Oct 16, 2018
@Gathros Gathros deleted the euler_asm branch October 20, 2018 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest The label for all Hacktoberfest related things! Implementation This provides an implementation for an algorithm. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants