文件名称:clock
介绍说明--下载内容均来自于网络,请自行研究使用
电子秒表的设计
1、用系统8253定时器提供的55ms定时单位,设计秒表定时程序。
2、有关系统定时方法:
PC机系统中的8253定时器0工作于方式3,外部提供一个时钟作为CLK信号,
频率:f=1.1931816MHz。
定时器0输出方波的频率:fout=1.1931816/65536=18.2Hz。
输出方波的周期Tout=1/18.2=54.945ms。8253A每隔55ms引起一次中断,作为定时信号。可用
5945ms作基本计时单位。
用BIOS调用INT 1AH可以取得该定时单位。例:1秒=18.2 (计时单位)-The design of electronic stopwatch 1, 8253 with the system timer to provide regular units of 55ms, design stopwatch timing procedures. 2, the system timing method: PC system in 8253 Timer 0 works in the way 3, to provide an external clock as the CLK signal, frequency: f = 1.1931816MHz. Timer 0 output square wave frequency: fout = 1.1931816/65536 = 18.2Hz. Cycle square wave output Tout = 1/18.2 = 54.945ms. 8253A every 55ms caused a disruption, as a timing signal. 5945ms available for the basic time unit. INT 1AH use BIOS calls can be made of the regular units. For example: 1 seconds = 18.2 (time units)
1、用系统8253定时器提供的55ms定时单位,设计秒表定时程序。
2、有关系统定时方法:
PC机系统中的8253定时器0工作于方式3,外部提供一个时钟作为CLK信号,
频率:f=1.1931816MHz。
定时器0输出方波的频率:fout=1.1931816/65536=18.2Hz。
输出方波的周期Tout=1/18.2=54.945ms。8253A每隔55ms引起一次中断,作为定时信号。可用
5945ms作基本计时单位。
用BIOS调用INT 1AH可以取得该定时单位。例:1秒=18.2 (计时单位)-The design of electronic stopwatch 1, 8253 with the system timer to provide regular units of 55ms, design stopwatch timing procedures. 2, the system timing method: PC system in 8253 Timer 0 works in the way 3, to provide an external clock as the CLK signal, frequency: f = 1.1931816MHz. Timer 0 output square wave frequency: fout = 1.1931816/65536 = 18.2Hz. Cycle square wave output Tout = 1/18.2 = 54.945ms. 8253A every 55ms caused a disruption, as a timing signal. 5945ms available for the basic time unit. INT 1AH use BIOS calls can be made of the regular units. For example: 1 seconds = 18.2 (time units)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
clock.asm