Change font s color using asm

Asked By 10 points N/A Posted on -
qa-featured

Hi, I a newbie and I am learning asm. Can I know the procedure or the way to change font's color using asm? Or is there any asm tutorial sites?

SHARE
Best Answer by Davidson Mudge
Answered By 0 points N/A #135757

Change font s color using asm

qa-featured

 

To change the font/text color in ASM
 
TXT DB "Hello World"
Mov ah, 9
Mov BL, 9  —-color, bright blue 
Mov CX, 11 —- number of characters
Int 10h
Mov DX, OFFSET TXT
Int 21H
By printing "Hello World" (standard) color gray is kind boring in our  eyes, So now you can change the font color to bright blue by doing this code. 
 
Refer to this site for more tutorials http://www.skynet.ie/~darkstar/assembler/
Best Answer
Best Answer
Answered By 0 points N/A #135758

Change font s color using asm

qa-featured

Hi Samantha,

Since you said you are new to ASM, I found you a link you can check to learn more about the Programming language. However, Let me add another code from the one mentioned above, you can also try:

    .model small

   .stack 100h

   .data

         Hello_message db “Welcome”

.code

main proc

           mov ax,@data

           mov ds,ax

           mov, ah,09h

           mov bl,9

           mov cx,11

           int 10h

main endp

end main

Related Questions