Hi, this post might be very poor, but I cant find it anywhere so I decided to ask here, if this question is really bad, just deleted this topic. I just started with nasm and I am able to print string what I need in this way
section .bss
section .data
string: db "some string",0
string_l: equ $-string
section .text
global _start
_start:
mov eax, 4
mov ebx, 1
mov ecx, string
mov edx, string_l
int 80h
mov eax, 1
mov ebx, 0
int 80h
But I am try to display only first character, I tried [string+1].
And what if I wanted to display N element of string?
Thanks a lot!