by Scott Edwards, 1994
The PIC Source Book was written in 1993 to provide users of the Parallax PIC programming tools with a ready-made collection of assembly code in Parallax assembly mnemonics.(see below) At the time, there were four PICs: 16C54, 55, 56, and 57. The popular '84 and ADC-equipped '71 were brand new. Since then, Microchip has made dozens of architectural enhancements to the PICs, and made its assembler available free via the net and CD-ROM. This has diminished interest in both the 5x PICs and the Parallax assembler.
As a result of these changes, the Source Book is reaching the end of its commercial life. Rather than discontinue it, the author has decided to make it available free via the Internet.
Free means free. You may use this material in any way you wish without obligation to the author. The author bears no liability for the consequences of such use, and will not support users of this free edition in any way. He will not be obliged to answer questions or respond to comments. Any of you who have been besieged with e-mail during Senior Project season will appreciate the wisdom of getting this out in the open right up front!
The book lists some utilities and extras on "the accompanying disk." Unfortunately, people other than the author hold the rights to these items, so they cannot be included with this online freebie.
PIC is a registered trademark of Microchip Technologies Inc.; BASIC Stamp is a registered trademark of Parallax Inc.
Introduction Branch 1 Button 1 Debug 1 EEPROM 1 End 1 For...Next Gosub/Return 1 Goto 1 High 1 |
If...Then 1 Input na Let x=x+y 1 Let x=x-y 1 Let x=y/z (division) 1 Let x=y//z (remainder) 1 Let x=y*z 1 Lookdown 1 Lookup 1 Low 1 |
Nap 1 Output na Pause 1 Pot 1 Pulsin 1 Pulsout 1 Pwm 1 Random 1 Read na Reverse 1 |
Serin (receive data)
1 Serin (convert # data) 1 Serin (check qualifiers) 1 Serout (send data) 1 Serout (format # data) 1 Sleep 1 Sound 1 Toggle 1 Write na Parallax Instructions
|
1 Note: Routines marked with a 1 have been re-converted to MicroChip assembler format by James Newton of piclist.com using Tech-Tools cvasm16 and the latest version of Tony Nixons ParaPic. They have not been checked in MPLAB.
See also:
See:
file: /Techref/microchip/seepicsrc/index.htm, 8KB, , updated: 2012/11/8 09:14, local time: 2024/11/22 21:02,
owner: DAV-MP-E62a,
3.133.117.113:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/microchip/seepicsrc/index.htm"> The PIC Source Book, BASIC STAMP assembly code</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.