[Sdcc-user] strange problem with passing variables on stack (mcs51, --auto-stack, large memory model, w/ bank switching)

2010-01-06 Thread Anthony Asterisk
I'm using: u...@instant-contiki:~/contiki-2.x/examples/udp-ipv6$ sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.9.4 #5556 (Oct 29 2009) (UNIX) compile flags are: sdcc --codeseg BANK1 --std-c99 --model-large --stack-auto -c ../../cpu/cc2430/dev/cc2430_rf.c -

Re: [Sdcc-user] 8052 pointer seems to quit v2.

2010-01-06 Thread Sean Cross
Gordon Henderson wrote: > That's not what that statement is doing. > > One = is an assignment, 2 == is comparision. > > So >if (a = a + 1024) > > evaluates a + 1024, then assigns the result to a, then tests the result > (of the new a) for true or false ... (or zero or non zero) so it'll al

Re: [Sdcc-user] 8052 pointer seems to quit v2.

2010-01-06 Thread Gordon Henderson
On Wed, 6 Jan 2010, Sean Cross wrote: > First off, Sorry for the new thread, my old free email account was > bouncing your replies, and by chance i saw your replies through the > archived lists. > I have since changed e-mail accounts, so there should not be any more of > a bounce problem. (i hope)

[Sdcc-user] 8052 pointer seems to quit v2.

2010-01-06 Thread Sean Cross
First off, Sorry for the new thread, my old free email account was bouncing your replies, and by chance i saw your replies through the archived lists. I have since changed e-mail accounts, so there should not be any more of a bounce problem. (i hope) using sdcc 2.9.0 and mcu8051ide for simulato