Greetings..
I have finally started to try making something.
I am now trying to make a program, that does a string comparison, but i am having a bit of problem with the data sizes (i think :/)
Here are the parts of tha program related to that:
    
        mov     edx,input_buffer_size
        lea     rsi,[input_buffer]
        mov     edi,0
        mov     eax,0   ; see /usr/share/man/man2/read.2.gz
        syscall
 mov rax, input_buffer
 cmp qword[rax], '49' ; I want the input buffer to be compared with the string 49
 je lmsg2
;The messages etc..
;    .
;    .
;    .
segment readable writeable
input_buffer_size       =       0xFFFF
input_buffer            rb      input_buffer_size
    
 
The code assembles, but just doesnt work right..