* sim/ucsim/hc08.src/hc08mac.h: removed faulty and unused add_u16_disp
authorMaartenBrock <MaartenBrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 1 Aug 2006 19:05:38 +0000 (19:05 +0000)
committerMaartenBrock <MaartenBrock@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 1 Aug 2006 19:05:38 +0000 (19:05 +0000)
* sim/ucsim/hc08.src/hc08.cc: removed faulty and unused int8
* sim/ucsim/z80.src/z80.cc: removed faulty and unused int8
* Changelog: not every \ should be a /

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4321 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
sim/ucsim/hc08.src/hc08.cc
sim/ucsim/hc08.src/hc08mac.h
sim/ucsim/z80.src/z80.cc

index 7179208ed665f9137a66a615817640e8662aa023..a367e2b980d85d0e449e36b18ad9d41465def1d9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,10 @@
 
 2006-08-01 Maarten Brock <sourceforge.brock AT dse.nl>
 
+       * sim/ucsim/hc08.src/hc08mac.h: removed faulty and unused add_u16_disp
+       * sim/ucsim/hc08.src/hc08.cc: removed faulty and unused int8
        * sim/ucsim/z80.src/z80mac.h (add_u16_disp): use explicit signed char cast
+       * sim/ucsim/z80.src/z80.cc: removed faulty and unused int8
 
 2006-07-31 Borut Razem <borut.razem AT siol.net>
 
 2006-06-25 Borut Razem <borut.razem AT siol.net>
 
        * device/lib/pic16/libc/stdio/sprintf.c: return the number of
