INSTRUCTION ENCODING TO INDICATE WHETHER TO STORE ARGUMENT REGISTERS AS STATIC REGISTERS AND RETURN ADDRESS IN SUBROUTINE STACK
Patent №
US 7,739,484
Granted
2010-06-15
Filed 2007
Owner
MIPS TECHNOLOGIES, INC.
Lab
—
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
11868429
A method and apparatus provide means for saving and restoring processor register values and allocating and deallocating stack memory. A first field of a save instruction encodes whether a value in a register of a processor is saved as a static value. A second field of the save instruction encodes whether a value in a register of a processor is saved as an argument value. A third field of the save instruction encodes a size of a stack frame created during execution of the save instruction. An argument value is saved in a calling program's stack frame. A static value is saved in a called program's stack frame. A restore instruction is used to restore static values and deallocate the stack frame. The save and restore instructions may be executed using any programmable device, including a single instruction set architecture processor or a multi-instruction set architecture processor.
AI classification
Ownership
MIPS TECHNOLOGIES, INC.
assignment · 222650303
Assignors
KISSELL, KEVIN D., EKNER, HARTVIG W.J.
On an employer assignment, the assignors are typically the inventors.