×

Microprocessor inverse processor state usage

  • US 5,161,226 A
  • Filed: 05/10/1991
  • Issued: 11/03/1992
  • Est. Priority Date: 05/10/1991
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of "inside-out", inverse operation of operating a multi-tasking, interrupt capable microprocessor system having a user memory stack, an interrupt stack, an interrupt handler mechanism, a register set, and a process-controls register with a state bit defining the operational state of said microprocessor and designating an execute state and an interrupt state, and is comprised of the following steps:

  • entering a user task;

    setting said state bit to the inverse value of the microprocessor architecture defined execute state;

    executing said user task including establishing a user task procedure stack;

    receiving an interrupt request of higher priority than the current processor interrupt level;

    suspending said user task execution;

    having interrupt record and frame containing user task context automatically stored in said task procedure stack, thereby preventing the microprocessor architecture defined switch to said interrupt stack;

    storing volatile global registers in local registers, which are dedicated to the current interrupt frame;

    setting said state bit to the inverse value of the microprocessor architecture defined interrupt state;

    servicing said interrupt by operating out of said interrupt frame on said user procedure stack;

    restoring volative global registers from local registers;

    having said user task context, which includes the inverse value of said state bit, automatically restored from said task procedure stack; and

    resuming execution of said interrupted user task.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×