changed case to use the new tolower

This commit is contained in:
zombie maniac 2021-11-27 04:43:03 -05:00
parent 8a38471452
commit 45984f8782
2 changed files with 3 additions and 5 deletions

View file

@ -11,20 +11,18 @@ section .text
main:
sub rsp, 8 ;enter
cmp rdi, 2
jne _argument_error ;if its not exactly 2 then exit
add rsi, 8 ;get the second argument because the first argument is the path
mov r8, [rsi] ;this block here fenagles the pointer into memeory instead of a register
mov [tempstore], r8 ; i also really with i had the abilty to mov [thing1], [thing2]
mov rdi, r8 ; i also really with i had the abilty to mov [thing1], [thing2]
mov rdi, [tempstore]
call libz_tolower ;libz_tolower modifies the text you send it
mov rdi, [tempstore]
mov rdi, rax
cld
call puts ;this is the puts way of printing a string

@ -1 +1 @@
Subproject commit 048a43083ab59b05f5139f0e21617a08a22550bf
Subproject commit 0428078991057ebf2be8ef4c84094ee33a548468