i can do the simple stuff when i use asm code in my dos
pb, but could someone help me with service 40h. like printing
a letter to screen is ok: asm mov ah,2
asm mov dl,&h45
asm int &h21
but when it comes to displaying a string to the display i'm
lost.
i tried the following code but it's not correct.
m$=chr$(&h74,&h69,&h6d)
l%=len(m$)
asm mov bx,&h0001
asm mov cx,l%
asm lea dx,m$
asm mov ah,&h40
asm int &h21
could someone show me the right way to use int 21h service 40h?
thank you.
------------------
pb, but could someone help me with service 40h. like printing
a letter to screen is ok: asm mov ah,2
asm mov dl,&h45
asm int &h21
but when it comes to displaying a string to the display i'm
lost.
i tried the following code but it's not correct.
m$=chr$(&h74,&h69,&h6d)
l%=len(m$)
asm mov bx,&h0001
asm mov cx,l%
asm lea dx,m$
asm mov ah,&h40
asm int &h21
could someone show me the right way to use int 21h service 40h?
thank you.
------------------
Comment