From 78b07cc6f49df792ce2c934ad2843f0378acacf9 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 10 Jun 2000 16:11:27 +0000 Subject: [PATCH] Renamed module, part of code no longer needed git-svn-id: svn://svn.cc65.org/cc65/trunk@48 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/runtime/Makefile | 2 +- libsrc/runtime/{leaysp.s => leasp.s} | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) rename libsrc/runtime/{leaysp.s => leasp.s} (59%) diff --git a/libsrc/runtime/Makefile b/libsrc/runtime/Makefile index d6024d1fa..ef202d2f9 100644 --- a/libsrc/runtime/Makefile +++ b/libsrc/runtime/Makefile @@ -18,7 +18,7 @@ OBJS = runtime.o mul.o div.o push.o inc.o dec.o shl.o shr.o add.o\ uge.o lt.o ult.o le.o ule.o eq.o ne.o test.o subeqsp.o\ udiv.o umod.o mod.o shelp.o aslax1.o asrax1.o shrax1.o\ aslax2.o asrax2.o shrax2.o aslax3.o asrax3.o shrax3.o\ - enter.o leave.o leaysp.o popsreg.o ldai.o ldaxi.o ldauisp.o\ + enter.o leave.o leasp.o popsreg.o ldai.o ldaxi.o ldauisp.o\ ldaui.o pushw.o pushb.o staxsp.o ldaxsp.o addeqsp.o\ bpushbsp.o pushwsp.o pushbsp.o diff --git a/libsrc/runtime/leaysp.s b/libsrc/runtime/leasp.s similarity index 59% rename from libsrc/runtime/leaysp.s rename to libsrc/runtime/leasp.s index 2e5c16174..4f9320881 100644 --- a/libsrc/runtime/leaysp.s +++ b/libsrc/runtime/leasp.s @@ -4,18 +4,16 @@ ; CC65 runtime: Load effective address with offset in Y relative to SP ; - .export lea0sp, leaysp, plea0sp, pleaysp - .import pushax - .importzp sp + .export leaasp, plea0sp, pleaysp + .import pushax + .importzp sp -lea0sp: ldy #0 ; Load offset zero -leaysp: tya - ldx sp+1 ; Get high byte +leaasp: ldx sp+1 ; Get high byte clc adc sp - bcc L8 + bcc @L1 inx -L8: rts +@L1: rts plea0sp: -- 2.39.5