In the .data segment, something like this:

msg1 db '0','$'

msg2 db   'some messages',cr,lf
        db   'continued message.',s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,s,'$'


What's the ''$'' above mean?
Posted on 2005-12-08 21:01:48 by Eric4ever
Eric4ever,

I'm not exactly sure about the 's', it's probably some equate either earlier in the file or in one of the included files. The '$' is an MSDOS string terminator, as MSDOS strings aren't NULL terminated, rather terminated with the equivilent of $. For finding out what 's' is, look earlier in the file for something that starts out like:


s equ somevalue


That will most likely be what it's defined as. Sorry for not being able to give you any more information, as I don't have access to your source to know exactly what you have to work with. 'somevalue' will be the value of whatever s is (ie. 's' is replaced with 'somevalue' when it appears).

Regards,
Bryant Keller
Posted on 2005-12-08 21:12:26 by Synfire
Yes, I just find it out:), in the following there is a equ "s      equ    20h", it's just the Space character..

Thank you very much!  :) 

Yours gratefully Eric
Posted on 2005-12-08 21:22:11 by Eric4ever