I am new to assembly language and studying it as my course requirement (SYSTEM PROGRAMMING). Every concept is almost clear about assembly language, but I have confusion in the following terms.
- What are PAGES in Graphics Mode?
- How to use Different PAGES in Graphics Mode?
- How do Use different Pages?
Lastly, I need an Assembly Language Program to Display the value of TWO variables, var1 (which stores an integer value) and var2 (Stores any String) on page # 3 in a graphic mode in Assembly Language using an 8086 processor.
Following is the code sample to print a string on a page in graphics mode, mainly on a current page which is 0 by default. I have used SERVICE 09H of INT 10H. I need to display that string on PAGE 3 instead of PAGE 0.
org 100h
mov si,OFFSET string
mov ah,9 ; write character/attribute
mov al,[si] ; character to display
mov bh,0 ; video page 0
mov bl,1111b ; attribute
or bl,10000000b ; set blink/intensity bit
mov cx,20 ; display it one time
int 10h
ret
string db "ALpha$"
I'm using EMU8086 for practice. Thank you.