EmbeddedRelated.com

ideas for a BASIC compiler

Started by Frank Buss in comp.arch.embedded16 years ago 72 replies

I've started a BASIC compiler, first for PICs, but later I plan to use this for ARM platforms, too. This is an example source...

I've started a BASIC compiler, first for PICs, but later I plan to use this for ARM platforms, too. This is an example source code: http://www.frank-buss.de/tmp/test.bas.txt this is the generated assembler code: http://www.frank-buss.de/tmp/main.asm.txt and this is the compiler: http://www.frank-buss.de/tmp/compiler.lisp.txt A lot of things are missing, like a full expression ev...


library stdio.h of CCS C Compiler

Started by Paolo in comp.arch.embedded20 years ago 8 replies

Hi everybody, I use the CCS C Compiler to program the behavior of a robot (controled by a PIC 16F877) and I want to write some data from the...

Hi everybody, I use the CCS C Compiler to program the behavior of a robot (controled by a PIC 16F877) and I want to write some data from the PIC to a file via port serial RS232. But the problem is that "stdio.h" library of the compiler contains only 'getc', 'putc' but no file handling functions like 'fopen', 'fputc', fgetc', etc... Is there some solution i can use to perform "file handli...


Development Environment for 8085

Started by rk in comp.arch.embedded20 years ago 17 replies

