Hi
I have a code like this:
Code:
segment .data
msg db 'Why u dont work?', 0
msg_len db $-msg
And I would like to write each byte of the msg to certain memory locations one by one.
Eg:
The first byte og the msg (containing the hex for W ASCII) would go to 0xb800:0x00
and the second to 0xb800:0x02
and so on...
How do I do that?
I tried this:
mov ax, [msg] but the value of ax was NULL.
Tried this:
mov ax, [msg:0x00] nothing... What am I doing wrong?