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

Re: LDA C08C,X



Hi Bryan,

"Bryan Parkoff" <BParkoff@satx.rr.com> wrote in message
Ruacnea5kJIx2sWjXTWQlg@giganews.com">news:Ruacnea5kJIx2sWjXTWQlg@giganews.com...
>     Please explain what LDA C08C,X is.  I know that it is read mode into
> byte latch.  Please look below:
>
> C65E: BD 8C C0 LDA C08C,X
>
> C661: 10 FB BPL C65E {-05}
>
> C663: 49 D5 EOR #D5
>
>     It requires to loop until bit is high.  Does it mean that it has to
loop
> 8 times until 8 bits are filled in a byte latch?

The BPL loop is NOT time synchronised with how many bits need to be
shifted into the register, so the loop will not necessarily loop 8 times.