资 源 简 介
汇编语言程序设计,显示系统时间。
首先在数据段开辟一显示缓冲区,用来存储系统时间。调用BIOS中断,返回系统时间,并将来返回的二进制时间转换成ASCII码,方便时间显示时的调用。分别将来小时数、分钟数、秒数存入显示缓冲区。通过写显存将时间显示出来。由于获取了的系统时间不会自动刷新,所以我们要设计成刷新的方式来不断获取系统的时间,这样就形成了会跳动的电子钟了。-Assembly language programming, display system time. First of all, open up one paragraph in the data display buffer for the storage system time. BIOS interrupt calls to return system time, and the future return of the binary time into ASCII code for the call time is displayed. Respectively, the future number of hours, minutes, seconds into the display buffer. Time by writing to memory will be displayed. As the access to the system time does not automatically refresh, so we need to refresh the way designed to keep on getting the system time, so that will be formed beating electronic o