IL155407A

A data processing apparatus and method for saving return state

Abstract

This record has no abstract on file.

IL155407A, drawing sheet 1
Sheet 1 of 13

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Published
  4. Today

18 claims: 3 independent, 15 dependent

  1. 1
    A data processing apparatus, comprising:a processing unit for executing data processing instructions, the processing unit having a plurality of modes of operation, each mode of operation having a corresponding stack for storing data associated with that mode;the processing unit, responsive to a return state data processing instruction, for writing return state data of the processing unit from a current mode of operation to a stack corresponding to a mode of operation different from the cunent mode of operation while remaining in the current mode of operation.
  2. 7
    A data processing apparatus as claimed on claim 5, wherein each stack has a stack pointer associated therewith identifying a location within the stack, the stack pointer for a particular stack only being accessible from the corresponding mode of operation, and wherein the set of registers include a plurality of stack pointer registers for storing the stack pointers for each stack, the processing unit being able only to access the stack point register containing the stack pointer for the stack corresponding to its current mode of operation.
  3. 16
    A method of operating a data processing apparatus comprising a processing unit for executing data processing instructions, the processing unit having a plurality of modes of operation, each mode of operation having a corresponding stack for storing data associated with that mode, the method comprising the step of:causing the processing unit, in response to a return state data processing instruction, to write return state data of the processing unit from a current mode of operation to a stack corresponding to a mode of operation different from the cunent mode of operation while remaining in said current mode of operation.