Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
18 views1 page

Clear Screen Using BIOS

The document contains assembly code for a BIOS interrupt that scrolls up the screen. It sets various registers to define the scroll parameters, including the number of lines, color attributes, and screen coordinates. The interrupt is then called to execute the scroll function.

Uploaded by

Muhammad Asif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Clear Screen Using BIOS

The document contains assembly code for a BIOS interrupt that scrolls up the screen. It sets various registers to define the scroll parameters, including the number of lines, color attributes, and screen coordinates. The interrupt is then called to execute the scroll function.

Uploaded by

Muhammad Asif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

org [0x0100]

mov ah, 06h ; scroll up function


mov al, 00h ; number of lines to scroll up
mov bh, 00h ; attribute byte (black color)
mov ch, 00h ; row of upper left corner
mov cl, 00h ; column of upper left corner
mov dh, 18h ; row of lower right corner
mov dl, 4Fh ; column of lower right corner
int 10h ; call BIOS interrupt

You might also like