💾 Archived View for mirrors.apple2.org.za › archive › ground.icaen.uiowa.edu › MiscInfo › Programmin… captured on 2023-01-29 at 10:15:17.
-=-=-=-=-=-=-
Dan Foster <usenet@evilphb.org> writes: >For the interested, the assembly language listing for that small program is: >0300- A9 00 LDA #$00 >0302- 85 00 STA $00 >0304- 85 01 STA $01 >0306- 38 SEC >0307- 20 1F FE JSR $FE1F >030A- B0 04 BCS $0310 >030C- 84 01 STY $01 >030E- E6 00 INC $00 >0311- 60 RTS The last line should read 0310- 60 RTS otherwise the branch after the JSR makes no sense. -- David Wilson School of IT & CS, Uni of Wollongong, Australia