I am a PIC 16F8 newbie. One of the first things I was thinking is start building an include file containining macros for making helpful "extended instructions". This must have been done a thousand times by PIC experts. Can anyone point me to or send me any of their favorite macros? Call accross page boundary macros etc. I have not had much luck Googling for PIC macros. For example, I would like a macro to create an "extended instruction" to replace the following two instructions: ;M=a MOVLW a MOVWF M ;***************************************** ;* Macro to assign a literal to a memory location via W ;* ;* Note: Modifies W register '* ;***************************************** MOVLWF macro l, m MOVLW l MOVWF M endm Thanks in advance, -Ed -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu