发明名称 Simulated memory stack in a stackless environment
摘要 A computer system that simulates a memory stack in a non-general purpose register set in the computer's CPU. The computer system can use the simulated memory stack to store a return address before jumping to a subroutine or use the simulated stack to store a data value for subsequent retrieval and use. The non-general purpose register set may include memory type range registers (MTRRs). One of the MTRRs is designated as the stack pointer register and is used to store a pointer index value which identifies which of the other MTRR registers is associated with the top of the simulated memory stack. The computer system preferably includes a non-volatile memory, such as a ROM, which contains executable instructions for implementing the simulated memory stack. The instructions provide for incrementing and decrementing the pointer index value and writing to and reading from the MTRR registers identified by the pointer index as associated with the top of simulated stack. By using non-general purpose registers to store data and return addresses, more general purpose registers are available for other reasons. The computer system advantageously permits the simulation of a conventional memory stack when main memory is not available to provide the conventional memory stack.
申请公布号 US6363473(B1) 申请公布日期 2002.03.26
申请号 US19990283994 申请日期 1999.04.01
申请人 COMPAQ INFORMATION TECHNOLOGIES GROUP, L.P. 发明人 VOLENTINE ROBERT J.;PATEL RAHUL G.
分类号 G06F9/30;G06F9/42;(IPC1-7):G06F12/06;G06F12/08;G06F9/32 主分类号 G06F9/30
代理机构 代理人
主权项
地址