A method and apparatus for implementing a branch and return on address instruction in a digital data processing system
    1.
    发明公开
    A method and apparatus for implementing a branch and return on address instruction in a digital data processing system 失效
    一种用于在数字数据处理系统中实现分配和返回地址指令的方法和装置

    公开(公告)号:EP0263447A3

    公开(公告)日:1990-04-25

    申请号:EP87114429.1

    申请日:1987-10-02

    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.

    A method and apparatus for implementing a branch and return on address instruction in a digital data processing system
    2.
    发明公开
    A method and apparatus for implementing a branch and return on address instruction in a digital data processing system 失效
    一种用于在数字数据处理系统中执行的分支和后端到地址指令的方法和装置。

    公开(公告)号:EP0263447A2

    公开(公告)日:1988-04-13

    申请号:EP87114429.1

    申请日:1987-10-02

    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.

    摘要翻译: 一种数字数据处理器作用于分支而在地址返回到具有操作码字段,一个存储器地址输入字段和一个存储器地址字段出口(Baroa)指令。 分支机构的操作码字段和返回上的地址指令是进入到指令寄存器,加载分支的内存退出地址栏和地址返回指令被加载到地址寄存器和分支的内存入口地址字段和回报 地址指令被装入程序计数器。 然后下一个顺序地址继当前Baroa指令的地址被存储在寄存器堆,并且与驻留在由分支而在地址指令返回所提供的存储器条目地址的指令开始的指令序列被取出并执行。 程序计数器递增上指令每次被执行。 以这种方式,程序计数器提供的指令的存储器地址取出。 在程序计数器的存储器地址与地址寄存器中的出口地址和装载返回指令操作码到指令寄存器当程序计数器的存储器地址变为等于地址寄存器中的出口地址相比,寻求返回指令 操作码,反过来,使存储在寄存器堆栈的地址被加载到程序计数器中。