PIC Assembler 12 Bit Instruction Device Family Shop Talk

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Finally found a GREAT series of books..

I will hold back on saying which ones they are so I don't get accused of anything.

I am very stoked to find these!

Anybody want to talk about PIC Assembler?
 

JohnInTX

Joined Jun 26, 2012
4,787
Sure, but baseline devices (12 bit instructions) are hardly worth the effort given the alternatives available for the same or less cost. The time spent overcoming the limitations inherent in those old things would be far better spent on understanding those newer architectures, good books notwithstanding.
 
Last edited:

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Johnin

Thank you.

Kind of stuck right now for a specific question.

Found second in the series in .PDF but not the first.

Also they changed the titles because of copyright. PDF is second with old title.

Looks like first book has simple programs which I think are just a couple lines.

Would have a question about that but right now. No got!
 

JohnInTX

Joined Jun 26, 2012
4,787
For assembly language in PIC, I prefer 18F. Enhanced Midrange (16F1xxx) seems to be where lots of the cool analog/control/mixed signal stuff is going so I use those when needing all that stuff. Programming them in assembly is OK but still a lot of banking in the SFR and IO maps. Avoid 16Fxxx midrange and baseline stuff unless you have a real reason to be there. You will spend more time learning to compensate for the architectural shortcomings of the chips than it is worth.
 

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Thank you Johnin

I'm heading to the books that have a style that works for me.

In the second book he says he thinks visually and has drawings for

testing one bit and making the second bit the same.

Thinking visually and diagrams work for me!

It's at the beginning of book. It's about 'Programming Style'.
 
Last edited:

OBW0549

Joined Mar 2, 2015
3,566
I'll second JohnInTX's advice: the older PIC16Fxxx devices, IMO, really aren't worth the trouble. The PIC16F1xxx devices are better; I've used the PIC16F1847 on several projects, as it's got a nice set of on-chip peripherals.

Perhaps counterintuitively, I've found the 16-bit PICs (PIC24F and dsPIC series) the easiest of all to work with in assembly language, due partly to the more advanced instruction set and the availability of sixteen 16-bit working registers.

Also worth looking at, if you only need a teeny, tiny little processor for a project, are the PIC10F series. I've also found some of the PIC12F parts useful from time to time.
 

Papabravo

Joined Feb 24, 2006
21,159
Finally found a GREAT series of books..

I will hold back on saying which ones they are so I don't get accused of anything.

I am very stoked to find these!

Anybody want to talk about PIC Assembler?
I'm curious. What could you possibly be accused of except trying to learn?
 

MaxHeadRoom

Joined Jul 18, 2013
28,619
I believe the Pic Microcontroller by Han-Way Huang (Univ of Minn) is available out there in PDF, it covers mainly Assembly examples for the 18F Pic series, with some C equivalent code.
Covers most of the 18F modules.
BTW for purchasing books, my first to go to is Abe Books clearing house, some deals to be had.
Max.
 

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Thank you Max. Let me work backwards in responses to posts.

'BTW for purchasing books, my first to go to is Abe Books clearing house, some deals to be had.'

I get my from Amazon/Ebay.

I'm a sucker for the 'money goes to charity' sellers. Goodwill Stores , etc.

The first book is on the way. $2.56 to the charity. $3.99 shipping. Oh well.
 

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Max

'Pic Microcontroller by Han-Way Huang'

I take it that is one you liked.

Thanks for the tip.

Here's a hint about series I picked.

Was ' Pic'n ' a real expression for PIC hobbyist's in the 90's ?
 

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Bravo and Johnin

'Sometimes it looks like site-promotion/spam.'

Exactly. Yet. The books are out of print.

So. Am I spamming for dozens of sellers on Amazon/Ebay?

Do I somehow get a monetary reward for this?

I don't think so!

Johnin. PM on the way.
 

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Thank you QBW

I'm headed to books that speak my language and I can learn from.

That dictates the device.

No. I am very ignorant about this.

The first couple commands I've run across I just don't get it.

C is a language I can pickup immediately.

I need info on Assembler I can sink my teeth into.

Will use hotrod devices later.Did get your point about 18F easier with assembler.

Right now have to go with books I can comprende.

'Do this and this is why it works.' type stuff.

Lot's of 'hand holding' to get off 'square one'.
 
Last edited:

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Max

Thank you.

I am attempting to get first chapter of first book from author.

Albert Einstein huh?

Did you know he wrote a letter to FDR and greatly influenced starting the Manhattan Project?

If no first chapter I will just post something from second book .pdf
 

Thread Starter

PICNewbee

Joined Mar 31, 2017
355
Yes. That is correct.

I already paid for used copy on Amazon. It is on the way.

The author has no more to sell anyhow.

I would like to get going with this.

First chapter will keep me busy until book gets here.

Crystal clear to me.
 

Papabravo

Joined Feb 24, 2006
21,159
Yes. That is correct.

I already paid for used copy on Amazon. It is on the way.

The author has no more to sell anyhow.

I would like to get going with this.

First chapter will keep me busy until book gets here.

Crystal clear to me.
Got it. Have you actually read any of the material from Microchip, like the PIC Mid Range Family Reference Manual? That has more than enough to occupy you while you wait. At almost 700 page it should keep you warm and toasty.

http://ww1.microchip.com/downloads/en/devicedoc/33023a.pdf

Especially chapters 4, 5, & 6
Skip chapters 1, 2, & 3 to start with or you will quickly find yourself in the weeds. You can come back to them later.
 
Top