Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 26th, 2005, 1:38 AM   #1
sheeba
Newbie
 
Join Date: Mar 2005
Posts: 8
Rep Power: 0 sheeba is on a distinguished road
Displaying characters program

HI, once again im stuck ,
can anyone please tell me why this program doesn't display anything?
thanks

.model small
.stack 100h
.data
array db 31h,32h,33h,34h
count =($ - array)
.code
main proc
   mov ax,@data
   mov ds,ax
   mov cx,count
   mov si,offset array
   next:
    mov ah,2
    mov dl,[si]
    int 21h
    inc si
   loop next
   mov ax,4C00h
   int 21h
main endp
end main
sheeba is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:31 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC