Professional Documents
Culture Documents
net
CS401- Computer Architecture and Assembly Language
Programming
Assignment # 4
Spring 2009
Solution:
Program code:
; Terminate and Stay Resident program to change background color after 10
seconds
[org 0x0100]
jmp start
tickcount: dw 0
attrib: dw 0x07
Page 1 of 2
http://lms.vusr.net
www.VUSR.net
pop di
pop cx
pop ax
pop es
iret ; return from interrupt
SR
U
V
Page 2 of 2
http://lms.vusr.net