I'm trying to learn something about assembly.
I found this code:
message db '.....Hello World.....',13,10,0
what is the meaning of the numbers after the text?

Everything after db is a byte. This sequence of bytes is obviously meant to be used as a character string, so everything in it is a character.

13, 10 is the ASCII character codes for CR and LF, meaning Carriage Return and Line Feed. In other words, it will print "....Hello world...." and then move the cursor to the beginning of the next line.

In C it is the same as "....Hello world....\n".

Hope this helps.

[EDIT]
Oh yeah, the zero means 'end of string'. Strings are often stored as ASCIIZ, meaning they are ASCII character codes and terminated with a zero.

ok i understood.
thanks :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.