(** Connection between Mach and Asm calling conventions for external functions. *)

Lemma extcall_arg_pair_match:
forall ms sp rs m m' p v,
agree ms sp rs ->
Mem.extends m m' ->
Mach.extcall_arg_pair ms m sp p v ->
exists v', Asm.extcall_arg_pair rs m' p v' /\ Val.lessdef v v'.