BR_JMP

VAX11

 

BR, JMP BRANCH, JUMP

 

Purpose

transfer control

Format

opcode displ.bx                                                            Branch

opcode dst.ab                                                              Jump

Operation

PC ß PC +SEXT (displ);                                            Branch

PC ß dst;                                                                    Jump

Condition codes

N ß N;

Z ß Z;

V ß V;

C ß C;

Exceptions

none

Opcodes

11        BRB     Branch With Byte Displacement

31        BRW   Branch With Word Displacement

17        JMP     Jump

Description

For branch, the sign-extended branch displacement is added to PC and PC is replaced by the result. For Jump, the PC is replaced by the destination operand.