>If 'HV_SetPH' represents a RAM register and 'DA_MASK' is a pre-defined >constant, then you probably want something like: > > MOVLW DA_MASK > ANDWF HV_SetPH, W > MOVWF SSPBUF > >I could be way off base with my post here since I don't have enough >information as to what 'HV_SetPH' and 'DA_MASK' represent. > >Could you post the definitions of 'HV_SetPH' and 'DA_MASK'?] > >In your project, do they represent just constants, intended RAM locations, >or something else? > >Thanks Chuck. You are dead on HV_SetPH is the Upper bits of sent to the DAC and is read from a memory location. DA_MASK is a predefined constant. I have the code outputting a string of bits now but it is not what I want. I have one pulse on my data line at the end of nine clock cycles. It looks like the Read/Write Bit. It appears as if I am not transmitting any data. This is seen on a DSO.=20 -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics