James & Ili wrote: > I'm just trying to grasp the concept of 2 byte variables. Suppose I > had a counter and I wanted to count into a 2 byte variable, could I > use code like this? > > incf count, f James & Ili: No; "INCF" works on single registers only. > or would I have to use something like > > incf count.low, f > skpnc > incf count.high, f You have the right idea, but that particular method won't work, since "INCF" doesn't affect the Carry flag. Instead, you can use the Zero flag: incf countlo skpnz incf counthi -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === http://www.geocities.com/SiliconValley/2499