minix/lib/float/fptrp.s
2009-11-09 10:26:00 +00:00

19 lines
245 B
ArmAsm

#
.sect .text; .sect .rom; .sect .data; .sect .bss
.define __fptrp
.sect .text
__fptrp:
#if __i386
push ebp
mov ebp, esp
mov eax, 8(bp)
call .Xtrp
leave
ret
#else /* i86 */
push bp
mov bp, sp
mov ax, 4(bp)
call .Xtrp
jmp .cret
#endif