Page 2 of 2

Re: Attention code golfers...

Posted: Tue Mar 15, 2022 12:49 am
by bogax
you just want to get bit 1 into bit 7?

Code: Select all

  lda ACIA
  and #$02
  adc #$7D

Re: Attention code golfers...

Posted: Tue Mar 15, 2022 4:57 am
by BillG
Put succinctly, the object is to return bit 1 of ACIA in the N flag while preserving the register contents.