[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test: the cycle
On 17 fév, 15:49, "ict@ccess" <gids...@sasktel.net> wrote:
>
> Nooooooo! Please prefer my code. :)
>
> I agree with you that your way is the right way.
>
> And on a discussion point of view, my understanding was that the goal
> was to keep the ACC free.
>
> I don't want to get into the hardware aspect of this discussion of
> what happens to the hardware when the bits get changed in this
> register.
>
> So as a final note I am making a disclaimer.
>
> Use my way at your own risk! :)
:-)
OK OK, I missed the accumulator-free request!
PHA
SEC
JSR IDROUTINE ($FE1F)
BCS notiigs:
PHP
SEI
LDA #%1000_0000
TRB CYAREG ($C036)
PLP
notiigs:
PLA
xx
xx
===
I like the carry way :-)
av