Re: [Sdcc-user] 8051-variant dev board recommendations

2016-07-10 Thread Sab V
T code which is used to bitbang stuff https://github.com/RacingTornado/fx2lib/blob/fast_uart_try3/examples/uart_main/uart_main.c On Sun, Jul 10, 2016 at 10:25 PM, Philipp Klaus Krause wrote: > On 09.07.2016 09:25, Maarten Brock wrote: > >> On 07.07.2016 05:42, Sab V wrote: > >

Re: [Sdcc-user] 8051-variant dev board recommendations

2016-07-06 Thread Sab V
This may not meet all your requirements, but you should look at the FX2 from cypress. On Thu, Jul 7, 2016 at 5:36 AM, wrote: > > Looks like not enough ram for your requirements > > Sent from my iPhone > > > On Jul 6, 2016, at 7:26 PM, Philipp Klaus Krause wrote: > > > > I'm looking for dev

Re: [Sdcc-user] Using static inline function with assembly labels in SDCC (8051)

2016-07-04 Thread Sab V
>>What's wrong with 0001$ ? Nothing is wrong. I was just hoping to improve the readability. :-) On Mon, Jul 4, 2016 at 5:33 PM, Kustaa Nyholm wrote: > > If I replace the labels to 0001$ , then the errors dont exist anymore. > Is there any other way to use inline assembly with labels? > > What's

[Sdcc-user] Using static inline function with assembly labels in SDCC (8051)

2016-07-04 Thread Sab V
Hi, I am trying to compile the following code: static inline void uart_tx(char c) { __asm jnb _EA,label1 setb _ea_hold label1: __endasm' } void anotherfunction() { uart_tx(c); } In this case SDCC keeps complaining : Error: multiple definitions error Error: phase error: la