this post was submitted on 05 Jul 2023
1 points (100.0% liked)

StrangeCode

1 readers
0 users here now

A place to post your own or strange open source code you found.

Rules:

founded 1 year ago
MODERATORS
 

This Code should calculate the "Frobenius number". When the arguments are missing its exiting.

This is done by using the Linux abi in which the return register of asm_exit_ret is used to set the rax register and the input 'i' to set the rdi register.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here