Re: PIC Assembler.



Eeyore wrote:

ian field wrote:

Does anyone have a link to any tutorials for PIC assembly?

Over the past few months I've been trying many permutations of Google search
string, but most of the tutorials I've found assume previous experience at
writing assy for microprocessors.

Why would you want to use assembly language ?

IIRC, there's a neat free high level language for PICs but since I don't use
PICs, I never bookmarked it.

Graham

Several reasons:

For _really teeny_ bits of code it's easier to just write in assembly than to deal with the C runtime environment.

For _really fast_ bits of code you'll almost always get more speed out of assembly than compiled C.

For _really odd_ bits of code you often can't do things in C at all, or you get absurd levels of code bloat compared to what you can do in assembly.

There's no better way to learn how a microprocessor really works.

Many micro-based projects require just a bit of assembly programming to really work well, and you can't do that unless you've got someone on your team who can work in assembly. Even when they don't, understanding what the processor is doing 'underneath C' can be invaluable for debugging.

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html
.



Relevant Pages

  • Re: OT: Electronics word
    ... electronic circuit that uses ICs but no microprocessors? ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" was written for you. ...
    (rec.crafts.metalworking)
  • Re: Sample data log code for DSP?
    ... One often needs multiple tries to get the right answer -- one of the things one learns from newsgroups is how ambiguous any written language really is. ... Most manufacturers put all that sort of data up on their sites, so if Richard's suggestion hasn't lead you to it a good swing through the mfgr. ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" was written for you. ...
    (comp.dsp)
  • Re: PLD suggestions for classroom use
    ... As the class size has outgrown my Spartan boards and I feel that a ... modern FPGA is overkill for the simple circuits they are building, ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" was written for you. ...
    (comp.arch.fpga)
  • Re: error detection rate with crc-16 CCITT
    ... dynamically determine the fastest baud rate we can use by checking the ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" was written for you. ...
    (comp.arch.embedded)
  • Re: West African AIDS sufferer accuses Dominique Strauss-Kahn of rape!
    ... A woman who doesn't fight hard enough is complicit in her own rape? ... So, he's been accused of rape, he's a reasonable to extreme flight risk, and the DA is asking for no bail. ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" was written for you. ...
    (rec.crafts.metalworking)