punjabian263
Thread Starter
- Joined
- Mar 13, 2003
- Messages
- 358
hello guys,
I am using int video interrupt 10h to display a string hello world, but problem is it runs infinit loop and
terminate with error message, cpu encountered an illegual operation... will close.
here is main proc
I am using int video interrupt 10h to display a string hello world, but problem is it runs infinit loop and
terminate with error message, cpu encountered an illegual operation... will close.
here is main proc
Code:
.model compact
.stack 100h
.data
msg DB 'Hello World!', 0 ; null terminated string.
.code
main proc
mov ax,@data
mov ds,ax
mov bh,0
CALL printstring
mov ah,4ch
int 20
main endp