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

Lemma extcall_arguments_match:
forall ms m m' sp rs sg args,
agree ms sp rs -> Mem.extends m m' ->
Mach.extcall_arguments ms m sp sg args ->
exists args', Asm.extcall_arguments rs m' sg args' /\ Val.lessdef_list args args'.