Ok here is what I am looking to accomplish:
I'm an EE that sometimes does programming in C. Most of the time I am working with existing code from a programmer and need to debug it to work with hardware peripherals etc. I forget the basic syntax since I only program maybe 1 week out of a month. Sometimes I forget how things work, so I try to look it up on the internet but am usually overwhelmed by the amount of stuff and can't find an answer quickly. So i think it would be easier just to code things, tweak it and look at the output myself.
I work with TI microcontrollers,freescale,microchip.....but what I would like is a independent compilier that I can work with, that doesn't require me to compile the entire code, dump it on the embedded processor, run it and breakpoint. I would like just a very simple interface i can print output to and test some basic code.
For example, I forgot when you cast what happens
int a=0xFFFF;
long b;
b=long(a);
I didnt know whether b becomes 0xFFFF0000 or 0x0000FFFF
little embedded things like this i would like to run on a independent complier that doesnt require any embedded pcb.