发明名称 |
Method and apparatus for saving and restoring processor register values and allocating and deallocating stack memory |
摘要 |
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 an argument value or a static value. A second 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.
|
申请公布号 |
US2002194459(A1) |
申请公布日期 |
2002.12.19 |
申请号 |
US20010882285 |
申请日期 |
2001.06.18 |
申请人 |
|
发明人 |
KISSELL KEVIN D.;EKNER HARTVIG W. J. |
分类号 |
G06F9/00;G06F9/312;G06F9/40;(IPC1-7):G06F9/00 |
主分类号 |
G06F9/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|