On Tue, Apr 11, 2000 at 06:34:14PM -0500, Sam WILLIAMS wrote: > I am attempting to create a test environment that will answer the question regarding the viability of using C vs assembler for PIC programming. I don't think you will find a nice, neat study that looked at a large body of real-world code. I would suggest taking an existing assembler-coded application and recoding it in C, and comparing the result in terms of code size. I'm biased, of course, but we (HI-TECH Software) frequently receive comments from users of our PIC compiler that indicate no code-size penalty for using C, and in some cases the C code is actually smaller. Certainly, you will find it far easier to find programmers who can write applications in C for the PIC and get good results than you will find assembler programmers who can code effectively for the PIC. To help your management, here are a few comments from our customers that directly touch on code size: "I've gotten some really good ROM- and RAM-saving techniques by studying the compiler's output. And I've been coding PICs for 5+ years" "I demonstrated that I could generate more complex and more readable code much faster, and the compiler is so tight that they could not significantly improve on the assembly code it generates. Now, they [two colleagues] have both turned in their purchase requests for HT PIC C!" "I made regular checks of the generated assembly code for size and tightness and have been impressed almost every time." "I've been very pleased with your product ... The code is clean and efficient." "The optimizations are great! It is impressive how much code can be packed in such a tiny processor as the PIC!" > > Any help would be greatly appreciated. > > --- Sam Williams > > > > >>> wf@BLUSOFT.ORG.BR 04/11 7:35 PM >>> > Hi again... > > Can the parallel port PC force a Interrupt (INTERRUPT REQUEST) when some > external event occur? > > Thanks! > > mIGUEL > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > > ********************************************************************** -- Clyde Smith-Stubbs | HI-TECH Software Email: clyde@htsoft.com | Phone Fax WWW: http://www.htsoft.com/ | USA: (408) 490 2885 (408) 490 2885 PGP: finger clyde@htsoft.com | AUS: +61 7 3355 8333 +61 7 3355 8334 --------------------------------------------------------------------------- HI-TECH C: compiling the real world.