-         characters printed (not including the trailing '/0' used to end
+         characters printed (not including the trailing '\0' used to end
          output to strings). Problem detected in regression test bug-927659.c.
          NOTE: printf() family functions should return int instead
          unsigned int!
        * as/mcs51/lkhead.c (newhead): head is absolute but not overlay
        * as/hc08/lklibr.c (addfile, fndsym),
        * as/mcs51/lklibr.c (addfile, buildlibraryindex, fndsym): prevent
-         index out of range and detect both '/' and '/'
+         index out of range and detect both '\' and '/'
        * device/include/mcs51/c8051f200.h: added _XPAGE, removed bad comment
        * device/include/stdbool.h: removed SDCC_ds390 from check to pass
          regression tests (ds390 cannot return bool yet)
 
 2006-04-18 Borut Razem <borut.razem AT siol.net>
 
-       * support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}/lib/pic/*.o,
-         ${DEV_ROOT}/lib/src/pic/libdev/*.S, ${DEV_ROOT}/lib/src/pic/libdev/*.inc
+       * support/scripts/sdcc.nsi: removed unexisting ${DEV_ROOT}\lib\pic\*.o,
+         ${DEV_ROOT}\lib\src\pic\libdev\*.S, ${DEV_ROOT}\lib\src\pic\libdev\*.inc
 
 2006-04-17 Borut Razem <borut.razem AT siol.net>
 
 
 2005-06-20 Slade Rich <slade_rich AT users.sourceforge.net>
 
-       * src/pic/pcode.c : Fixed problem when a string constant contains a "/r/n"
+       * src/pic/pcode.c : Fixed problem when a string constant contains a "\r\n"
          and the output asm file line is printed on two lines.
 
 2005-06-19 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
 2005-05-26 Raphael Neider <rneider AT web.de>
 
        * src/pic16/glue.c (pic16_printIvalChar): fixed _constant_ string
-         initializers with /0, bug #1208187
+         initializers with \0, bug #1208187
        * src/pic/glue.c (printIvalChar): fixed (non- and constant) string
-         intializers with /0, bug #1208187
+         intializers with \0, bug #1208187
 
 2005-05-26 Raphael Neider <rneider AT web.de>
 
        * src/pic16/glue.c (pic16_printIvalChar): fixed string
-         initializers with /0, bug #1208187
+         initializers with \0, bug #1208187
        * src/pic16/main.c (_process_pragma): added sanity checks
          for stack position and size, emit warnings when appropriate
 
 2005-05-26 Maarten Brock <sourceforge.brock AT dse.nl>
 
-       * device/lib/_strncpy.c: fixed not filling with /0
+       * device/lib/_strncpy.c: fixed not filling with \0
 
 2005-05-26 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
 
          (findNextInstruction), (findPrevInstruction),
          (findInstructionUsingLabel),
          src/pic/pcode.h: fixed bug #1164907 - Labels not being recognized
-       * src/pic/pcode.c (findLabel): added missing '/n'
+       * src/pic/pcode.c (findLabel): added missing '\n'
        * src/src.dsp: added SDCCdwarf2.c to the project
 
 2005-04-09 Borut Razem <borut.razem AT siol.net>
        to memccpy(void *, void *, char, size_t)
        * src/pic16/gen.c (genFunction, genEndFunction): reenable if-case to
        check whether to omit frame pointer or not,
-       * (genInline): convert all occurences of "/n" to LF in inline
+       * (genInline): convert all occurences of "\n" to LF in inline
        assembler blocks, this helps formatting the inline text,
        * (pic16_loadFSR0): modified prototype,
        * (genNearPointerGet, genNearPointerSet): reorganization of code,
 
 2004-08-04 Jesus Calvino-Fraga <jesusc AT ece.ubc.ca>
 
-       * src/mcs51/gen.c (genInline): Add /n for labels, not DOS/WIN dirs
-         such as c:/mydir.
+       * src/mcs51/gen.c (genInline): Add \n for labels, not DOS/WIN dirs
+         such as c:\mydir.
 
 2004-08-03 Maarten Brock <sourceforge.brock AT dse.nl>
 
          _memcmp.c _memmove.c calloc.c realloc.c free.c
        * support/regression/tests/malloc.c: added tests for new functionality
        * support/regression/tests/zeropad.c: added tests for truncated initializers
-         and initialized char arrays starting with '/x0'
+         and initialized char arrays starting with '\x0'
        * src/mcs51/peeph.def: fixed regression, added peephole 177.f
 
 2004-07-26 Bernhard Held <bernhard AT bernhardheld.de>
        a member of a specific memory bank,
        * (pic16_printIvalCharPtr): added code to add string literals either
        to code or the idata sections,
-       * src/pic16/main.c (_process_pragma): added /n to WHITE constant,
+       * src/pic16/main.c (_process_pragma): added \n to WHITE constant,
        also accept the 'udata' pragma,
        * src/pic16/main.h: new structure types sectName and sectSym
        * src/pic16/pcode.c: added new pCodeInstruction entry for BANKSEL
 
 2003-06-18  Bernhard Held <bernhard AT bernhardheld.de>
 
-       * support/Util/MySystem.c (merge_command): quick fix for Linux segfault with /"cmd/" arg
+       * support/Util/MySystem.c (merge_command): quick fix for Linux segfault with \"cmd\" arg
 
 2003-06-15  Borut Razem <borut.razem AT siol.net>
 
        * doc/sdccman.lyx: updated to Lyx 1.3
        * doc/cdbfileformat.lyx: updated to Lyx 1.3
        * doc/test_suite_spec.lyx: updated to Lyx 1.3
-       * doc/Makefile: added fix for the /tabularnewline problem, thanks to Jesus
+       * doc/Makefile: added fix for the \tabularnewline problem, thanks to Jesus
 
 2003-06-03  Bernhard Held <bernhard AT bernhardheld.de>
 
 2003-01-12  Bernhard Held <bernhard AT bernhardheld.de>
 
        * src/SDCCmain.c (main): port->finaliseOptions() moved for z80 linking
-       * src/SDCCutil.c (join): ugly bug: missing '/0'
+       * src/SDCCutil.c (join): ugly bug: missing '\0'
        * as/mcs51/lkmem.c (summary): sp on address 7 is safe
 
 2003-01-11  Bernhard Held <bernhard AT bernhardheld.de>
          so it is replaced with STRCASECMP, which is defined as stricmp in case of MSC and BORLANDC
        - solved MSC error in function aopDump()
 
-       * sdcc_vc.h: define PREFIX as "//sdcc"
+       * sdcc_vc.h: define PREFIX as "\\sdcc"
 
 2002-07-18  Bernhard Held <bernhard AT bernhardheld.de>
        * src/SDCCast.c (decorateType): fixed access to array of structures http://sourceforge.net/mailarchive/forum.php?thread_id=902690&forum_id=4107
index f333990d6cf5bb0329cfc392ae09794a11ecf2a6..5603feadc2b48439fb7f3a02cf024a2e9a1a124a 100644 (file)
@@ -49,7 +49,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
 #define uint32 t_addr
 #define uint8 unsigned char
-#define int8 char
 
 /*******************************************************************/
 
index 9eec83d6ca2ece580472b1f62d18d48919c7ee6d..d061cfe9a84f05926e881e330933ff69de37b5e2 100644 (file)
@@ -28,7 +28,6 @@
 #define push1(val) {store1(regs.SP,(val)); regs.SP-=1; }
 #define pop2(var) {var=get2(regs.SP+1); regs.SP+=2;}
 #define pop1(var) {var=get1(regs.SP+1); regs.SP+=1;}
-#define add_u16_disp(_w, _d) (( (unsigned short)(_w) + (char)(_d) ) & 0xffff)
 
 
 #define FLAG_SET(f) {regs.P |= f;}
index 9d2a6566a0ef61873216f724f8b995ee64b12c3d..05c7b8dd840bd4737fae1545ac9ccb47807b120c 100644 (file)
@@ -48,7 +48,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
 #define uint32 t_addr
 #define uint8 unsigned char
-#define int8 char
 
 /*******************************************************************/