将时间输入微型计算机

N Darwood
{"title":"将时间输入微型计算机","authors":"N Darwood","doi":"10.1016/0308-5953(78)90164-2","DOIUrl":null,"url":null,"abstract":"<div><p>When the program in a real-time computer needs to know the time of day and the date, there are two ways this can be implemented. One way is to have a software clock: every, say, 100 ms the main program is interrupted to go into a subroutine which updates the time. The other technique is to use a hardware clock, made up from a counter that divides by 60 for seconds and so on.</p><p>In the software case, when first switching on, the time of day and date is usually entered via the keyboard. In the hardware case, when first switching on, the time of day and date is set in via switches.</p></div>","PeriodicalId":100928,"journal":{"name":"Microprocessors","volume":"2 5","pages":"Page 283"},"PeriodicalIF":0.0000,"publicationDate":"1978-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1016/0308-5953(78)90164-2","citationCount":"0","resultStr":"{\"title\":\"Setting time into a microcomputer\",\"authors\":\"N Darwood\",\"doi\":\"10.1016/0308-5953(78)90164-2\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>When the program in a real-time computer needs to know the time of day and the date, there are two ways this can be implemented. One way is to have a software clock: every, say, 100 ms the main program is interrupted to go into a subroutine which updates the time. The other technique is to use a hardware clock, made up from a counter that divides by 60 for seconds and so on.</p><p>In the software case, when first switching on, the time of day and date is usually entered via the keyboard. In the hardware case, when first switching on, the time of day and date is set in via switches.</p></div>\",\"PeriodicalId\":100928,\"journal\":{\"name\":\"Microprocessors\",\"volume\":\"2 5\",\"pages\":\"Page 283\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1978-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://sci-hub-pdf.com/10.1016/0308-5953(78)90164-2\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Microprocessors\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/0308595378901642\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Microprocessors","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/0308595378901642","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

当实时计算机中的程序需要知道一天中的时间和日期时,有两种方法可以实现。一种方法是有一个软件时钟:每隔100毫秒,主程序被中断,进入一个更新时间的子程序。另一种技术是使用硬件时钟,由一个秒除以60的计数器组成,以此类推。在软件的情况下,当第一次打开,时间和日期通常是通过键盘输入。在硬件情况下,当第一次打开时,通过开关设置一天的时间和日期。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Setting time into a microcomputer

When the program in a real-time computer needs to know the time of day and the date, there are two ways this can be implemented. One way is to have a software clock: every, say, 100 ms the main program is interrupted to go into a subroutine which updates the time. The other technique is to use a hardware clock, made up from a counter that divides by 60 for seconds and so on.

In the software case, when first switching on, the time of day and date is usually entered via the keyboard. In the hardware case, when first switching on, the time of day and date is set in via switches.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信