Re: PIC Assembler.
- From: "David L. Jones" <altzone@xxxxxxxxx>
- Date: Fri, 26 Oct 2007 15:26:24 -0700
On Oct 27, 1:10 am, "ian field" <dai....@xxxxxxxxxxxx> wrote:
"Marra" <cresswellave...@xxxxxxxxxxxx> wrote in message
news:1193360493.191387.182070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 24 Oct, 00:24, "john jardine" <john.jard...@xxxxxxxxxxx> wrote:
"ian field" <dai....@xxxxxxxxxxxx> wrote in message
news:kcpTi.15009$qv1.3845@xxxxxxxxxxxxxxxxxxxxxxx
"Richard Seriani" <richard_s...@xxxxxxx> wrote in message
news:vPjTi.11299$BT5.19@xxxxxxxxxxxxxxx
"ian field" <dai....@xxxxxxxxxxxx> wrote in message
news:V_2Ti.20084$0z6.19665@xxxxxxxxxxxxxxxxxxxxxxx
Does anyone have a link to any tutorials for PIC assembly?
Over the past few months I've been trying many permutations of
search string, but most of the tutorials I've found assume previous
experience at writing assy for microprocessors.
Another problem is most of what I've found is HTML which is untidy
to
save for later study and many pages lose their image files after
being
saved to disk (anyone know why that happens?). Any help appreciated.
TIA.Ian,
Try these. Some are better than others and some have mistakes - but,
you'll be able to spot those within a short time.
http://www.mikroe.com/en/books/picbook/picbook.htm
http://www.winpicprog.co.uk/pic_tutorial.htm
http://www.mstracey.btinternet.co.uk/pictutorial/picmain.htm
fileSaving these to your hard drive can be done with a right-click and
save
as. It creates two files, one is the html document and the other is a
folder with the graphics. At least, it does on my Windoz machine.
ThatIn a later post, someone also recommended the PIC Elmer 160 tutorial.
is a good one and each of the lessons downloads as a PDF.
<snip>
Many thanks, the first link is *very* interesting - I may already haveexamples
the
other 2 saved. The Elmer 160 starts off simple enough but the code
quickly get heavy going, I need to go over a lot of simpler code over
and
over until I get the hang of it.
It's absolutely essential that you get to write the few lines needed to
flash an LED. If you can get there and can see why you've caused the LED
to
flash then -ALL- other PIC programming is downhill.
The "mstracey" link that Richard supplied, will do this, (upto "tutorial
#5") but more importantly, the how's and why's of the individual
instructions are described nicely.
Try and ignore anything written by Microchip.
Sadly though, you may have to make use of Microchip's, bloated, inane
piece
of s***, known as "MPLAB", but remember, the hoops it forces you to jump
through, are nothing to do with actual PIC programming but more reflect
the
mindset of Microchip's C pogrammers.- Hide quoted text -
- Show quoted text -
I have had no problems with MPLAB and it doies provide a simulator.
I have had trouble with the Microchip FFT that the multiply routine
had a bug.
I fixed it and sent it back to them.
To repeat an earlier question - would I find an earlier version of MPLAB
easier to get started, or would I seriously disadvantage myself by denying
myself of the advanced features of newer versions?
It seems a lot of people prefer to use a stand alone text editor, I'd
welcome any advice as to which choice to make.
Use the latest version of MPLAB, you'd be a fool not too.
MPLAB comes into its own when you have all the other tools tied into
it, like the C compiler and the ICD2 programmer/debugger. Then you
only need one package to edit, compile, program, debug, and simulate.
If you don't have an MPLAB compatible programmer, and/or a compiler
that can be "integrated" into MPLAB, then you don't need to use MPLAB
at all.
There is nothing wrong with the MPLAB text editor. It supports the all-
important colour syntax highlighting, and has most of the usual
features of a good editor.
Dave.
.
- Follow-Ups:
- Re: PIC Assembler.
- From: Jonathan Kirwan
- Re: PIC Assembler.
- References:
- PIC Assembler.
- From: ian field
- Re: PIC Assembler.
- From: Richard Seriani
- Re: PIC Assembler.
- From: ian field
- Re: PIC Assembler.
- From: john jardine
- Re: PIC Assembler.
- From: Marra
- Re: PIC Assembler.
- From: ian field
- PIC Assembler.
- Prev by Date: Re: How to amplify 15uV, 1.5MHz signal to read on Scopemeter
- Next by Date: Re: PIC Assembler.
- Previous by thread: Re: PIC Assembler.
- Next by thread: Re: PIC Assembler.
- Index(es):
Relevant Pages
|