[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LDA OpCode Question



In article <1poY8.107750$iX5.5032987@bin3.nnrp.aus1.giganews.com>,
 "Bryan Parkoff" <BParkoff@satx.rr.com> wrote:

> LDA OpCode Question
> 
>     I tried to tell 65816 that 65816 can read data from bank $01 by using
> local address instead of long address.  For example below:

Did you ensure that your program bank register and data bank registers 
are pointing to the same bank?

        phk    ;push the program bank register onto the stack
        plb    ;and pull into the data bank register.