A)Write Assembly language program that first clears the DOSscreen and then displ
ID: 3611563 • Letter: A
Question
A)Write Assembly language program that first clears the DOSscreen and then displays mc070200698 (in green foreground andwhite background color) in the top right corner of the screen. b) Screen-shot of DOS-screen afterexecuting the above program A)Write Assembly language program that first clears the DOSscreen and then displays mc070200698 (in green foreground andwhite background color) in the top right corner of the screen. b) Screen-shot of DOS-screen afterexecuting the above program b) Screen-shot of DOS-screen afterexecuting the above programExplanation / Answer
Dear, you didnt mention specific microprocessor, program codewill be differ p to pClrscr PROC pusha mov ax,0600h ; scroll window up mov cx,0 ; upper left corner(0,0) mov dx,184Fh ; lower right corner (24,79) mov bh,7 ; normalattribute int 10h ; callBIOS mov ah,2 ; locate cursor at0,0 mov bh, 0x7920 ; ASCII writegreen as foreground. ld dx, 09h; load rollnum is dx ld dx, 09h; load rollnum is dx mov dx,display ; int 10h popa ret Clrscr ENDP Write blank space on green background color. (ASCII codeof ?blank space? is 0x20)
mov ax, 0x7920 Write blank space on green background color. (ASCII codeof ?blank space? is 0x20)
mov ax, 0x7920 I hope this will helps you!!!!!