Insight Central: Honda Insight Forum - View Single Post - New MIMA Thread
 
Go Back   Insight Central: Honda Insight Forum

Please Visit our Site Sponsors Page
Insightcentral.net is the premier Honda Insight Forum on the internet. Registered Users do not see the above ads.

» Auto Insurance
» Featured Product
» Wheel & Tire Center

Thread: New MIMA Thread
View Single Post
Old 04-23-2010, 04:00 PM   #420 (permalink)
Hybrid-Battery-Repair
Vendor
 
Hybrid-Battery-Repair's Avatar
 
Join Date: Sep 2008
Location: NYC
Posts: 2,342
Default

Quote:
Originally Posted by 3-Wheeler View Post
So Mike, any time you program a PIC, is it always done with assembly, or are there times when you use C with an embedded compiler, and then upload to the PIC?

I've only known of just a handful of people to program in assembly, that's why I'm curious.

Jim.
Up until recently, Microchip PICs were programmed almost exclusively in their assembly language or in Parallax's assembly. Microchip's assembly is byte for byte, while Parallax's has some 2->3 byte conversions. The C compilers were very expensive and the chips were so limited that you had to eke out every byte, so C was a luxury that most couldn't afford.

In the late 90's, I designed a DRL controller around a PIC16C54. It had 512 bytes of EPROM for program space and only 25 bytes of RAM (8-bit bytes). You had to get VERY creative with your code to make things fit. C can't generate code as tight as hand-coded assembly.

This message wouldn't have fit in the chip.
__________________
2000 MT #4227 175K miles - Citrus Yellow, BetterBattery
Hybrid-Battery-Repair is offline   Reply With Quote
 
Powered by vBadvanced CMPS v3.2.2

All times are GMT -4. The time now is 10:55 PM.



Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.