ACEM PORTAL

::Community of ACEM students::
 
HomeHome  CalendarCalendar  GalleryGallery  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  
Search
 
 

Display results as :
 
Rechercher Advanced Search
Poll
Latest topics
» Primer Imperio-Torre De Control Mp3
Fri Feb 14, 2014 1:20 pm by bakakali

» LTSP Deployment
Sat May 09, 2009 11:31 am by Santos

» GTA SanAndreas 64kB!!!
Tue May 05, 2009 2:56 pm by Santos

» EPL names..
Thu Apr 30, 2009 4:26 pm by Kxhitiz

» Google logo.
Thu Apr 30, 2009 4:22 pm by Kxhitiz

» Google logo.
Thu Apr 30, 2009 11:36 am by Santos

» the longest website in the world haha
Wed Apr 29, 2009 8:50 am by Kxhitiz

» Ubuntu 9.04 Jaunty Jackalope.
Sat Apr 25, 2009 12:31 am by Santos

» Program to display text with defined cursor position and defined color
Sat Apr 25, 2009 12:11 am by Santos

Navigation
 Portal
 Index
 Fun
 Memberlist
 Profile
 FAQ
 Search
November 2017
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
2627282930  
CalendarCalendar

Share | 
 

 Program to display text with defined cursor position and defined color

View previous topic View next topic Go down 
AuthorMessage
Kxhitiz
Admin
Admin
avatar

Posts : 24
Join date : 2009-03-06

PostSubject: Program to display text with defined cursor position and defined color   Wed Apr 15, 2009 6:33 pm

.model small
.stack
.data
message db "This is hello world!!", "$"

.code

main proc far
mov ax,@data
mov ds,ax

mov ah,02
mov dh,10 ;(cursor position) sets row
mov dl,20 ;(cursor positon) sets column
mov bh,0 ;frst page
int 10h

mov ah,06
mov al,0
mov bh,96h ;sets background and foreground color
mov cx,0
mov dx,184fh
int 10h

lea dx,message
mov ah,09
int 21h

mov ah,4ch
int 21h

main endp
end main
Back to top Go down
View user profile http://advanced.chforum.net
Santos

avatar

Posts : 23
Join date : 2009-03-11
Age : 30
Location : Kathmandu,Nepal

PostSubject: .   Fri Apr 17, 2009 1:35 pm

Khai bro yo question ta aayena ta.Maile ta jhan rateko thien. Very Happy
Back to top Go down
View user profile http://technoflag.blogspot.com
Kxhitiz
Admin
Admin
avatar

Posts : 24
Join date : 2009-03-06

PostSubject: Re: Program to display text with defined cursor position and defined color   Tue Apr 21, 2009 10:17 am

Santos wrote:
Khai bro yo question ta aayena ta.Maile ta jhan rateko thien. Very Happy

na aaye pani this one is useful program for u in coming days dude cheers
Back to top Go down
View user profile http://advanced.chforum.net
Santos

avatar

Posts : 23
Join date : 2009-03-11
Age : 30
Location : Kathmandu,Nepal

PostSubject: .   Sat Apr 25, 2009 12:11 am

Wink
Back to top Go down
View user profile http://technoflag.blogspot.com
Sponsored content




PostSubject: Re: Program to display text with defined cursor position and defined color   

Back to top Go down
 
Program to display text with defined cursor position and defined color
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» BASIC RUNNING MESSAGE DISPLAY
» example of Basic turbo C program in PLC Programming
» "Refer a Friend" program on Taiwan Servers?
» DeAveiro Basketball Skills Development Program
» how do you display your gamertag?

Permissions in this forum:You cannot reply to topics in this forum
ACEM PORTAL :: Programming :: Assembly Language-
Jump to: