C or Assembly
- From: "Abstract Dissonance" <Abstract.Dissonance.hotmail.com>
- Date: Thu, 2 Mar 2006 16:50:51 -0600
Which is better to program in, in general, for Microchip's pics; C or
Assembly? I am personally more fond of assembly but after trying a little
using microchips "31 instructions" its a bit daunting. I really don't want
to waste my time extending the instruction set just cause they want to hype
it up with making it small as possible. Not sure why the stopped at 31...
"Only 5 easy instructions to learn!!!".
Are there any drawbacks to using C(besides bloating?)?
While I don't mind using assembly I know that I will just end up making many
macros to do what I want and it will basicaly end up as more of a HLL
anyways so I probably should just go with C from the start. I'm mainly used
to Masm syntax and semantics anyways and Microchip's synatic can be strange
at times(and annoying when you only have one register to work with(I mean
"W").
From glancing at some C code it seems much easier to do things like setting"File Registers" and such(I definately hate the INDR method for working with
"pointers") but I should be able to accomplish that with a macro(assuming
they have good macro functionality which I haven't checked out yet).
Thanks,
Jon
.
- Follow-Ups:
- Re: C or Assembly
- From: Sambo
- Re: C or Assembly
- From: petrus bitbyter
- Re: C or Assembly
- From: bungalow_steve
- Re: C or Assembly
- From: Byron A Jeff
- Re: C or Assembly
- From: Byron A Jeff
- Re: C or Assembly
- From: cbarn24050
- Re: C or Assembly
- From: David L. Jones
- Re: C or Assembly
- From: John Jardine.
- Re: C or Assembly
- From: John Fields
- Re: C or Assembly
- From: Stef Mientki
- Re: C or Assembly
- Prev by Date: Re: 12V DC adapter - Have I blown my kit!??
- Next by Date: Re: 12V DC adapter - Have I blown my kit!??
- Previous by thread: Re: 0.0 ohm resistor??
- Next by thread: Re: C or Assembly
- Index(es):
Relevant Pages
|