i do not want to get the answers of the question thati submittd before today i w
ID: 3611938 • Letter: I
Question
i do not want to get the answers of the question thati submittd before todayi want to get the answer of this question till 3rd june plz
Assignment Write a Terminate and Stay Resident program in Assemblylanguage to change the background color of DOS-screen after everyten seconds. You will need to hook timer interrupt (real timeinterrupt) for this purpose. i do not want to get the answers of the question thati submittd before today
i want to get the answer of this question till 3rd june plz
Assignment
Explanation / Answer
; This program
display EQU xxxxh
Screen EQU 0600h
delay1 EQU 10
.code
main PROC
in ax, Screen ; get screen status
pushax ; save status
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 write green asforeground
L2: out display,ax ;
;create a delay loop between
mov cx,delay1
L3: pushcx
L3a:
loop L3a
pop cx
loop l3
sub al,1 ;raise time 1 sec
jnz L2
pop ax
exit
main ENDP
END main
I hope this will helps you!!!!!!!!
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.