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 10:50 am by bakakali

» LTSP Deployment
Sat May 09, 2009 9:01 am by Santos

» GTA SanAndreas 64kB!!!
Tue May 05, 2009 12:26 pm by Santos

» EPL names..
Thu Apr 30, 2009 1:56 pm by Kxhitiz

» Google logo.
Thu Apr 30, 2009 1:52 pm by Kxhitiz

» Google logo.
Thu Apr 30, 2009 9:06 am by Santos

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

» Ubuntu 9.04 Jaunty Jackalope.
Fri Apr 24, 2009 10:01 pm by Santos

» Program to display text with defined cursor position and defined color
Fri Apr 24, 2009 9:41 pm by Santos

Navigation
 Portal
 Index
 Fun
 Memberlist
 Profile
 FAQ
 Search
April 2014
SunMonTueWedThuFriSat
  12345
6789101112
13141516171819
20212223242526
27282930   
CalendarCalendar
Share | 
 

 A simple assembly program to display text with background and foreground color

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


Posts: 24
Join date: 2009-03-06

PostSubject: A simple assembly program to display text with background and foreground color   Thu Mar 19, 2009 3:01 pm

.model small
.stack
.data
message1 db "THis is the test text dude", '$'
.code

main proc far

mov ax, @data
mov ds,ax

MOV AH,06H ;request scroll ; clears screen
MOV AL,00H ;full screen
MOV BH,16H ; set attribute,
MOV CX,0000 ;top left corner
MOV DX,184FH ;bottom right corner of box
INT 10H ; interrupt call

lea dx,message1
mov ah,09
int 21h
mov ax,4c00h
int 21h


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

A simple assembly program to display text with background and foreground color

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» [color=cyan] clan section on forums [/color]
» Sanguine Assembly?
» Hatsune Miku ( chibi ) Background
» Making a SImple Port Scanner In Different languages
» Vandroiy - Simple RP-style quest (an old, damaged R5)

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