Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Hey, this was MY question....i just hadnt submitted it. OK: heres what i have done so far: goto Microchip goto Development Tools goto MPASM goto Quick Reference download Quick Reference. Print file Read it. I am NOT including a link, because if people havent learned their way around the Microchip site, its time they learned. > I've notice a lot of variation in the "syntax" of a number of posts here > with Assembly Language code, and have run into difficulties with some > assembler directives (such as data, code, ds,etc) when using the MPLAB > assembler. Via trial and error I got cblock and cend to work to define my > read/write storage (GPR), but now I want more information on usage of the > MPLAB assembler. I've downloaded the MPLAB documentation but where can I > find information on various MPLAB assembler directives such as cblock, and > all the others? attached are two files that illustrate the use of many features of the assembler. i cant remember who wrote them, but they are wonderful. the parallax macros are great examples of how to write a macro, use them to rewrite color.asm and you will learn how to write macros. convert from 12c508, and you will learn about assembler directives. redefine the gpio ports as portb, and you will find out about #define. and its a wonderful bit of code, too. Thanks, whoever. alice Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information. The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: Color.asm Date: 18 Nov 1998, 16:12 Size: 4535 bytes. Type: Program-source Content-type: Application/Octet-stream; name="Color.asm"; type=Program-source Content-disposition: attachment; filename="Color.asm" Attachment converted: wonderland:Color.asm (????/----) (00016E20) Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information. The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: Prlx.asm Date: 18 Nov 1998, 16:12 Size: 4170 bytes. Type: Program-source Content-type: Application/Octet-stream; name="Prlx.asm"; type=Program-source Content-disposition: attachment; filename="Prlx.asm" Attachment converted: wonderland:Prlx.asm (????/----) (00016E21)