NASM Forum > Programming with NASM
How do I remove zero termination from a string
(1/1)
yoran:
I have a zero terminated string (''TEXT",0) and want to remove the zero-termination, how do I do this?
debs3759:
Move it one character at a time, and stop when you reach the 0.
What code have you tried? Are you writing a 16-, 32- or 64-bit app? Is it for Windows or Linux?
yoran:
16 Bit bare bones, and I have a function which I feed a string from a memaddress. However this function takes stringlen instead of zero-termination, so how do I remove the zero-termination?
Navigation
[0] Message Index
Go to full version