On Fri, 10 Mar 2000 10:46:07 +1100 Tony Nixon writes: > robert hodkinson wrote: > > > > A really odd problem here. > > > > why does the following line of code not work? > > > > bcf W, 0x02 > > > > my understanding is that W is classed as a file register, or is > it? > > > > robert. > > -- > > Robert Hodkinson, SF nut and a Render-head. > > www.geocities.com/SoHo/Coffeehouse/5939 > > reply email is bag.it@cableol.co.uk > > You can't use that instruction of the W register. It is not a RAM > location. > You will probably need a mask value then AND it with W. > > Though 17c and 18c chips DO map w into file register space. Call it wreg, though, not w (which is 0). 16c series processors do not have w in the file register map. Harold FCC Rules Online at http://hallikainen.com/FccRules Lighting control for theatre and television at http://www.dovesystems.com ________________________________________________________________ YOU'RE PAYING TOO MUCH FOR THE INTERNET! Juno now offers FREE Internet Access! Try it today - there's no risk! For your FREE software, visit: http://dl.www.juno.com/get/tagj.