I want to pick out certain character out of a string stored in memory, but don't know how
str    db "hello",0
mov    rdi,str
call   puts
when I do this I get the output hello, but I want to know how to get the first character out. For example how do I move the first character h saved in some register?