From d1ff9bfdf9968945e3d35f87e32e634e0983ca8b Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Wed, 14 Mar 1990 11:54:00 +0000 Subject: [PATCH] add LCC - a better C-Compiler for WEGA --- WEGA/contrib/lcc/lib/libc/u8k/sys/profil.s | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 WEGA/contrib/lcc/lib/libc/u8k/sys/profil.s diff --git a/WEGA/contrib/lcc/lib/libc/u8k/sys/profil.s b/WEGA/contrib/lcc/lib/libc/u8k/sys/profil.s new file mode 100644 index 0000000..b8f83cd --- /dev/null +++ b/WEGA/contrib/lcc/lib/libc/u8k/sys/profil.s @@ -0,0 +1,16 @@ + .seg + + sp := r15 + SP := rr14 + + .psec + .code +_sprofil:: +_profil:: + { + ldm r0,|_stkseg+4|(sp),#6 + sc #52 /*sysphys*/ + ld r2,r4 + jp c,cerror + ret + }