首页>
外国专利>
Method for storing and restoring interrupt status flags within status register for embedded applications, involves restoring interrupt status flag, and using mov command to determine writing contents of variable in status register
Method for storing and restoring interrupt status flags within status register for embedded applications, involves restoring interrupt status flag, and using mov command to determine writing contents of variable in status register
The method involves storing an interrupt status flag, and copying an entire variable in a status register using a mov command. The interrupt status flag is restored, and the mov command is used to determine the writing contents of the variable in the status register. Processor architecture specific parts of the status register are defined and overridden using the mov command. A processor architecture is provided based on Hyperstone E1-E2 architecture. A high level language is used to support inline assembly language instructions.
展开▼