diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c index 102249d4140a18208e299da6255c22eabccefd99..3f5fb0bbcdaf705ee7af710408bf44e4fb1b49f2 100644 --- a/target-ppc/op_helper.c +++ b/target-ppc/op_helper.c @@ -103,7 +103,7 @@ void do_store_xer (void) xer_so = (T0 >> XER_SO) & 0x01; xer_ov = (T0 >> XER_OV) & 0x01; xer_ca = (T0 >> XER_CA) & 0x01; - xer_bc = (T0 >> XER_BC) & 0x1f; + xer_bc = (T0 >> XER_BC) & 0x3f; } void do_load_msr (void)