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: Why have system models????
    ... don't care for it model much, Ok it's nice to have a model of a system ... It's only when you have the experience to pick the possibilities of mismatch that you can gain some confidence in what you're modelling. ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" came out in April. ...
    (sci.engr.control)
  • Re: The time it takes to travel between 2 linux machines !!
    ... Is this "time zone configuration" enough to ensure ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" gives you just what it says. ...
    (comp.arch.embedded)
  • Re: 7805 regulator input voltage confusion ??
    ... Or preregulate with a zener to the base of an NPN pass transistor. ... (I'd suggest a switcher, but the level of questions you're asking suggests that it'd be too big of a bite for you at the moment, _and_ there aren't many spoon-fed circuits out there to go from 40V down to 5V). ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" gives you just what it says. ...
    (sci.electronics.design)
  • Re: A rhetorical question
    ... When I suggested turning between centers and offsetting the tailstock, he bristled, saying that it was "impossible" to ever get the tailstock back on center again. ... He didnt have a clue how to do anything other than the same 3-5 parts ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" gives you just what it says. ...
    (rec.crafts.metalworking)
  • Re: reading of complex values
    ... As others have pointed out, you're trying to get superficial information, but you're not supplying the deeper information that one needs to answer your question. ... matrices of complex -- real scalars are just a special case). ... Wescott Design Services ... "Applied Control Theory for Embedded Systems" gives you just what it says. ...
    (comp.dsp)