PASM Parallax Assember query
dave29
Posts: 5
I am a relative beginner with microcontroller programming and attempting to learn
the PIC MCU. I am using "The Microcontroller Beginner's Handbook" by Lawrence A. Duarte as a tutorial guide.
The sample projects use the PIC16CXX series, (16C54, 16C55 & 16C71) and his firmware listings are all Parallax Assembly code.
I read on a few websites that Parallax had a download for PASM (parallax assembler) on their website, but I cannot find it. I am guessing the reason may be, it is considered obsolete. Does anyone know where I might find a version of PASM and PASMX?
Thanks, Dave
sample PIC coding
the PIC MCU. I am using "The Microcontroller Beginner's Handbook" by Lawrence A. Duarte as a tutorial guide.
The sample projects use the PIC16CXX series, (16C54, 16C55 & 16C71) and his firmware listings are all Parallax Assembly code.
I read on a few websites that Parallax had a download for PASM (parallax assembler) on their website, but I cannot find it. I am guessing the reason may be, it is considered obsolete. Does anyone know where I might find a version of PASM and PASMX?
Thanks, Dave
sample PIC coding
;Variables and equates ; strobe = ra.0 random = ra.1 reset = ra.2 statest = ra.3 led1 = rb led2 = rc org 8 ;start address of register variable space count_low ds 1 ;low byte of delay counter count_hi ds 1 ;high byte of delay counter statdir ds 1 ;left=0, right=1 stat_low ds 1 ;status counter low byte
Comments
http://www.parallax.com/sx/sxb.asp
Jeff T.
I am trying to program a PIC16C55 and eventually some other PIC16CXX MCUs.
Are you saying that the PASM (Parallax Assembler) is included with the SX/B compiler and I may be able
to assemble my code within that tool?
Jeff T.
tools to program the PIC.
Thanks again, Dave
Beyond that, you would probably be better off in the long run rewriting the PASM code in Microchip ASM.
I am prepared to rewrite the PASM code if necessary. I have a few more rocks to turn over, before I get to that point.
If you go to www.sxlist.com, you can find documents that will show you the differences between SX-KEY and PIC assembler for some PIC processors -- but not all.
You bit of code should be quite easy, but in larger programs the PIC doesn't provide for PAGE and BANK commands. These are quite important as the SXes have more memory for similar devices. The SX-28 is likely to be close to a 16F84, but with another byte of I/O port.
It would be easier to just buy an SX-Blitz, an SX-28 chip and work through the programs on the platform they were intended for. The documentation is both shorter and clearer. Microchip writes huge documents that don't alway provide things in a straight forward manner.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
If you are intent on PASM with the PIC, contact James Newton on the SX List. He maintains SX List & PIC List, so he is familiar with bot tool sets. FWIW, I think you would be better off not using PASM with the PIC; you'll be limiting yourself in some way or other.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
·
-Phil
I notice a few of you have an affinity for the SX MCUs. At some point I will definately take a closer look at them.
For now I'd like to assemble some Parallax code for a PIC16C55 project.
Phil, I appreciate your passing on the link for CVASM16. It looks very promising.