1
/***********************************************************************/
5
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
7
/* Copyright 1998 Institut National de Recherche en Informatique et */
8
/* en Automatique. All rights reserved. This file is distributed */
9
/* under the terms of the Q Public License version 1.0. */
11
/***********************************************************************/
13
/* $Id: arm.S 9212 2009-03-31 09:46:08Z xleroy $ */
18
.type call_gen_code, %function
22
stmfd sp!, {r4, r5, r6, r7, r8, r9, fp, ip, lr, pc}
24
@ r0 is function to call
25
@ r1, r2, r3 are arguments 1, 2, 3
32
ldmea fp, {r4, r5, r6, r7, r8, r9, fp, sp, pc}
35
.type caml_c_call, %function
38
@ function to call is in r10