发明名称 METHOD AND APPARATUS FOR FAST MICROCONTROLLER CONTEXT SWITCHING
摘要 A microcontroller apparatus and method providing a program status word (PSW) including system status bits that can be stored and loaded along with a program counter (PC) during a context switch operation, such as when processing an interrupt or launching an application. The status bits indicate mode (system or user), designate which registers banks are used as general purpose registers and indicate the interrupt priority of the program being executed. By loading a PSW relevant to the task to be executed into the program status word register and loading a PC providing an entry point of the task into a fetch unit, the microcontroller immediately begins task execution. An interrupt vector of the microcontroller system includes the PSW and PC of the particular interrupt allowing immediate processing of the interrupt reducing system overhead tasks. A return from the task, such as via a return-from-interrupt, restores the PSW of the prior task as well as the PC from a system stack, thereby rapidly switching the context back to the prior task. By loading an application specific PSW and PC (and appropriate general purpose registers and special function registers is necessary), and then initiating a return-from-interrupt the microcontroller allows rapid initial task launching.
申请公布号 WO9608948(A2) 申请公布日期 1996.03.28
申请号 WO1995IB00714 申请日期 1995.08.30
申请人 PHILIPS ELECTRONICS N.V.;PHILIPS NORDEN AB 发明人 BIRNS, NEIL;MIZRAHI-SHALOM, ORI;GOODHUE, GREGORY;RABELER, THORWALD
分类号 G06F9/32;G06F9/46;G06F9/48 主分类号 G06F9/32
代理机构 代理人
主权项
地址