You can do it this way #define ra.0 porta,0 example bcf ra.0 ;set bit 0 of porta to 1 hope this help regards ----- Original Message ----- From: Mike M To: Sent: Sunday, November 07, 1999 2:49 AM Subject: setting ra.0 variable > I was on Dontronics readin Scott Edwards online book that shows how the basic stamp executes some of their opcodes and when u bring their ASM files into mplab the code is supposed to be in microchip format, most is, but where i get confused is there are lines like this > > D = ra.0 > > now MPLAB gives me an error that ra.0 is not defined. how do i define ra.0 to be portA bit 0? > > might be a dum question but.. MikE > > Send someone a cool Dynamitemail flashcard greeting!! And get rewarded. > GO AHEAD! http://cards.dynamitemail.com/index.php3?rid=fc-41