Hi,
I am trying to push a constant "string" (4 bytes), onto the stack, but I need to "terminate" the string with bytes containing 0x00.
The string is something like "e!", and the assembled code should look like:
6865210000
I've tried:
PUSH 'e!\0\0'
but that doesn't seem to work (I get a warning from NASM, and it appears to be interpreting the "\0" literally, i.e., as two bytes).
Does anyone know how I can do this in NASM?
Thanks,
Jim