X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farm_disassembler.c;h=d2ec3ebd60fee38b54eb21991b7ad7ef4363ed69;hp=f11a5221a15968d0619f955fe1b7c7c0941d0c0a;hb=e77b7447f7b30d70961e5bee45400f70baeb16fc;hpb=374127301ec1d72033b9d573b72c7abdfd61990d diff --git a/src/target/arm_disassembler.c b/src/target/arm_disassembler.c index f11a5221a1..d2ec3ebd60 100644 --- a/src/target/arm_disassembler.c +++ b/src/target/arm_disassembler.c @@ -17,7 +17,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ #ifdef HAVE_CONFIG_H @@ -2890,7 +2890,7 @@ static int t2ev_cond_b(uint32_t opcode, uint32_t address, offset = opcode & 0x7ff; offset |= (opcode & 0x003f0000) >> 5; if (opcode & (1 << 26)) { - offset |= 0xffff << 19; + offset |= 0x1fff << 19; if ((opcode & (1 << 11)) == 0) b17 = 0; if ((opcode & (1 << 13)) == 0)