Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

some troubles in tasm code

Status
Not open for further replies.

mslider71

Programmer
Feb 24, 2015
1
FR
-hi,

i have some troubles with this code:

Code:
.MODEL Tiny
.CODE
ORG		 100h

Start:

Repeat:
mov	   al,'.'
int		 29h		  

mov	  ah,86h
xor		cx,cx
mov	   dx,50000
int		  15h
mov		ah,1
int		  16h	
jz		   Repeat
xor		 ah,ah
int		  16h

cmp		ax,011Bh  
jne		 Repeat 
int		  20h	 
END				 Start

it compiles fine with tasm, but when running it print an infinite lines of point '.'
How to fix the number of lines to print ?

help

thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top