In message <199703101403.JAA05256@mail4.uts.ohio-state.edu> PICLIST@MITVMA.MIT.EDU writes: > Greetings: > > Can a register and a particular bit be assigned a name. > > ie... > > btfss snyc > > Where snyc would represent 6,1 > > I tried equate with no luck, maybe a macro ? > Joseph, I use #define. eg: #define sync 6, 1 ... btfss sync I find this to be invaluable for defining what is connected to the pins on the PIC. For example, in a prototype I may have IIC memory. SDA connected to porta, 0 and SCL to porta, 1. In my code I would have #define SDA porta, 0 #define SCL porta, 1 and later would have a routine which read data from the IIC device and would refer to the port pins using only SDA and SCL: bcf SDA ; example only - not proper code :-) bsf SCL bcf SCL btfss SDA ... return When I come to layout the PCB, I might find that the layout is significantly easier if the pins were swapped. All I need to do is change the #define lines. Also, if you want to change the direction of the port pin you can use the same #defined text. eg: bsf status, rp0 ; goto page 1 bsf trisa, 0 ; produces the same code as bsf SDA bcf status, rp0 ; back to page 1 I hope this helps, Mike Watson