I'm learning assembly language and I have a doubt. I'm programming a simple "hello world" with this code:
.model small
.stack
.data
message db 'Hello world! $'
.code
start:
mov dx,@data
mov ds.dx
lea dx,message
move ah,09h
int 21h
mov ax,4c00h
int 21h
end start
I'm assuming that message db 'Hello world! $'
works like a String, and now I'm wondering if it is possible to add something like \n to make the output in two lines, like this message db 'Hello\nworld! $'
. Is that possible?