add bonus rule and start making ft_atoi_base

This commit is contained in:
2025-03-31 17:38:21 +02:00
parent 3b97b88f9b
commit d341aa9341
5 changed files with 102 additions and 9 deletions

View File

@ -20,6 +20,7 @@ While doing this project, since I had never programmed in x86_64 assembly before
I mostly had trouble with remembering the order of the functions parameters in the registers, I kept going back to
[this stackoverflow thread](https://stackoverflow.com/questions/13901261/calling-assembly-function-from-c)
provided the order I needed. And in this thread I found information about the System V calling convention.
The order I needed was : rdi, rsi, rdx, rcx, r8, r9
During this project, I also needed to make system calls. To their parameters and numbers, I used [this page](https://blog.rchapman.org/posts/Linux_System_Call_Table_for_x86_64/) which has a table of all the system calls.