fw/sdcc
17 years agocall AC_MSG_RESULT for each tested library
borutr [Tue, 31 Oct 2006 20:57:41 +0000 (20:57 +0000)]
call AC_MSG_RESULT for each tested library

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

17 years ago* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
borutr [Tue, 31 Oct 2006 19:19:25 +0000 (19:19 +0000)]
* debugger/mcs51/acinclude.m4, debugger/mcs51/aclocal.m4,
  debugger/mcs51/configure: get readline version

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

17 years agoremove readline5.dll
borutr [Mon, 30 Oct 2006 22:21:21 +0000 (22:21 +0000)]
remove readline5.dll

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

17 years agosdcc:
borutr [Mon, 30 Oct 2006 22:10:49 +0000 (22:10 +0000)]
sdcc:
* support/scripts/sdcc.nsi: include readline5.dll into the setup package
sdcc-build:
* lib/bootstrap.mk: add readline5.dll to packages if cross compiling

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

17 years ago* debugger/mcs51/aclocal.m4, debugger/mcs51/configure:
borutr [Mon, 30 Oct 2006 20:08:04 +0000 (20:08 +0000)]
* debugger/mcs51/aclocal.m4, debugger/mcs51/configure:
  locate readline even when cross compiling

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

17 years ago* debugger/mcs51/sdcdb.c: replaced hardcoded "/" with DIR_SEPARATOR_STRING
borutr [Mon, 30 Oct 2006 19:32:18 +0000 (19:32 +0000)]
* debugger/mcs51/sdcdb.c: replaced hardcoded "/" with DIR_SEPARATOR_STRING
* debugger/mcs51/acinclude.m4: locate readline even when cross compiling

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

17 years agodevice/include/mcs51/serial_IO.h: putchar() and getchar() using serial port.
jesusc [Sun, 29 Oct 2006 20:55:38 +0000 (20:55 +0000)]
device/include/mcs51/serial_IO.h: putchar() and getchar() using serial port.

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

17 years ago* device/include/malloc.h,
MaartenBrock [Sun, 29 Oct 2006 19:47:53 +0000 (19:47 +0000)]
* device/include/malloc.h,
* device/lib/calloc.c,
* device/lib/free.c,
* device/lib/malloc.c,
* device/lib/realloc.c: moved definition of struct into sources
* support/regression/tests/malloc.c: use void* for init_dynamic_memory()

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

17 years ago* as/asx8051.dsp: corrected output directories
MaartenBrock [Sun, 29 Oct 2006 16:29:34 +0000 (16:29 +0000)]
* as/asx8051.dsp: corrected output directories
* as/link/hc08: new directory for hc08 linker
* as/hc08/aslink.h,             as/link/aslink.h,
* as/hc08/aslink.mak,           as/link/hc08/aslink.mak,
* as/hc08/clean.mk,             as/link/hc08/clean.mk,
* as/hc08/link_hc08.dsp,        as/link/hc08/link_hc08.dsp,
* as/hc08/lkaomf51.c,           as/link/hc08/lkaomf51.c,
* as/hc08/lkarea.c,             as/link/hc08/lkarea.c,
* as/hc08/lkdata.c,             as/link/hc08/lkdata.c,
* as/hc08/lkelf.c,              as/link/hc08/lkelf.c,
* as/hc08/lkihx.c,              as/link/hc08/lkihx.c,
* as/hc08/lklibr.c,             as/link/hc08/lklibr.c,
* as/hc08/lkmain.c,             as/link/hc08/lkmain.c,
* as/hc08/lkmem.c,              as/link/hc08/lkmem.c,
* as/hc08/lkrloc.c,             as/link/hc08/lkrloc.c,
* as/hc08/lks19.c,              as/link/hc08/lks19.c,
* as/hc08/Makefile.aslink,      as/link/hc08/Makefile.aslink,
* as/hc08/Makefile.bcc,         as/link/hc08/Makefile.bcc,
* as/hc08/Makefile.in,          as/link/hc08/Makefile.in,
* as/link/hc08/conf.mk,
* configure,
* configure.in,
* Makefile.in,
* sdcc.dsw: moved hc08 linker to as/link/hc08
* as/hc08/lkeval.c,     as/link/mcs51/lkeval.c,     as/link/lkeval.c,
* as/hc08/lkhead.c,     as/link/mcs51/lkhead.c,     as/link/lkhead.c,
* as/hc08/lklex.c,      as/link/mcs51/lklex.c,      as/link/lklex.c,
* as/hc08/lklist.c,     as/link/mcs51/lklist.c,     as/link/lklist.c,
* as/hc08/lknoice.c,    as/link/mcs51/lknoice.c,    as/link/lknoice.c,
* as/hc08/lksym.c,      as/link/mcs51/lksym.c,      as/link/lksym.c,
* as/link/mcs51/aslink.dsp,
* as/link/mcs51/Makefile.in: factored out the common files
* as/hc08/lkstore.c: deleted, use the one already in as/link/
* as/clean.mk: extra cleaning common files
* as/link/mcs51/strcmpi.c,      as/strcmpi.c: moved
* as/link/mcs51/strcmpi.h: deleted, moved protoype to aslink.h
* as/mcs51/asm.h: include sdccconf.h or sdcc_vc.h

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

17 years ago* src/pic/ralloc.c (newReg): create aliases for registers with
tecodev [Sat, 28 Oct 2006 23:40:14 +0000 (23:40 +0000)]
* src/pic/ralloc.c (newReg): create aliases for registers with
  multiple names to fix #1579535 and #1584001,
  (regWithIdx,dirregWithName): resolve aliases on lookup
