testprac - beq done bra loop replace std max bra loop done...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
org $3800 count equ $3805 max equ $3801 org $4000 start lds # $4000 cli ldaa # 0 staa count staa max ldy # Data ldaa 1 ,y+ iny staa count ldd 1 ,y+ iny xgdx stx max dec $3806 loop ldd 1 ,y+ cpd max bhi replace dec count
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: beq done bra loop replace std max bra loop done stop Data fdb 5 , 500 , 1000 , 750 , 2250 , 500 org $FFFE fdb start...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online