* device/include/pic16/stdio.h: fixed bug with colon
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3523
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-10-05 Vangelis Rokas <vrokas AT otenet.gr>
+
+ * device/lib/pic16/libsdcc/gptr/gptr*.c: added return statements
+ * device/include/pic16/stdio.h: fixed bug with colon
+
2004-10-03 Vangelis Rokas <vrokas AT otenet.gr>
* device/include/pic16/stdio.h,
2004-10-03 Vangelis Rokas <vrokas AT otenet.gr>
* device/include/pic16/stdio.h,
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
-extern void printf_small (char *,...); _REENTRANT;
+extern void printf_small (char *,...) _REENTRANT;
extern int printf (const char *,...);
extern int vprintf (const char *, va_list);
extern int sprintf (char *, const char *, ...);
extern int printf (const char *,...);
extern int vprintf (const char *, va_list);
extern int sprintf (char *, const char *, ...);
/* debug info */
movf _POSTINC0, w
/* debug info */
movf _POSTINC0, w
/* result in TBLAT */
movf _TABLAT, w
/* result in TBLAT */
movf _TABLAT, w
_lab_02_:
/* EEPROM pointer */
_lab_02_:
/* EEPROM pointer */
movf _POSTINC0, w
movff _POSTINC0, _PRODL
movf _POSTINC0, w
movff _POSTINC0, _PRODL
TBLRD*+
movff _TABLAT, _PRODL
TBLRD*+
movff _TABLAT, _PRODL
movff _POSTINC0, _PRODL
movff _POSTINC0, _PRODH
movff _POSTINC0, _PRODL
movff _POSTINC0, _PRODH
TBLRD*+
movff _TABLAT, _PRODH
TBLRD*+
movff _TABLAT, _PRODH
movff _POSTINC0, _PRODH
movff _POSTINC0, _FSR0L
movff _POSTINC0, _PRODH
movff _POSTINC0, _FSR0L
TBLRD*+
movff _TABLAT, _FSR0L
TBLRD*+
movff _TABLAT, _FSR0L
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
/* data are already in FSR0 */
movff _PRODL, _POSTINC0
/* data are already in FSR0 */
movff _PRODL, _POSTINC0
_lab_01_:
/* code or eeprom */
_lab_01_:
/* code or eeprom */
- btfsc _WREG, 6
- goto _lab_02_
+ btfss _WREG, 6
+ return
/* code pointer, cannot write code pointers */
/* code pointer, cannot write code pointers */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
movff _PRODL, _POSTINC0
movff _PRODH, _POSTINC0
movff _PRODL, _POSTINC0
movff _PRODH, _POSTINC0
_lab_01_:
/* code or eeprom */
_lab_01_:
/* code or eeprom */
- btfsc _WREG, 6
- goto _lab_02_
+ btfss _WREG, 6
+ return
/* code pointer, cannot write code pointers */
/* code pointer, cannot write code pointers */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
movff _PRODH, _POSTINC0
movff _TBLPTRL, _POSTINC0
movff _PRODH, _POSTINC0
movff _TBLPTRL, _POSTINC0
_lab_01_:
/* code or eeprom */
_lab_01_:
/* code or eeprom */
- btfsc _WREG, 6
- goto _lab_02_
+ btfss _WREG, 6
+ return
/* code pointer, cannot write code pointers */
/* code pointer, cannot write code pointers */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
movff _TBLPTRL, _POSTINC0
movff _TBLPTRH, _POSTINC0
movff _TBLPTRL, _POSTINC0
movff _TBLPTRH, _POSTINC0
_lab_01_:
/* code or eeprom */
_lab_01_:
/* code or eeprom */
- btfsc _WREG, 6
- goto _lab_02_
+ btfss _WREG, 6
+ return
/* code pointer, cannot write code pointers */
/* code pointer, cannot write code pointers */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */
_lab_02_:
/* EEPROM pointer */
/* unimplemented yet */