Remark decompose_int_thumb_nil:
  forall N n p, decompose_int_thumb N n p = nil -> n = Int.zero.

Lemma cond_for_unsigned_cmp_correct: forall c v1 v2 rs m b, Val.cmpu_bool (Mem.valid_pointer m) c v1 v2 = Some b -> eval_testcond (cond_for_unsigned_cmp c) (nextinstr (compare_int rs v1 v2 m)) = Some b.