Or why there is a CLRW instruction when ANDLW 0x00 works just the same? But if they're going to have a CLRF instruction it is no more to have CLRW since it's CLRF xx,w. It specifically says the xx file address doesn't matter if w is the destination though.. Dmitry Kiryashov wrote: > > Dmitry Kiryashov wrote: > > > I join with Chip question. What real code CLRW instruction compiled to ? > > Just refine the question: It is interesting which code the CLRW is > compiled to > in case of other than standart MPASM compiler. Last MPASM is produced > something > like that: > > clrf STATUS,w > > according to my understanding of 0103h code. > > WBR Dmitry.