factor/vm/cpu-x86.S

14 lines
242 B
ArmAsm
Raw Normal View History

#ifdef __APPLE__
#define MANGLE(sym) _##sym
#else
#define MANGLE(sym) sym
#endif
2006-11-16 00:12:43 -05:00
/* Callable from C as
void *native_stack_pointer(void) */
.globl MANGLE(native_stack_pointer)
MANGLE(native_stack_pointer):
mov %esp,%eax
add $4,%ebp
2006-11-16 00:12:43 -05:00
ret