I've started relearning ASM, I didn't realise just how much I'd forgotten over the years 
Anyway, I'm using NASM and we'll assume x86 Linux for now, I remember some bits and pieces and I've managed to figure a few things out reading example code online, but there are a few things which I'm slightly confused about and was wondering if anyone could elaborate on what things were doing (if you can explain it in C terms that's even better)! My experience comes mainly from programming micro controllers so obviously there are bits and pieces which I've not needed in the past.
My first issue is working with variable strings, I can't remember if this is possible but typing all my strings in the data segment is getting tedious, can I move a string of letters into a resb 256 for example?
Basically this into ASM:
for example.
Second is modifying individual bits, how would one go about it?
I'm aware I could probably figure these out using a disassembler, but would rather ask here.
There is more, however I'm hoping that I'll be able to figure that out myself I've got these 2 bases covered, if not I'll be posting back

Anyway, I'm using NASM and we'll assume x86 Linux for now, I remember some bits and pieces and I've managed to figure a few things out reading example code online, but there are a few things which I'm slightly confused about and was wondering if anyone could elaborate on what things were doing (if you can explain it in C terms that's even better)! My experience comes mainly from programming micro controllers so obviously there are bits and pieces which I've not needed in the past.
My first issue is working with variable strings, I can't remember if this is possible but typing all my strings in the data segment is getting tedious, can I move a string of letters into a resb 256 for example?
Basically this into ASM:
Code:
strcpy(string, "Hello World!");
Second is modifying individual bits, how would one go about it?
I'm aware I could probably figure these out using a disassembler, but would rather ask here.
There is more, however I'm hoping that I'll be able to figure that out myself I've got these 2 bases covered, if not I'll be posting back
