Hi,Everybody!

I am a Beginner Of MASM,But I Real like it!

Maybe it's a foolish Question to you,however i

want to knowhow can i display two row text in asm file!

n case you may well don't read me! i give the simple ASM

file blew:

STACK SEGMENT STACK
DB 200 DUP(0)
STACK ENDS
DATA SEGMENT
BUF DB 'HELLO! sCHZhangGX Welcome To --==MASM==-- World ????$'
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA,SS:STACK
START: MOV AX,DATA
MOV DS,AX
LEA DX,BUF
Mov AH,9
INT 21H
MOV AH,4CH
INT 21H
CODE ENDS
END START

if i want to display some text in second Row Below "'HELLO! sCHZhangGX Welcome ......." What should I Do!!

Thanks A lot!!!!

:stupid:
Posted on 2002-05-14 12:00:01 by sCHZhangGX
buf db 'HELLO! sCHZhangGX Welcome To --==MASM==-- World ????0d0a', 0dh, 0ah,'some text$'
Posted on 2002-05-14 12:07:14 by bdjames
Isn't it done like this:

BUF DB 'HELLO! sCHZhangGX Welcome To,13,10
db '--==MASM==-- World ????$',0

or whatever the carriage return and line feed ascii codes are. Also, I'm not sure if 13 and 10 are the decimal values or hex. Anyways it's something like that. You just add the carriage return and line feed chars where you want the break to be.

edit:I'm too darn slow today. Apparently the values are 13 and 10 in decimal after all though. :)
Posted on 2002-05-14 12:08:41 by Will
BUF DB 'HELLO! sCHZhangGX Welcome To,13,10

you have to close the ' before 13, 10.

Anyway 13, 10 is the same as doing 0dh, 0ah
Posted on 2002-05-14 12:14:06 by Kudos
??????????
??
?????????????????????????

????????????:alright:
Posted on 2002-05-15 04:36:16 by sCHZhangGX