+2004-03-23 Scott Dattalo <scott AT dattalo.com>
+
+ * src/pic/gen.c (genCpl): multi-byte complements were not working.
+ * src/regression/Makefile: Regression test was not running.
+
2004-03-22 Bernhard Held <bernhard AT bernhardheld.de>
* src/SDCCast.c (processParms): fixed bug #920866; decorateType() can
emitpcode(POC_COMFW,popGet(AOP(left),offset));
emitpcode(POC_MOVWF,popGet(AOP(result),offset));
-
+ offset++;
}
CC = ../../bin/sdcc
LINKER = gplink
TARGETPIC = 16f873
+TARGETPIC2 = 16f877
CFLAGS = -mpic14 -c -pp$(TARGETPIC)
.SUFFIXES: .asm .c .cod .stc
rotate3.c \
rotate4.c \
rotate5.c \
- struct1.c \
sub.c \
sub2.c \
switch1.c \
xor.c \
ptrfunc.c
+# struct1.c \
# mul1.c \
COD := $(patsubst %.c, %.cod, $(SRC))
# The .cod files are generated by gpasm
# these get loaded by gpsim.
.o.cod:
- $(LINKER) --map -c -s $(TARGETPIC).lkr -o $*.o $*.o
+ $(LINKER) --map -c -s $(TARGETPIC2).lkr -o $*.o $*.o
# gpasm $*.asm
asm : $(ASM)
stc : $(STC)
+ echo $(STC)
test: $(STC)
echo "Done - Results are in $(LOGFILE)"
fi
# compile
-# ../../bin/sdcc -S -mpic14 $1.c
+
../../bin/sdcc -c -mpic14 -pp16f873 $1.c
-#gpasm -c -I /usr/local/share/gpasm/header $1.asm
-#gpasm $1.asm
+
# create the executable