Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Learn PIC assembly (http://www.chiefdelphi.com/forums/showthread.php?t=60652)

bronxbomber92 04-01-2008 23:55

Learn PIC assembly
 
I'd like to learn (or at least start learning) assembly for the PIC architecture (as I take, that's what the robot's is). Does anyone have any resources, tutorials, ect? I'm completely new to assembly (well, I understand the idea, but I have no real experience with it - a day worths of reading x86 assembly docs).

Thanks,
Jedd

comphappy 04-01-2008 23:57

Re: Learn PIC assembly
 
You can start your knowledge feeding here http://cba.mit.edu/projects/fablab/docs/D.pdf

whytheheckme 05-01-2008 00:01

Re: Learn PIC assembly
 
Wow, that's a lot simpler assembly than I would have thought. Very few instructions. I guess I'm used to dealing with more complex assembly languages, like that for the 68HC11, or even a processor I designed myself.

Jacob

comphappy 05-01-2008 00:12

Re: Learn PIC assembly
 
Quote:

Originally Posted by whytheheckme (Post 667975)
Wow, that's a lot simpler assembly than I would have thought. Very few instructions. I guess I'm used to dealing with more complex assembly languages, like that for the 68HC11, or even a processor I designed myself.

Jacob

Its sudo RISC, I dont get why FIRST does not use a real processor like HC12, it is so much more powerful, and actually used for real tasks besides tv remotes.

bronxbomber92 05-01-2008 00:21

Re: Learn PIC assembly
 
Thanks for the PDF. Although, I don't think just the instruction set is enough to teach me assembly in general also. Is this a good starting point? http://www.mstracey.btinternet.co.uk...al/picmain.htm

Capt. Quirk 05-01-2008 03:43

Re: Learn PIC assembly
 
Good book for PASM and C

3dude_2231 05-01-2008 06:07

Re: Learn PIC assembly
 
Quote:

Originally Posted by bronxbomber92 (Post 667984)
Thanks for the PDF. Although, I don't think just the instruction set is enough to teach me assembly in general also. Is this a good starting point? http://www.mstracey.btinternet.co.uk...al/picmain.htm

this is where I started :D
I totally recommend it =].

BUT, you gotta have something to experiment with.
I got a PICKit2 from Microchip, and half a year later, it's still fun for me.

Ran.

jtdowney 05-01-2008 07:46

Re: Learn PIC assembly
 
Quote:

Originally Posted by comphappy (Post 667981)
Its sudo RISC, I dont get why FIRST does not use a real processor like HC12, it is so much more powerful, and actually used for real tasks besides tv remotes.

The word on the Chief is they are changing the whole RC next season so we will most likely be looking at a new architecture and new development tools.

Personally I'd like to see FIRST move to an ARM architecture.

bronxbomber92 05-01-2008 10:11

Re: Learn PIC assembly
 
Quote:

Originally Posted by jtdowney (Post 668056)
The word on the Chief is they are changing the whole RC next season so we will most likely be looking at a new architecture and new development tools.

Personally I'd like to see FIRST move to an ARM architecture.

Would that mean it'd might be smart to hold off, and wait to get the kit of parts today, and see what architecture the RC is using?

jtdowney 05-01-2008 10:19

Re: Learn PIC assembly
 
Quote:

Originally Posted by bronxbomber92 (Post 668080)
Would that mean it'd might be smart to hold off, and wait to get the kit of parts today, and see what architecture the RC is using?

I was speaking about the 2009 season.

Foster 05-01-2008 10:29

Re: Learn PIC assembly
 
123 PIC Microcontroller Experiments for the Evil Genius by Myke Predko is a good choice. He describes code in both C and assembler, that helps make the transition / learning a little easier.

PIC assembler is easy, since the instruction set is simple. It lacks some of the cool features of some other processors, but when you look at how fast you can prototype, it is a good trade.

bronxbomber92 05-01-2008 10:56

Re: Learn PIC assembly
 
Thanks for the book recommendation. I might buy it.

3dude_2231 - Do any of the software and compilers for PIC work on Mac OS X? I'm afraid I won't be able to experiment on anything if it doesn't.

3dude_2231 05-01-2008 15:24

Re: Learn PIC assembly
 
I really don't know, as I use win.

best answer is found at Microchip's support I guess.

anyway, just PM me, or 'MSN' me if you got any question =]

good luck.

Los Frijoles 06-01-2008 12:23

Re: Learn PIC assembly
 
The book Programming and Customizing the PIC Microcontroller by Myke Predco is a good book which is easily purchased from amazon for a reasonable price. When I first learned PIC ASM in early 2006 I used the tutorial here along with help from people online before I learned about that book. The book has tutorials on just about everything from using the FSR registers to using emulated & onboard UART.


All times are GMT -5. The time now is 09:37.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi