Minor code cleanup in rs6000-tdep.c

This commit is contained in:
Michael Meissner
1995-03-02 21:51:30 +00:00
parent 773033d2d2
commit dc59e98286
2 changed files with 11 additions and 2 deletions

View File

@@ -78,10 +78,14 @@ branch_dest (opcode, instr, pc, safety)
switch (opcode) {
case 18 :
immediate = ((instr & ~3) << 6) >> 6; /* br unconditional */
if (absolute)
dest = immediate;
else
dest = pc + immediate;
break;
case 16 :
if (opcode != 18) /* br conditional */
immediate = ((instr & ~3) << 16) >> 16;
immediate = ((instr & ~3) << 16) >> 16; /* br conditional */
if (absolute)
dest = immediate;
else