Membuat Background Huruf Berwarna (Attribut Karakter)

.model small
.code
org 100h
mulai:

mov ah, 09h
mov al,'Z'
mov bh,00h
mov bl,11001101b
mov cx,26

ulang:
int 10h
dec al
loop ulang
int 20h

end mulai

output :
huruf berwarna ( Attribut karakter )


Penjelasan :

Attribute :
Contoh Atribute :

Background : Hijau
Foreground : Biu
Intensitas : Rendah

BL = 00100001b

No comments:

Post a Comment