Hi, the second approach is good. However, you should write: mov FSR,#variable as you should set the ADDRESS of the variable rather than its content. Your boss is wrong. RP0 stands for direct addressing only. I hope this helps. Imre On Mon, 22 Feb 1999, Vincent Deno wrote: > I'm currently using a 16C74 (running Clearview 16CXX emulator). I > ve been trying to use the FSR to access data in Bank 1. > > Does anyone know the proper way to do this? > > My boss said that RP0 will select the correct bank (for indirect > addressing). But that conflicts with the data sheet and doesn't work > anyway. > > I tried defining the variable space (and the corresponding address) in > Bank 0, and adding the page length to the FSR before addressing. Ex: > org 20h > variable ds 1 > > .. > .. > .. > org somewhere_in_program > > mov FSR,variable > add FSR,#80h ; Adds the page length to the FSR. > INDF operation to perform on data. > > However, neither of these techniques work. The second approach works > until the address 0xC0, after which it doesn't affect any register. > > Any suggestions would be appreciated. > > Thanks, > > Vincent Deno > >