发明公开
EP0263447A3 A method and apparatus for implementing a branch and return on address instruction in a digital data processing system
失效
一种用于在数字数据处理系统中实现分配和返回地址指令的方法和装置
- 专利标题: A method and apparatus for implementing a branch and return on address instruction in a digital data processing system
- 专利标题(中): 一种用于在数字数据处理系统中实现分配和返回地址指令的方法和装置
-
申请号: EP87114429.1申请日: 1987-10-02
-
公开(公告)号: EP0263447A3公开(公告)日: 1990-04-25
- 发明人: Crouse, Richard Stephen , Boudreaux, Randall Paul , Cazzolla, John Joseph, Jr.
- 申请人: International Business Machines Corporation
- 申请人地址: Old Orchard Road Armonk, N.Y. 10504 US
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: Old Orchard Road Armonk, N.Y. 10504 US
- 代理机构: Burt, Roger James, Dr.
- 优先权: US917580 19861010
- 主分类号: G06F9/30
- IPC分类号: G06F9/30
摘要:
A digital data processor acts on a branch and return on address (BAROA) instruction having an operation code field, a memory entry address field and a memory exit address field. The operation code field of the branch and return on address instruction is into an instruction register, the memory exit address field of the loaded branch and return on address instruction is loaded into the address register and the memory entry address field of the branch and return on address instruction is loaded into the program counter. The next sequential address following the address of the current BAROA instruction is then stored in a register stack, and a sequence of instructions starting with the instruction residing at the memory entry address provided by the branch and return on address instruction is fetched and executed. The program counter is incremented each time an instruction is executed. In this manner, the program counter provides the memory addresses of the instructions to be fetched. The memory address in the program counter is compared with the exit address in the address register and loading a return instruction operation code into the instruction register when the memory address in the program counter becomes equal to the exit address in the address register, such return instruction operation code, in turn, causing the address stored in the register stack to be loaded into the program counter.
公开/授权文献
信息查询