MASM : How do you declare a string with carriage return?

I would like to know if it is possible in MASM to write special character in string.

HelloWorld db "Hello World!\r\n", 0

Would be an intuitive way but it does not work. Thanks.

Answers


The ASCII codes for CR and LF are 13 and 10, so:

HelloWorld db "Hello World!",13,10,0

Need Your Help

@font-family CSS specification in rails, Not displaying the proper font

css ruby-on-rails fonts ruby-on-rails-4 assets

What I have at the moment is a fonts folder in the following path: app/assets/fonts.

How to store time duration values in MySQL as the TIME datatype?

mysql sql time duration

I need to store song durations in minutes/seconds, I need to use TIME, but how would I refer to a certain duration when I am writing an INSERT statement? My datatype in the table is already TIME, s...