文件名称:交通灯的实验程序。可以看看
文件大小:84KB
文件格式:DOC
更新时间:2012-01-29 16:52:19
汇编程序
data segment ioport equ 0e800h-280h io8255a equ ioport+288h io8255b equ ioport+289h io8255c equ ioport+28ah io8255ctrl equ ioport+28bh io8253a equ ioport+280h io8253b equ ioport+281h io8253ctrl equ ioport+283h message1 db 0dh,0ah,'Please input the time to delay $' message2 db 0dh,0ah,'South-North direction :$' message3 db 0dh,0ah,'East-West direction :$' message4 db 0dh,0ah,'Please turn off the console switch !!' db 0dh,0ah,'After you turn off it,the system will work ... $'