Attention code golfers...

Programming the 6502 microprocessor and its relatives in assembly and other languages.
bogax
Posts: 250
Joined: 18 Nov 2003

Re: Attention code golfers...

Post by bogax »

you just want to get bit 1 into bit 7?

Code: Select all

  lda ACIA
  and #$02
  adc #$7D
BillG
Posts: 710
Joined: 12 Mar 2020
Location: North Tejas

Re: Attention code golfers...

Post by BillG »

Put succinctly, the object is to return bit 1 of ACIA in the N flag while preserving the register contents.
Post Reply