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

Lemma extcall_arg_match:
forall ms sp rs m m' l v,
agree ms sp rs ->
Mem.extends m m' ->
Mach.extcall_arg ms m sp l v ->
exists v', Asm.extcall_arg rs m' l v' /\ Val.lessdef v v'.