发明名称 Status flag handling in a digital data processing system
摘要 Status flag handling method and apparatus for use in a digital data processing system provide error-resistant operation and simplicity. Two storage elements comprising one bit of a status register are operated such that: a reset places both elements in first predetermined states; a set flag operation places both elements in second predetermined states; a read flag operation alters the state of the second storage element; and a clear flag alters the state of the first storage element if and only if the state of the second storage element has previously been altered by a read flag operation. The flag output corresponds to the state of the first storage element. When implemented with single instructions, inadvertant flag negation and errors due to intervening interrupts are avoided. The read flag operation temporarily disables the set flag mechanism, protecting against setting the flag during a read operation. The flag is always read as asserted prior to being negated.
申请公布号 US4802089(A) 申请公布日期 1989.01.31
申请号 US19860890269 申请日期 1986.07.29
申请人 MOTOROLA, INC. 发明人 SHAW, CRAIG D.
分类号 G06F9/46;G06F11/07;(IPC1-7):G06F11/30;H03K17/56 主分类号 G06F9/46
代理机构 代理人
主权项
地址