Searching \ for '[PIC] Re: PIC 16F628A Assembler Questions' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=16F
Search entire site for: 'Re: PIC 16F628A Assembler Questions'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Re: PIC 16F628A Assembler Questions'
2007\09\22@131958 by Howard Winter

face
flavicon
picon face
(Tag added)

On Sat, 22 Sep 2007 08:27:42 -0400, Richard Seriani, Sr. wrote:

>...
> Tutorial at http://www.mstracey.btinternet.co.uk/pictutorial/picmain.htm

There are some strange errors on this, for example he describes:   DECFSZ  COUNT,1

thus:

   "This instruction says 'Decrement the register (in this case COUNT) by the number that follows the comma.  If we reach zero, jump two places forward.'"

Oh no it doesn't!  :-)

Cheers,




Howard Winter
St.Albans, England


2007\09\23@122126 by Tamas Rudnai

face picon face
I see, so that's why when someone writes "DECFSZ COUNT,0" it would not make
any changes on COUNT? :-) <grin>

Elmer and Mikroelektronika are two good resources for beginners, and of
course piclist:
www.piclist.com/techref/microchip/index.htm
(especially the beginners checklist)

It is also good to learn how to read the datasheet, that is your best friend
in PICs world.

Also it's very good to read MPLABs help files. Over there the difference in
between relocatable and absolute code is described in the Assembly section.
To quickly answer to your first Q: no, if you would like to write code only
for learning the basics of assembly programming, it might be better not to
be confused by relocatable stuff. Relocatable is good when you write
libraries and bootloadable firmwares and is a good practise to use it
everywhere, but you do not really need it at this point.

Best regards,
Tamas




On 9/22/07, Howard Winter <spam_OUTHDRWTakeThisOuTspamh2org.demon.co.uk> wrote:
{Quote hidden}

> -

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...