发明授权
US4493027A Method of performing a call operation in a digital data processing
system having microcode call and return operations
失效
在具有微码呼叫和返回操作的数字数据处理系统中执行呼叫操作的方法
- 专利标题: Method of performing a call operation in a digital data processing system having microcode call and return operations
- 专利标题(中): 在具有微码呼叫和返回操作的数字数据处理系统中执行呼叫操作的方法
-
申请号: US266526申请日: 1981-05-22
-
公开(公告)号: US4493027A公开(公告)日: 1985-01-08
- 发明人: Lawrence H. Katz , Douglas M. Wells , Michael S. Richmond , Richard A. Belgard , Walter A. Wallach, Jr. , David H. Bernstein , John K. Ahlstrom , John F. Pilat , David A. Farber , Richard G. Bratt
- 申请人: Lawrence H. Katz , Douglas M. Wells , Michael S. Richmond , Richard A. Belgard , Walter A. Wallach, Jr. , David H. Bernstein , John K. Ahlstrom , John F. Pilat , David A. Farber , Richard G. Bratt
- 申请人地址: MA Westboro
- 专利权人: Data General Corporation
- 当前专利权人: Data General Corporation
- 当前专利权人地址: MA Westboro
- 主分类号: G06F9/40
- IPC分类号: G06F9/40 ; G06F3/00 ; G06F9/22 ; G06F9/36 ; G06F9/46
摘要:
A method for executing call and return instructions in a digital computer system operating under control of microcode. The microcode may specify calls to and returns from sequences of microinstructions. A call microinstruction sequence corresponds to the call instruction. The call microcode in turn calls other microinstruction sequences for deriving pointers representing the location of the called procedure and of arguments from operands in the call instruction. As the call microcode obtains each argument pointer, it places the pointer on the stack. After it has obtained all of the argument pointers, it passes the pointer to the called procedure and a pointer to the argument pointers to a general call microinstruction sequence. That microinstruction sequence locates the called procedure, makes a new frame including the argument pointers, and saves the state necessary to resume execution of the call microinstruction sequence itself. It then obtains the state necessary to commence execution of the called procedure and causes execution of that procedure to commence. The microcode corresponding to the return instruction restores both the state necessary to resume execution of the calling procedure and the state necessary to resume execution of the call microinstruction sequence. When it resumes execution, the call microinstruction sequence completes the return operation.
信息查询