* src/pic/pcode.c (DoBankSelect): die with error message on failing
  bankselect
* device/lib/pic/libdev/Makefile.in: move pseudo stack down to 0x4f
  to prevent build errors on small devices

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

17 years ago* src/pic/gen.c (genFunction,genCall): drop "same code page"
tecodev [Sat, 28 Oct 2006 16:01:37 +0000 (16:01 +0000)]
* src/pic/gen.c (genFunction,genCall): drop "same code page"
  assumption within interrupt handlers, fixes #1584940
* src/pic/glue.c (pic14_constructAbsMap): mark absolute symbols as
  "emitted" to avoid emitting them again in udata

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

17 years agodevice/lib/_putchar.c,_getchar.c, inituart.c: removed
jesusc [Sat, 28 Oct 2006 05:33:58 +0000 (05:33 +0000)]
device/lib/_putchar.c,_getchar.c, inituart.c: removed

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

17 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4438 4a8a32a2...
jesusc [Thu, 26 Oct 2006 06:53:41 +0000 (06:53 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4438 4a8a32a2-be11-0410-ad9d-d568d2c75423

17 years agoInitialize uart only if SM0 and SM1 are zero. Also, use flag 'putchar_crlf' to turn...
jesusc [Thu, 26 Oct 2006 05:49:01 +0000 (05:49 +0000)]
Initialize uart only if SM0 and SM1 are zero.  Also, use flag 'putchar_crlf' to turn on/off CR to CRLF conversion.

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

17 years ago* doc/sdccman.lyx: updated IRQ section
frief [Wed, 25 Oct 2006 12:04:40 +0000 (12:04 +0000)]
* doc/sdccman.lyx: updated IRQ section

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

17 years agodevice/lib/_putchar.c,_getchar.c, inituart.c replacements for serial_io.c
jesusc [Wed, 25 Oct 2006 02:37:36 +0000 (02:37 +0000)]
device/lib/_putchar.c,_getchar.c, inituart.c replacements for serial_io.c

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

17 years ago* src/z80/main.c (_process_pragma, _parseOptions): fixed bug 1583318
MaartenBrock [Tue, 24 Oct 2006 19:24:11 +0000 (19:24 +0000)]
* src/z80/main.c (_process_pragma, _parseOptions): fixed bug 1583318

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

17 years agoAdded device/lib/serial_io.c: Default putchar() and getchar() for mcs51 uses serial...
jesusc [Tue, 24 Oct 2006 08:20:54 +0000 (08:20 +0000)]
Added device/lib/serial_io.c: Default putchar() and getchar() for mcs51 uses serial port.

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

17 years ago* src/mcs51/gen.c (movc): improved check for 0 and 1, see RFE 1582704
MaartenBrock [Mon, 23 Oct 2006 14:48:29 +0000 (14:48 +0000)]
* src/mcs51/gen.c (movc): improved check for 0 and 1, see RFE 1582704

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

17 years ago* support/regression/ports/mcs51/support.c: smaller _sdcc_external_startup()
frief [Mon, 23 Oct 2006 09:25:54 +0000 (09:25 +0000)]
* support/regression/ports/mcs51/support.c: smaller _sdcc_external_startup()
* device/lib/mcs51/crtxclear.asm: don't check high byte of l_PSEG

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

17 years agoInclude should be sdcc_vc.h not sdccc_vc.h...
jesusc [Sat, 21 Oct 2006 19:48:22 +0000 (19:48 +0000)]
Include should be sdcc_vc.h not sdccc_vc.h...

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

17 years ago* device/lib/gbz80/crt0.s,
MaartenBrock [Fri, 20 Oct 2006 14:11:41 +0000 (14:11 +0000)]
* device/lib/gbz80/crt0.s,
* device/lib/gbz80/crt0_rle.s,
* device/lib/gbz80/div.s,
* device/lib/gbz80/fstubs.s,
* device/lib/gbz80/heap.s,
* device/lib/gbz80/mul.s,
* device/lib/gbz80/putchar.s,
* device/lib/gbz80/stubs.s,
* device/lib/z80/crt0.s,
* device/lib/z80/crt0_rle.s,
* device/lib/z80/div.s,
* device/lib/z80/fstubs.s,
* device/lib/z80/heap.s,
* device/lib/z80/mul.s,
* device/lib/z80/putchar.s,
* device/lib/z80/stubs.s: reverted, I was mistaken

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

17 years ago* src/mcs51/peeph.def: peephole 238.x added check for notvolatile
frief [Fri, 20 Oct 2006 13:43:12 +0000 (13:43 +0000)]
* src/mcs51/peeph.def: peephole 238.x added check for notvolatile

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

17 years ago* support/regression/ports/mcs51/support.c: removed race condition on TI in _putchar...
frief [Fri, 20 Oct 2006 11:06:21 +0000 (11:06 +0000)]
* support/regression/ports/mcs51/support.c: removed race condition on TI in _putchar allowing to use serial port mode 0

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

17 years ago* sebugger/mcs51/sdcdb.c: replaced isblank() with isspace()
borutr [Fri, 20 Oct 2006 07:34:06 +0000 (07:34 +0000)]
* sebugger/mcs51/sdcdb.c: replaced isblank() with isspace()

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

17 years ago* device/lib/gbz80/crt0.s,
MaartenBrock [Thu, 19 Oct 2006 21:47:29 +0000 (21:47 +0000)]
* device/lib/gbz80/crt0.s,
* device/lib/gbz80/crt0_rle.s,
* device/lib/gbz80/div.s,
* device/lib/gbz80/fstubs.s,
* device/lib/gbz80/heap.s,
* device/lib/gbz80/mul.s,
* device/lib/gbz80/putchar.s,
* device/lib/gbz80/stubs.s,
* device/lib/z80/crt0.s,
* device/lib/z80/crt0_rle.s,
* device/lib/z80/div.s,
* device/lib/z80/fstubs.s,
* device/lib/z80/heap.s,
* device/lib/z80/mul.s,
* device/lib/z80/putchar.s,
* device/lib/z80/stubs.s: removed all leading underscores from area names

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

17 years ago* support/regression/ports/mcs51/support.c: use highest baudrate so the
MaartenBrock [Tue, 17 Oct 2006 21:12:12 +0000 (21:12 +0000)]
* support/regression/ports/mcs51/support.c: use highest baudrate so the
  regression tests are not waiting in the simulator for simulated
  transmission of debug output

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

17 years ago* device/lib/printf_large.c: slightly smaller
frief [Mon, 16 Oct 2006 15:38:12 +0000 (15:38 +0000)]
* device/lib/printf_large.c: slightly smaller
* doc/sdccman.lyx: do not use spaces within html links

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

17 years ago* configure.in, configure, sdccconf_in.h, src/SDCCglobal,
borutr [Mon, 16 Oct 2006 13:04:35 +0000 (13:04 +0000)]
* configure.in, configure, sdccconf_in.h, src/SDCCglobal,
  debugger/mcs51/Makefile.in, debugger/mcs51/sdcdb.[ch],
  debugger/mcs51/aclocal.m4, debugger/mcs51/acinclide.m4,
  debugger/mcs51/config.h.in, debugger/mcs51/configure.in,
  debugger/mcs51/configure:
  [ 1185668 ] add gnu readline support to sdcdb - enabled

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

17 years ago* src/pic/pcode.c (BankSelect): another fix on (partial) BANKSELs,
tecodev [Mon, 16 Oct 2006 08:26:54 +0000 (08:26 +0000)]
* src/pic/pcode.c (BankSelect): another fix on (partial) BANKSELs,
  fixes #1577882, removes close to all banking optimizations

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

17 years ago* src/SDCCsymt.c (checkSClass): no error for uninitialised absolute
MaartenBrock [Sun, 15 Oct 2006 18:03:24 +0000 (18:03 +0000)]
* src/SDCCsymt.c (checkSClass): no error for uninitialised absolute
  variables in code memory
* support/regression/tests/absolute.c: added test for this

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

17 years ago* src/pic/pcode.c (InsertBankSel): suppress BANKSELs for one bank
tecodev [Sun, 15 Oct 2006 00:57:40 +0000 (00:57 +0000)]
* src/pic/pcode.c (InsertBankSel): suppress BANKSELs for one bank
  devices,
  (BankSelect): emit BANKSEL before touching linker-placed regs,
  fixes #1570934

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

17 years ago* src/SDCCmain.c (optionsTable): accept --stack-size for PICs,
tecodev [Tue, 10 Oct 2006 19:59:16 +0000 (19:59 +0000)]
* src/SDCCmain.c (optionsTable): accept --stack-size for PICs,
* src/pic/device.c (pic14_getSharebankSize,pic14_getSharebankAddress),
* src/pic/main.c (_pic14_parseOptions),
* src/pic/main.h: mostly reverted to previous state, now use results
    from SDCCmain.c's argument parsing

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

17 years ago* debugger/mcs51/break.[ch], debugger/mcs51/cmd.c,
borutr [Tue, 10 Oct 2006 19:46:28 +0000 (19:46 +0000)]
* debugger/mcs51/break.[ch], debugger/mcs51/cmd.c,
  debugger/mcs51/sdcdb.[ch], debugger/mcs51/simi.c:
  [ 1185668 ] add gnu readline support to sdcdb -
  prepared for READLINE, not enabled yet

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

17 years ago* src/pic16/pcode.c (pic16_pCode2str): use isACCESS_BANK macro
tecodev [Tue, 10 Oct 2006 19:34:26 +0000 (19:34 +0000)]
* src/pic16/pcode.c (pic16_pCode2str): use isACCESS_BANK macro
* src/pic16/devices.inc,
* device/include/pic16 (pic18f[24]620.h),
* device/include/pic18fregs.h,
* device/lib/pic16/pics.all,
* device/lib/pic16/libdev/pic18f[24]{620,525}.c): added support for
  18f262018f462018f2525, and 18f4525 devices, thanks to
  Gary Plumbridge and Anton Strobl

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

17 years ago* src/pic/main.c (_pic14_parseOptions): added --stack-loc=NUM and
tecodev [Tue, 10 Oct 2006 18:20:41 +0000 (18:20 +0000)]
* src/pic/main.c (_pic14_parseOptions): added --stack-loc=NUM and
  --stack-siz=NUM options to configure the argument passing stack
* src/pic/main.h: added stackLocation and stackSize to pic14_options_t
* src/pic/device.c (mapRegister): catch out-of-memory SIGSEGVs,
  (pic14_getSharebankSize): obey --stack-siz=NUM,
  (pic14_getSharebankAddress): obey --stack-loc=NUM

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

17 years ago* doc/sdccman.lyx: added to the manual
frief [Sun, 8 Oct 2006 21:38:17 +0000 (21:38 +0000)]
* doc/sdccman.lyx: added to the manual
* doc/figures/ddd_example.png: added (neither pdflatex nor most browsers seem to like the .eps file)

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

17 years ago* src/SDCCglue.c (tempfileandname): changed un*x tmp search paths to /tmp and /var...
bernhardheld [Fri, 6 Oct 2006 20:50:56 +0000 (20:50 +0000)]
* src/SDCCglue.c (tempfileandname): changed un*x tmp search paths to /tmp and /var/tmp acc. LSB
* src/SDCCast.c (addCast): Fixed bug 1571231: promote in case of RESULT_TYPE_IFX
* support/regression/tests/onebyte.c: added test

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

17 years agosrc/mcs51/gen.c: emitcode for "add a,0x%02x" requires only 8 bits.
jesusc [Fri, 6 Oct 2006 06:48:39 +0000 (06:48 +0000)]
src/mcs51/gen.c: emitcode for "add a,0x%02x" requires only 8 bits.

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

17 years ago* partially fixed [ 1570701 ] peephole - not replacing code from multiline macros,
borutr [Thu, 5 Oct 2006 19:41:44 +0000 (19:41 +0000)]
* partially fixed [ 1570701 ] peephole - not replacing code from multiline macros,
  thanks to dfulab:
  - sdcc.dsw: changed property eol-style to CRLF
  - support/scripts/resource.rc: replaced references to "afxres.h" with "winres.h"

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

17 years ago* device/include/pic/{pic16f84.h,pic16f84a.h},
tecodev [Wed, 4 Oct 2006 08:55:09 +0000 (08:55 +0000)]
* device/include/pic/{pic16f84.h,pic16f84a.h},
* device/lib/pic/libdev/{pic16f84.c,pic16f84a.c}: added PORT[AB]_bits
  from patch #1522504, thanks to Robas Teodor

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

17 years ago* as/link/z80/lkarea.c: essentially reverted lnksect() to #4380 which
MaartenBrock [Mon, 2 Oct 2006 20:53:29 +0000 (20:53 +0000)]
* as/link/z80/lkarea.c: essentially reverted lnksect() to #4380 which
  fixes bug 1566015

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

17 years ago* device/lib/gets.c: fixed bug 1568829,thanks Philipp Krause
MaartenBrock [Sun, 1 Oct 2006 21:17:07 +0000 (21:17 +0000)]
* device/lib/gets.c: fixed bug 1568829,thanks Philipp Krause
* device/lib/pic16/libc/string/memcpypgm2ram.c,
* device/lib/pic16/libc/string/memcpyram2ram.c: fixed bug 1568836, thanks
  Philipp Krause
* as/mcs51/asmain.c (asmbl, newdot): fixed problems with absolute areas
* as/link/mcs51/lkmem.c (summary2): reverted, do do count abs segments

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

17 years ago* src/pic16/glue.c (pic16emitMaps),
MaartenBrock [Sun, 1 Oct 2006 15:14:29 +0000 (15:14 +0000)]
* src/pic16/glue.c (pic16emitMaps),
* src/pic/glue.c (pic14emitMaps): hopefully fixed bug 1568779

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

17 years agoRemove environment variable SDCCLIB_CC once finished.
jesusc [Sun, 1 Oct 2006 05:39:56 +0000 (05:39 +0000)]
Remove environment variable SDCCLIB_CC once finished.

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

17 years ago* support/librarian/sdcclib.c: Added option -l.
jesusc [Sun, 1 Oct 2006 04:46:07 +0000 (04:46 +0000)]
* support/librarian/sdcclib.c: Added option -l.
* as/link/mcs51/lkmem.c: don't use absolute segments to compute memory usage totals.
* device/lib/make51lib.bat: added.  Allows building mcs51 libraries easily using Windows command prompt.

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

17 years agoImproved -l option.
jesusc [Sun, 1 Oct 2006 03:47:36 +0000 (03:47 +0000)]
Improved -l option.

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

17 years agosupport/librarian/sdcclib.c: Added option -l
jesusc [Sat, 30 Sep 2006 18:18:12 +0000 (18:18 +0000)]
support/librarian/sdcclib.c: Added option -l

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

17 years ago* device/lib/libsdcc.lib: added module rand
MaartenBrock [Sat, 30 Sep 2006 17:03:45 +0000 (17:03 +0000)]
* device/lib/libsdcc.lib: added module rand
* src/ds390/ralloc.c (rematStr),
* src/hc08/ralloc.c (rematStr),
* src/mcs51/ralloc.c (rematStr),
* src/z80/ralloc.c (rematStr): made output more consistent
* src/mcs51/gen.c: cosmetic changes

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

17 years ago* src/port.h: added mem.cabs_name to PORT
MaartenBrock [Sat, 30 Sep 2006 00:37:38 +0000 (00:37 +0000)]
* src/port.h: added mem.cabs_name to PORT
* src/ds390/main.c,
* src/hc08/main.c,
* src/mcs51/main.c,
* src/pic16/main.c,
* src/pic/main.c,
* src/xa51/main.c,
* src/z80/main.c: added cabs_name initializers
* src/SDCCglue.c (emitStaticSeg): allocate and initialize absolute
  constants
  (emitMaps): emit absolutes in code memory into cabs_name
* src/SDCCmem.c,
* src/SDCCmem.h: added memory map c_abs and defined CABS_NAME
* src/ds390/gen.c (genCodePointerGet): fixed bug if left is a literal
* support/regression/fwk/include/testfwk.h: added define for at
* support/regression/tests/absolute.c: added, new

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

17 years ago* src/mcs51/gen.c (genPlusIncr, genMinusDec, genAddrOf): small
MaartenBrock [Fri, 29 Sep 2006 11:58:45 +0000 (11:58 +0000)]
* src/mcs51/gen.c (genPlusIncr, genMinusDec, genAddrOf): small
  optimizations, see also patch 887161 by Stas Sergeev
* src/mcs51/peeph.def(104, 207, 209, 212): disabled as they do not seem
  to be necessary anymore,
  (102, 103, 104, 127): renamed all occurances of bp to _bp

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

17 years ago* src/mcs51/peeph.def: renamed rule 257 to 257.a, added 257.b
MaartenBrock [Wed, 27 Sep 2006 12:01:50 +0000 (12:01 +0000)]
* src/mcs51/peeph.def: renamed rule 257 to 257.a, added 257.b
* src/SDCCicode.c(geniCodeMultiply): small optimization

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

17 years ago* device/include/mcs51/at89c51snd1c.h: fixed MSK_SREQ definition
MaartenBrock [Wed, 27 Sep 2006 09:31:14 +0000 (09:31 +0000)]
* device/include/mcs51/at89c51snd1c.h: fixed MSK_SREQ definition
  thanks Weston T. Schmidt for patch 1555221

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

17 years agogit-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4387 4a8a32a2...
MaartenBrock [Tue, 26 Sep 2006 19:53:26 +0000 (19:53 +0000)]
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4387 4a8a32a2-be11-0410-ad9d-d568d2c75423

17 years ago* src/z80/peeph.def: updated conditonals, fixed bug 1565908
MaartenBrock [Tue, 26 Sep 2006 19:40:27 +0000 (19:40 +0000)]
* src/z80/peeph.def: updated conditonals, fixed bug 1565908

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

17 years ago* device/lib/Makefile.in: added rand.c
MaartenBrock [Tue, 26 Sep 2006 09:56:37 +0000 (09:56 +0000)]
* device/lib/Makefile.in: added rand.c

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

17 years ago* device/include/stdlib.h: added rand prototypes
MaartenBrock [Tue, 26 Sep 2006 09:05:07 +0000 (09:05 +0000)]
* device/include/stdlib.h: added rand prototypes
* device/lib/rand.c: new, added

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

17 years ago* device/lib/pic16/libio/i2c/i2cnack.c (i2c_nack): fixed ACKDT bit
tecodev [Wed, 20 Sep 2006 16:36:24 +0000 (16:36 +0000)]
* device/lib/pic16/libio/i2c/i2cnack.c (i2c_nack): fixed ACKDT bit

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

17 years ago* as/link/aslink.h: cosmetic changes
MaartenBrock [Mon, 18 Sep 2006 22:58:52 +0000 (22:58 +0000)]
* as/link/aslink.h: cosmetic changes
* as/link/mcs51/Makefile.in,
* as/link/z80/Makefile.in: fixed build on CF where VPATH is used

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

17 years ago* as/link/aslink.h,
MaartenBrock [Sun, 17 Sep 2006 16:00:23 +0000 (16:00 +0000)]
* as/link/aslink.h,
* as/link/mcs51/aslink.h,
* as/link/z80/aslink.h: merged and moved to as/link/
* as/link/lkstore.c,
* as/link/mcs51/lkstore.c: moved to as/link/
* as/link/clean.mk: remove *.o
* as/link/mcs51/alloc.h: deleted
* as/link/mcs51/lkarea.c: added lnksect prototype
* as/link/mcs51/lkdata.c,
* as/link/mcs51/lklex.c,
* as/link/mcs51/lkmain.c: renamed as_getline to lk_getline
* as/link/mcs51/lkmem.c,
* as/link/mcs51/lknoice.c: removed include strcmpi.h
* as/link/mcs51/lksym.c: include stdlib.h instead of malloc.h or alloc.h
* as/link/mcs51/aslink.dsp,
* as/link/mcs51/Makefile.aslink,
* as/link/mcs51/Makefile.bcc,
* as/link/mcs51/Makefile.in: updated for moved files
* as/link/z80/lkarea.c,
* as/link/z80/lkhead.c,
* as/link/z80/lklex.c,
* as/link/z80/lklibr.c,
* as/link/z80/lklist.c,
* as/link/z80/lkmain.c,
* as/link/z80/lkrloc.c,
* as/link/z80/lksym.c: synced with mcs51
* as/link/z80/lkdata.c,
* as/link/z80/lkeval.c,
* as/link/z80/lkihx.c,
* as/link/z80/lks19.c: cosmetic changes
* as/link/z80/Makefile.in,
* as/link/z80/linkgbz80.dsp,
* as/link/z80/linkz80.dsp: updated for moved files

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

17 years agofixed typo
borutr [Sat, 16 Sep 2006 14:34:36 +0000 (14:34 +0000)]
fixed typo

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

17 years ago* debugger/mcs51/sdcdb.c: partially fixed
borutr [Sat, 16 Sep 2006 14:10:20 +0000 (14:10 +0000)]
* debugger/mcs51/sdcdb.c: partially fixed
  [ 1203664 ] sdcdb fails to open files w. two "." periods
* debugger/mcs51/simi.c, debugger/mcs51/symtab.c,
  debugger/mcs51/symtab.h: fixed indenting
* configure.in, configure: up to date with latest Maarten's changes

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

17 years agomoved mcs51 linker to as/link/mcs51
MaartenBrock [Fri, 15 Sep 2006 06:52:50 +0000 (06:52 +0000)]
moved mcs51 linker to as/link/mcs51

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

17 years agomoved link/ to as/link/
MaartenBrock [Thu, 14 Sep 2006 18:32:41 +0000 (18:32 +0000)]
moved link/ to as/link/

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

17 years ago* as/mcs51/i51mch.c (machine): fixed warning
MaartenBrock [Mon, 11 Sep 2006 20:24:04 +0000 (20:24 +0000)]
* as/mcs51/i51mch.c (machine): fixed warning

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

17 years ago* as/mcs51/i51mch.c (machine): S_DJNZ fixed bug 1554318
MaartenBrock [Sun, 10 Sep 2006 18:36:04 +0000 (18:36 +0000)]
* as/mcs51/i51mch.c (machine): S_DJNZ fixed bug 1554318

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

17 years ago* debugger/mcs51/sdcdb.c, debugger/mcs51/simi.c:
borutr [Sat, 9 Sep 2006 20:19:39 +0000 (20:19 +0000)]
* debugger/mcs51/sdcdb.c, debugger/mcs51/simi.c:
  sdcdb WIN32 native port
* src/clean.mk: fixed

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

17 years agoupdated sdcc_ming32 and sdcc_cygwin_mingw32 build scripts
borutr [Fri, 8 Sep 2006 14:41:20 +0000 (14:41 +0000)]
updated sdcc_ming32 and sdcc_cygwin_mingw32 build scripts

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

17 years ago* doc/sdccman.lyx: SDCDB and ucSim are available on Win32 platforms.
borutr [Fri, 8 Sep 2006 14:15:29 +0000 (14:15 +0000)]
* doc/sdccman.lyx: SDCDB and ucSim are available on Win32 platforms.

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

17 years ago* src/pic16/main.c (_pic16_linkEdit,pic16_linkCmd),
tecodev [Fri, 8 Sep 2006 08:06:23 +0000 (08:06 +0000)]
* src/pic16/main.c (_pic16_linkEdit,pic16_linkCmd),
* src/pic/main.c(_pic14_do_link, linkCmd): pass "-w" and "-r"
    to gplink to disable processor mismatch warning and to allow
    the use of devices with only aliased (shared) memory banks,
  (_pic16_genAssemblerPreamble): include pXXX.inc on --mplab-comp

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

17 years agodoc/sdccman.lyx: Some re-formating plus example on using #pragma preproc_asm +/-
jesusc [Thu, 7 Sep 2006 16:51:06 +0000 (16:51 +0000)]
doc/sdccman.lyx: Some re-formating plus example on using #pragma preproc_asm +/-

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

17 years agoremove bin/sdcdb*.el
borutr [Thu, 7 Sep 2006 15:07:40 +0000 (15:07 +0000)]
remove bin/sdcdb*.el

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

17 years ago* support/scripts/sdcc.nsi: added SDCDB executables in a separate
borutr [Thu, 7 Sep 2006 09:10:32 +0000 (09:10 +0000)]
* support/scripts/sdcc.nsi: added SDCDB executables in a separate
  section

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

17 years ago* support/scripts/sdcc.nsi: fixed Error: unterminated string parsing
borutr [Wed, 6 Sep 2006 20:30:32 +0000 (20:30 +0000)]
* support/scripts/sdcc.nsi: fixed Error: unterminated string parsing
  line at sdcc.nsi:153
* sdcc/debugger/mcs51/simi.c: argsToCmdLine() fixes

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

17 years ago* configure.in, configure: support for winsock2
borutr [Tue, 5 Sep 2006 20:16:41 +0000 (20:16 +0000)]
* configure.in, configure: support for winsock2
* debugger/mcs51/break.h, debugger/mcs51/cmd.c,
  debugger/mcs51/cmd.h, debugger/mcs51/sdcdb.c,
  debugger/mcs51/sdcdb.h, debugger/mcs51/simi.c,
  debugger/mcs51/simi.h, debugger/mcs51/symtab.c,
  debugger/mcs51/symtab.h: sdcdb WIN32 native port

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

17 years ago* support/regression/tests/bug1551947.c: new, added
MaartenBrock [Tue, 5 Sep 2006 10:17:23 +0000 (10:17 +0000)]
* support/regression/tests/bug1551947.c: new, added
* src/SDCCsymt.h: strings are char* not byte*

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

17 years ago* src/SDCCopt.c (cnvToFcall): fixed bug 1551947 by updating OP_USES
MaartenBrock [Tue, 5 Sep 2006 06:30:03 +0000 (06:30 +0000)]
* src/SDCCopt.c (cnvToFcall): fixed bug 1551947 by updating OP_USES
  and OP_DEFS

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

17 years ago* device/lib/pic16/libdev/pic18f4550.c,
tecodev [Mon, 4 Sep 2006 23:33:29 +0000 (23:33 +0000)]
* device/lib/pic16/libdev/pic18f4550.c,
  device/include/pic16/pic18f4550.h: added PORTD/TRISD
    declarations/definitions from patch #1520949

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

17 years ago* src/pic16/gen.c (genPackBits): fix assignemnt to 8-bit,
tecodev [Mon, 4 Sep 2006 23:09:44 +0000 (23:09 +0000)]
* src/pic16/gen.c (genPackBits): fix assignemnt to 8-bit,
  byte-aligned bitfields, fixes #1539278

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

17 years ago* src/pic/gen.c (genReceive): skip unreferenced arguments,
tecodev [Mon, 4 Sep 2006 22:37:24 +0000 (22:37 +0000)]
* src/pic/gen.c (genReceive): skip unreferenced arguments,
  fixes #1544120

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

17 years ago* support/scripts/sdcc.nsi: move ucSim executables to a separate section
borutr [Mon, 4 Sep 2006 19:49:53 +0000 (19:49 +0000)]
* support/scripts/sdcc.nsi: move ucSim executables to a separate section
* support/scripts/sdcc_cygwin_mingw32: don't disable ucsim,
  -mno-cygwin is a part of the compiler name
* support/scripts/sdcc_mingw32: don't disable ucsim

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

17 years ago* sdcc.spec: corrected for 2.6.0. Thanks to Christer Weinigel.
borutr [Sun, 3 Sep 2006 18:04:48 +0000 (18:04 +0000)]
* sdcc.spec: corrected for 2.6.0. Thanks to Christer Weinigel.
* device/lib/Makefile.in device/lib/clean.mk: small but essential corrections

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

17 years ago* sdcc.spec: corrected for 2.6.0. Thanks to Christer Weinigel.
borutr [Sun, 3 Sep 2006 15:07:30 +0000 (15:07 +0000)]
* sdcc.spec: corrected for 2.6.0. Thanks to Christer Weinigel.

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

17 years ago* src/pic/ralloc.c,
tecodev [Sun, 3 Sep 2006 14:39:49 +0000 (14:39 +0000)]
* src/pic/ralloc.c,
* src/pic/pcode.c (InitReuseRegs): allocate registers with pseudo
  indices >= 0x1000 to disambiguate them from fixed regs __at(addr),
  fixes #1550049

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

17 years ago* sim/ucsim/cmd.src/cmdutil.cc: #include <sys/time.h> and <unistd.h>
borutr [Fri, 1 Sep 2006 18:06:34 +0000 (18:06 +0000)]
* sim/ucsim/cmd.src/cmdutil.cc: #include <sys/time.h> and <unistd.h>
  to make ppc-osx happy

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

17 years ago* sim/ucsim/cmd.src/newcmd.cc: #include <ctype.h>
borutr [Thu, 31 Aug 2006 19:06:14 +0000 (19:06 +0000)]
* sim/ucsim/cmd.src/newcmd.cc: #include <ctype.h>
* support/regression/ports/ds390/spec.mk, support/regression/ports/mcs51/spec.mk,
  support/regression/ports/xa51/spec.mk: introduced DEV_NULL variable.
  To run regression tests in mingw environment type:
  make DEV_NULL=NUL CC=gcc

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

17 years ago* sim/ucsim/cmd.src/newcmdposix.cc: #include <assert.h>
borutr [Thu, 31 Aug 2006 12:51:59 +0000 (12:51 +0000)]
* sim/ucsim/cmd.src/newcmdposix.cc: #include <assert.h>

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

17 years agoset svn properties
borutr [Wed, 30 Aug 2006 21:17:29 +0000 (21:17 +0000)]
set svn properties

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

17 years ago* sim/ucsim/cmd.src/newcmdposix.cc, sim/ucsim/cmd.src/newcmdposixcl.h,
borutr [Wed, 30 Aug 2006 21:12:39 +0000 (21:12 +0000)]
* sim/ucsim/cmd.src/newcmdposix.cc, sim/ucsim/cmd.src/newcmdposixcl.h,
  sim/ucsim/cmd.src/newcmdwin32.cc, sim/ucsim/cmd.src/newcmdwin32cl.h,
  sim/ucsim/app.cc, sim/ucsim/appcl.h, sim/ucsim/configure,
  sim/ucsim/configure.in, sim/ucsim/ddconfig_in.h, sim/ucsim/error.cc,
  sim/ucsim/errorcl.h, sim/ucsim/option.cc, sim/ucsim/optioncl.h,
  sim/ucsim/utils.cc, sim/ucsim/utils.h, sim/ucsim/cmd.src/Makefile.in,
  sim/ucsim/avr.src/avr.cc, sim/ucsim/avr.src/avrcl.h,
  sim/ucsim/cmd.src/bp.cc, sim/ucsim/cmd.src/bpcl.h,
  sim/ucsim/cmd.src/cmdconf.cc, sim/ucsim/cmd.src/cmdgui.cc,
  sim/ucsim/cmd.src/cmdmem.cc, sim/ucsim/cmd.src/cmdset.cc,
  sim/ucsim/cmd.src/cmdsetcl.h, sim/ucsim/cmd.src/cmdstat.cc,
  sim/ucsim/cmd.src/cmduc.cc, sim/ucsim/cmd.src/cmduccl.h,
  sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/cmdutil.h,
  sim/ucsim/cmd.src/command.cc, sim/ucsim/cmd.src/commandcl.h,
  sim/ucsim/cmd.src/get.cc, sim/ucsim/cmd.src/getcl.h,
  sim/ucsim/cmd.src/info.cc, sim/ucsim/cmd.src/newcmd.cc,
  sim/ucsim/cmd.src/newcmdcl.h, sim/ucsim/cmd.src/set.cc,
  sim/ucsim/cmd.src/show.cc, sim/ucsim/cmd.src/timer.cc,
  sim/ucsim/hc08.src/hc08.cc, sim/ucsim/hc08.src/hc08cl.h,
  sim/ucsim/s51.src/Makefile.in, sim/ucsim/s51.src/interrupt.cc,
  sim/ucsim/s51.src/interruptcl.h, sim/ucsim/s51.src/pca.cc,
  sim/ucsim/s51.src/pcacl.h, sim/ucsim/s51.src/port.cc,
  sim/ucsim/s51.src/portcl.h, sim/ucsim/s51.src/serial.cc,
  sim/ucsim/s51.src/serialcl.h, sim/ucsim/s51.src/timer0.cc,
  sim/ucsim/s51.src/timer0cl.h, sim/ucsim/s51.src/timer1.cc,
  sim/ucsim/s51.src/timer1cl.h, sim/ucsim/s51.src/timer2.cc,
  sim/ucsim/s51.src/timer2cl.h, sim/ucsim/s51.src/uc390.cc,
  sim/ucsim/s51.src/uc390cl.h, sim/ucsim/s51.src/uc390hw.cc,
  sim/ucsim/s51.src/uc390hwcl.h, sim/ucsim/s51.src/uc51.cc,
  sim/ucsim/s51.src/uc51cl.h, sim/ucsim/s51.src/wdt.cc,
  sim/ucsim/s51.src/wdtcl.h, sim/ucsim/sim.src/hw.cc,
  sim/ucsim/sim.src/hwcl.h, sim/ucsim/sim.src/mem.cc,
  sim/ucsim/sim.src/memcl.h, sim/ucsim/sim.src/obsolete.cc,
  sim/ucsim/sim.src/obsolete.h, sim/ucsim/sim.src/sim.cc,
  sim/ucsim/sim.src/simcl.h, sim/ucsim/sim.src/stack.cc,
  sim/ucsim/sim.src/stackcl.h, sim/ucsim/sim.src/test_mem_speed.cc,
  sim/ucsim/sim.src/uc.cc, sim/ucsim/sim.src/uccl.h,
  sim/ucsim/xa.src/xa.cc, sim/ucsim/xa.src/xacl.h,
  sim/ucsim/z80.src/z80.cc, sim/ucsim/z80.src/z80cl.h:
  ucsim WIN32 native port

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

17 years ago* doc/sdccman.lyx: added note on dynamic memory heap initialization
jesusc [Wed, 30 Aug 2006 18:37:26 +0000 (18:37 +0000)]
* doc/sdccman.lyx: added note on dynamic memory heap initialization

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

17 years ago* src/ds390/gen.c (aopGetUsesAcc): handle AOP_DPTR2 and AOP_DPTRn too
MaartenBrock [Sun, 27 Aug 2006 20:51:56 +0000 (20:51 +0000)]
* src/ds390/gen.c (aopGetUsesAcc): handle AOP_DPTR2 and AOP_DPTRn too

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

17 years ago* src/mcs51/gen.c (genAnd, genOr, genXor): fixed bug 1546986
MaartenBrock [Sun, 27 Aug 2006 13:30:50 +0000 (13:30 +0000)]
* src/mcs51/gen.c (genAnd, genOr, genXor): fixed bug 1546986

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

17 years ago* as/mcs51/.cvsignore,
MaartenBrock [Sat, 26 Aug 2006 19:46:41 +0000 (19:46 +0000)]
* as/mcs51/.cvsignore,
* debugger/mcs51/.cvsignore,
* src/.cvsignore: deleted

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

17 years ago* src/ds390/gen.c (genAnd, genOr, genXor): fixed bug 1546986
MaartenBrock [Sat, 26 Aug 2006 16:04:34 +0000 (16:04 +0000)]
* src/ds390/gen.c (genAnd, genOr, genXor): fixed bug 1546986
* support/regression/tests/bug1546986.c: new, added

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

17 years agodevice/include/mcs51/P89c51RD2.h: fixed bug 1546936 (error in sbit definitions)
jesusc [Sat, 26 Aug 2006 01:00:38 +0000 (01:00 +0000)]
device/include/mcs51/P89c51RD2.h: fixed bug 1546936 (error in sbit definitions)

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

17 years ago* sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h:
borutr [Sun, 20 Aug 2006 13:57:43 +0000 (13:57 +0000)]
* sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h:
  removed cl_listen_console::match(), cl_console::match(),
  restructured cl_commander::proc_input()

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

17 years agocode cleaned a little bit too much ;-)
borutr [Wed, 16 Aug 2006 18:14:24 +0000 (18:14 +0000)]
code cleaned a little bit too much ;-)

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

17 years ago* sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h,
borutr [Wed, 16 Aug 2006 14:47:12 +0000 (14:47 +0000)]
* sim/ucsim/cmd.src/newcmd.cc, sim/ucsim/cmd.src/newcmdcl.h,
  sim/ucsim/cmd.src/cmdutil.cc, sim/ucsim/cmd.src/cmdutil.h,
  sim/ucsim/sim.src/mem.cc, sim/ucsim/sim.src/uc.cc: code cleaning

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

17 years agocorrected typos
borutr [Mon, 14 Aug 2006 12:53:33 +0000 (12:53 +0000)]
corrected typos

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

17 years ago* support/regression/Makefile.in,
borutr [Mon, 14 Aug 2006 12:51:48 +0000 (12:51 +0000)]
* support/regression/Makefile.in,
  support/regression/ports/pic14/gpsim.cmd,
  support/regression/ports/pic14/spec.mk,
  support/regression/ports/pic14/support.c:
  added pic14 regression test

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