Hi, Anyone have good recommendations for a development environment for an embedded 8085 system? Running on Windoze is preferred (because I...

Hi, Anyone have good recommendations for a development environment for an embedded 8085 system? Running on Windoze is preferred (because I have Windoze computers). A Pascal compiler is a big plus (because I'm old and speak Pascal well for the past 25 years). A C compiler is a small plus (because the programmers want a C compiler; I don't want the programmers, they produce too much ...


AVR IAR C Compiler

Started by Vidya in comp.arch.embedded19 years ago 3 replies

How to force the compiler to use stack as parameter passing for a particular function (for recursive functions)? Infact, my function isnt a...

How to force the compiler to use stack as parameter passing for a particular function (for recursive functions)? Infact, my function isnt a recursive one, but has a big parameter list. Due to this, the register values are being tampered, which were set by other functions. SO, i want the compiler to use stack for this particular function for its parameter calling. Thanx in advance


Assembly code with Borland's C compiler

Started by Hul Tytus in comp.arch.embedded14 years ago 20 replies

comp.arch.embedded Assembly code with Borland's C compiler Anyone have suggestions regarding the form for assembley code files used with...

comp.arch.embedded Assembly code with Borland's C compiler Anyone have suggestions regarding the form for assembley code files used with Borland's version C compiler? The code below, assembled by masm6, doesn't satisfy the linker (Borland's). The segment names are a guess for the most part - taken from masm6's accrued examples on other projects. "cs:DGROUP" appears off but, if the...


8051 C Compiler

Started by seba in comp.arch.embedded18 years ago 89 replies

Which is the best C compiler for 8051 (Analog Devices Aduc831/841 in particular)? Does anyone have experience with Accutron tools? Thanks in...

Which is the best C compiler for 8051 (Analog Devices Aduc831/841 in particular)? Does anyone have experience with Accutron tools? Thanks in advance.


data sizes in Keil RV ARM C compiler

Started by Anonymous in comp.arch.embedded16 years ago 5 replies

Hi, I am trying to use RV ARM C compiler from Keil and wanted to know the data sizes and storage types used in int, char, float, etc. I saw...

Hi, I am trying to use RV ARM C compiler from Keil and wanted to know the data sizes and storage types used in int, char, float, etc. I saw the following online help on keil.com but could not find the information: RealView Compiler User's Guide http://www.keil.com/support/man/docs/armcc/ RealView Compiler Reference Guide http://www.keil.com/support/man/docs/armccref/ Can anyone tell w...


Question about PIC CCS compiler

Started by Bob in comp.arch.embedded20 years ago 7 replies

I need to write a routine that Checksums the program memmory on a PIC using the CCS compiler. I want to declare a pointer to program space. I...

I need to write a routine that Checksums the program memmory on a PIC using the CCS compiler. I want to declare a pointer to program space. I thought that I could just declare a "const char * ptr" but the compiler does not seem to like this. Any one know how to get a pointer to program space? Thanks, Bob Weiman


Extended assembly in GreenHills compiler

Started by matrix13 in comp.arch.embedded11 years ago 13 replies

I am using PowerPC 55xx with GreenHills compiler. The following inline extended assembly code, asm("mftbl %[reg];" : [reg] "=r"(reg)); returns a...

I am using PowerPC 55xx with GreenHills compiler. The following inline extended assembly code, asm("mftbl %[reg];" : [reg] "=r"(reg)); returns a syntax error saying a ')' is missing. Now, I am wondering whether the GreenHills compiler does not support Extended Assembly. My intention is to copy the Time Base register value to a C variable and calculate the time elapsed. But, with the above metho...


AT91RM9200 compiler

Started by Shima in comp.arch.embedded18 years ago 3 replies

Hi everybody: I'm looking for AT91RM9200's compiler C & I searched so many.I have found different companies for this purpose like: HI-TECH &...

Hi everybody: I'm looking for AT91RM9200's compiler C & I searched so many.I have found different companies for this purpose like: HI-TECH & Rowley Associates & Green Hills,but as a matter of fact I am so confused,I don't know how to compare them & which one of them is the best for my project. Can anybody please guide me? Thanks.


PIC24 USB question ?

Started by Mike in comp.arch.embedded12 years ago 2 replies

As stated in another thread I am a newbie PIC programmer and I have inheirited a pile of code written for the CCS compiler. I need my PIC24 to...

As stated in another thread I am a newbie PIC programmer and I have inheirited a pile of code written for the CCS compiler. I need my PIC24 to play host to a USB mass storage device and heard that the Microchip compiler comes with library code for that. The CCS compiler has USB library functions but nothing relating to mass storage devices. Does anyone know the ins and outs of this and kno...


Bug in latest IAR MSP430 compiler optimization???

Started by larwe in comp.arch.embedded16 years ago 41 replies

Has anyone else observed that the latest kickstart MSP430 compiler from IAR has an extremely serious code generation bug when configured with...

Has anyone else observed that the latest kickstart MSP430 compiler from IAR has an extremely serious code generation bug when configured with optimizations=high,size? IAR C/C++ Compiler for MSP430 V4.10E/W32 [Kickstart] (4.10.5.3) C:\Program Files\IAR Systems\Embedded Workbench 5.0\430\bin\icc430.exe 2/15/2008 11:03:06 AM, 15015936 bytes I have a test case that demos the problem perfect...


keil compiler

Started by ishita in comp.arch.embedded18 years ago 9 replies

Hi everybody! How to implement assembly instructions using Keil compiler? Best regards, Ishita

Hi everybody! How to implement assembly instructions using Keil compiler? Best regards, Ishita


looking for the Archimedes C Compiler v2.7.15

Started by dougmac77 in comp.arch.embedded15 years ago 4 replies

I am working on a legency product and looking for a Archimedes C compiler V2.7.15 dated around 1997 I only have the older dos version, so do...

I am working on a legency product and looking for a Archimedes C compiler V2.7.15 dated around 1997 I only have the older dos version, so do you have the newer version thanks again


limits.h

Started by Vladimir Vassilevsky in comp.arch.embedded17 years ago 2 replies

It happens quite often that either 64 bit or 8 bit type is not supported by compiler/plaform. For the portability, it would be convenient to...

It happens quite often that either 64 bit or 8 bit type is not supported by compiler/plaform. For the portability, it would be convenient to add this support as a class (conditional compilation). Is there a compiler independent way to know at compile time which types are supported and which are not? VLV


C++ support in ARMCC (Keil) compiler/toolchain ?

Started by Dave Nadler in comp.arch.embedded14 years ago 12 replies

Hi All - Can anybody provide any comments on the C++ support in the Keil compiler (ARM7 target) ? Specifically: - completeness (though...

Hi All - Can anybody provide any comments on the C++ support in the Keil compiler (ARM7 target) ? Specifically: - completeness (though libstdc++ is not interesting for us) - robustness Thanks in advance, Best Regards, Dave PS: email me off-group if you like...


Recommendations for a C compiler for the MC9S08?

Started by Mr. C in comp.arch.embedded17 years ago 8 replies

I am just starting to look around at available C compilers for the Freescale line of 9S08 micros, specifically I have my eye on the MC9S08AW...

I am just starting to look around at available C compilers for the Freescale line of 9S08 micros, specifically I have my eye on the MC9S08AW part. Does anyone have any definite recommendations on good C compilers for those parts? Any compiler you would recommend staying away from? Thanks. Lou


BSO Tasking Compiler for C on

Started by BVN in comp.arch.embedded19 years ago 3 replies

Hi, Can anybody knows the vendor for BSO Tasking compiler for 80C196 microcontroller. pls reply regards BVN

Hi, Can anybody knows the vendor for BSO Tasking compiler for 80C196 microcontroller. pls reply regards BVN


8051 compilers

Started by Michael in comp.arch.embedded16 years ago 19 replies

Hi there - I am stuck developing code for 8051 uCs. We have been using the Dunfield compiler, but it looks like we are going to be...

Hi there - I am stuck developing code for 8051 uCs. We have been using the Dunfield compiler, but it looks like we are going to be moving towards a more complete compiler. I have been using the 1K demo of Keil, and it seems to be decent. I've run into a bug or two, but no deal breakers just yet. I've used IAR's Embedded Workbench for ARMs, but have yet to play around with their 8051 tools. Th...


gnu compiler optimizes out "asm" statements

Started by Tim Wescott in comp.arch.embedded9 years ago 52 replies

This is related to my question about interrupts in an STM32F303 processor. It turns out that the problem is in the compiler (or I'm going...

This is related to my question about interrupts in an STM32F303 processor. It turns out that the problem is in the compiler (or I'm going insane, which is never outside the realm of possibility when I'm working on embedded software). I'm coding in C++, and I'm using a clever dodge for protecting chunks of code from getting interrupted. Basically, I have a class that protects a block...