I think I know hat the OP wants. Please note the following instructions are 14 bit core and are almost certainly different. 1 Assume registers have already been reserved and are called B1, B2 etc 2 I want to put the value of 73 into register B2 movlw 0x49 ; move literal value of 0x49 (73 decimal) into W reg movwf B1 ; move contents of W reg into register called B1 The problem I have is not actually knowing what the OP is trying to achieve. If for arguments sake he said he has data coming in through the serial port which wants to be put in a buffer, then there is something to work with. Regards Dave Jan-Erik Soderholm wrote: > Lembit Soobik wrote : > > >> Lets say I have 8 variables, each one Byte, named >> B1, B2, ... B8 >> and I want to write them into the first GPR >> > > Why do you want to write them into the *same* > (what you call the "first") GPR ? > > And where are B1-B8 stored if not in a 8 GPR's ? > > What is it that you call "variables" ?? > > >> howdo I address the GPR and >> which instruction do I use to write (or read) >> > > As I said, any (almost) instruction can address the > GPR's. Some (like movf) reads and some (like movwf) > writes... > > You absolutely *HAVE* to study the data sheet again! > > In particular the part with the instruction set... > > Regards, > Jan-Erik. > > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist