Re: void* passed as funtion parameters?
"Tim Roberts" <timr@probo.com> wrote in message
news:5tggb552g8p4ft9j75l3a1fdh2u1acv5ss@4ax.com...
Robby <Robby@discussions.microsoft.com> wrote:
Nonetheless, I haven't decided weather I would go with MPLAB or Mikroc
yet.
The 249$ start kit for Mikroc is not a problem. See:
http://www.mikroe.com/en/compilers/mikroc/pro/pic/
Do you prfer MPLAB?
I use it because it was free. I didn't go looking for other tools. Most
microprocessor projects are small and well-contained, and not particular
suitable to complicated designs. Remember, many of these microprocessors
have memories measuring in the hundreds of bytes, which does not leave
room
for much compiler-generated template junk.
Templates, when used carefully, don't take up extra space. Think of the
typical MAX routine, implemented as either a macro or template function.
The template will generate just as good code (after being inlined), while
being type-safe and immune to argument side-effects being executed
repeatedly.
I wonder why Microsoft doesn't compile code for MCU's. Maybe the time has
come since the embedded MCU market is getting huge.
Not in comparison. The market for embedded MCU compilers is insignificant
compared to that for Visual C++.
It would be nice to
program our code in VC++ and by selecting the MCU of your choice, VC++
would
generate the appropriate hex file. I don't know if it would be possible
though! .... There's a business idea!
Visual Studio already supports code generation for devices that support
Windows CE or Windows Mobile. However, those processors are miles above
the kinds of processors we're talking about.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.