DesignSpark Electrical Logolinkedin
Menu Search
Ask a Question

Re: PIC Assembly Learning

 

Hello Everyone,

I am studying Assembly Programming Language for Pic 8 bit Microcontrollers. I live with a long term Traumatic Brain Injury. Learning and Understanding is a long process. Once I grasp an understanding of a topic I am trying to learn it is usually locked into my brain. I am not stupid; my Brain is Wired different to a normal brain and takes me longer to understand things.

I am not seeking sympathy. I am asking if anyone out in the community knows of any text books / learning material available on Assembly Programming Language for Pic 8 bit Microcontrollers that are at first relatively easy to understand – not too complicated and relatively easy to start writing programs. I have purchased 2 x books so far 1 x by Tim Wilmshurst published in year 2010, this book is outdated. The second book is by Theresa Schousek published in year 2018, this book is mainly about PIC Technology and it’s a bit difficult for me to understand some things in the book. If a book is basically out of date it is difficult for me to write programs and download the program to a microcontroller. The older Pic Micros arent programmable with the software I am using which is MPLAB X IDE. Thank you. Any help would be more than appreciated.

Regards,

Ray Butterworth

 

0 Votes

Comments

January 17, 2020 14:59

Ray , please take a look at this book by colleague Lucio Di Jasio - This is ( not ) Rocket Science , things have moved on alot from the days of Assembly Programming - I've got a spare copy which I can post to you mike.mcglade@microchip.com

0 Votes

August 9, 2019 08:31

Hi Boss,
Thanks, I appreciated your help.
Regards,
Ray

0 Votes

August 9, 2019 08:32

Hi Ray, sorry I'm not going to answer your question! I'll explain...
I've used many uP and uC on and off over many years starting with 8080, 8085, Z80, 6800 and PIC's. Using assemblers I found the PIC's probably the hardest to learn, but they have been as I had been spoilt by 6800 structure which I found simplest. However I did do a number of PIC projects successfully and then went on to programming them in C which I enjoyed except for the cost of the compiler back then.
I did get asked to help a friend using PIC BASIC (which I had dismissed as a toy) but was suprised how powerful it was and easy to learn!
Currently I am looking at the ESP32 DevKitC which although more expensive than a PIC has many built in functions I want to learn.
To start I'll use the Arduino IDE and go from there.
I guess what I'm trying to say is there maybe merit in considering programming at a higher level and possibly with a module, but that is of course for you to decide.
Looking back I would not be embarrassed to going bac to BASIC on a PIC.

While doing a search I did find this https://uk.rs-online.com/web/p/chip-programmers/1774116/ which seems incredible value.

0 Votes

August 8, 2019 07:04

Hi Joy,
Thanks for your help.
Regards,
Ray

0 Votes

August 7, 2019 15:24

Hi Ray,

I did a course at University using the PIC18F4520 and was recommended the following materials apart from my lecture notes:
1. Katzen, S, “The Essential PIC18 Microcontroller,” Springer-Verlag, London, 2010.

2. Mazidi, MA, McKinlay, RD and Causey, D, “PIC Microcontroller and Embedded Systems Using Assembly and C for PIC18,” Pearson Education, New Jersey, 2008.

3. Huang, HW, “PIC Microcontroller: An Introduction to Software and Hardware Interfacing,” Delmar Cengage Learning, Clifton Park, NY, 2005.

I found the last one by HW Huang quite useful. Maybe you can borrow it from a local library or get the e-book.

For older PIC16 instruction set, there is another book by Sid Katzen- "The Quintessential PIC Microcontroller".

Regards,
JC

0 Votes