Added bpx Needed for 10bit stack pointer ds390
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 14 Nov 2001 05:23:59 +0000 (05:23 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 14 Nov 2001 05:23:59 +0000 (05:23 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1585 4a8a32a2-be11-0410-ad9d-d568d2c75423

device/lib/Makefile.in
device/lib/bpx.c [new file with mode: 0644]
device/lib/libsdcc.lib

index 4f282582760c78e7bf0b2346a308f8a9f7355571..b9b62da8d4fccee89a7211e82d5a0a4588500996 100644 (file)
@@ -57,7 +57,7 @@ SOURCES               = _atoi.c _atol.c _autobaud.c _bp.c _schar2fs.c \
                  _strstr.c _strtok.c _uchar2fs.c _uint2fs.c \
                  _ulong2fs.c malloc.c serial.c ser_ir.c printfl.c \
                  printf_large.c vprintf.c puts.c gets.c \
-                 assert.c _strcat.c time.c printf_fast.c
+                 assert.c _strcat.c time.c printf_fast.c bpx.c 
 
 OBJECTS                = $(patsubst %.c,$(PORTDIR)/%.rel,$(SOURCES))
 
diff --git a/device/lib/bpx.c b/device/lib/bpx.c
new file mode 100644 (file)
index 0000000..e234198
--- /dev/null
@@ -0,0 +1,26 @@
+/*-------------------------------------------------------------------------
+
+  bpx.c :- just declares bpx as a variable                
+
+             Written By -  Sandeep Dutta . sandeep.dutta@usa.net (1999)
+
+   This library is free software; you can redistribute it and/or modify it
+   under the terms of the GNU Library General Public License as published by the
+   Free Software Foundation; either version 2, or (at your option) any
+   later version.
+   
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU Library General Public License for more details.
+   
+   You should have received a copy of the GNU Library General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+   
+   In other words, you are welcome to use, share and improve this program.
+   You are forbidden to forbid anyone else to use, share and improve
+   what you give them.   Help stamp out software-hoarding!  
+-------------------------------------------------------------------------*/
+
+data unsigned int bpx ;
index 022546a3da8fb3fc3e11d49cca3b27983a7aa80f..4732a29243be751bdae04a506931f7ddd544ad60 100644 (file)
@@ -44,3 +44,4 @@ printf_fast
 vprintf
 assert
 time
+bpx
\ No newline at end of file