Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 24th January 2008, 06:25 PM   (permalink)
Default Information about asm to c transfer

Hello,

I'm slowly finishing everything there is with assembler in 16f and 18f family and I want to program PIC in C.

I have c++ background, although it was never fun as it's with asm.
So please, give suggestions for best books on programming PICs with c, also I will work with Hi-Tech PICC.

Thanks.
jhanus is offline  
Old 28th January 2008, 08:08 PM   (permalink)
Default

Any good general C book will work. I like O'Reilly's "Practical C programming" and A Presses "Beginning C: from novice to professional".
felis is offline  
Old 28th January 2008, 09:19 PM   (permalink)
Default

Thanks, finally someone.

I will give a look to specified books.
A question, is 'syntax' (instructions) same in all c compilers?
jhanus is offline  
Old 28th January 2008, 10:09 PM   (permalink)
Default

if a compiler claims to be ANSI-C compliant, yes.

PIC C compilers are "almost" compliant, the deviations are usually given in the compiler manual.
felis is offline  
Old 29th January 2008, 03:18 PM   (permalink)
Default

Thank you, now I think I'm set.
jhanus is offline  
Old 29th January 2008, 03:51 PM   (permalink)
Default

Quote:
Originally Posted by felis
if a compiler claims to be ANSI-C compliant, yes.

PIC C compilers are "almost" compliant, the deviations are usually given in the compiler manual.

There is some things about uC's that the standard do not cover. Each compiler vendor has come come up with their own way of handling these things.
3v0 is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Drive 33 Servos With One PIC + USART wschroeder Micro Controllers 45 25th October 2008 10:10 AM
PIC16F877A TX data to PC via serial cable derrick826 Micro Controllers 21 8th October 2007 02:28 PM
PCB Image Transfer Light Box Suraj143 General Electronics Chat 9 2nd August 2007 01:29 PM
Toner Transfer method question. HarveyH42 Chit-Chat 18 4th March 2007 06:16 PM
LCD Display/Computer USB Interface software. MrMikey83 General Electronics Chat 6 27th February 2006 07:33 AM



All times are GMT. The time now is 01:37 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker