Thread: Assembly Help
View Single Post
Old 05-29-2009, 10:36 PM   #6 (permalink)
shuuhen
Manager
 
shuuhen's Avatar
 
Join Date: Sep 2004
Location: Colorado
Posts: 986
OS: Mac OS 9.1, Mac OS X 10.5.8, WinXP Pro, FreeBSD 6.0, Gentoo Linux

My System

Re: Assembly Help

Too bad it's not for an HCS12 or AVR. I could answer questions on those easier. We cannot bend the rules (ie. do your work for you), but we can answer specific questions you have.

Do you have a textbook? My university's library has a fairly good selection of books, so you might check for a book on the PIC16 microcontrollers. Any microcontroller book that goes over assembly could give you an idea of what to do, but you'd probably run into syntax issues and differences in mnemonics, registers, and so forth. A PIC book would be best, but I think AVR's might be the easiest to compare with. A book similar to this one would probably help: http://www.amazon.com/Designing-Embe...QYJ6ATJAVJQFHA

I know there are others, but I mainly use the HCS12 and AVR microcontrollers for classes and projects.

Definitely get the datasheet for your specific chip. It will have information on timers, PWM channels, the USART(s) and some information about the instruction set (so you can get the mnemonics right). The datasheet may have enough information for you to at least do the flowchart and an attempt at the code.
__________________


Has it been a few days since I replied to your thread? Don't panic! I'm a busy college student and may forget a post if I'm extra busy (or it might just take me a while to be able to do a decent reply). If you still need help and are awaiting my reply after a few days, PM me about it.

When posting what errors you get, please give the full message. It makes helping you much easier.
shuuhen is offline   Reply With Quote