Question: just write the comments next to the codes. N egu 20 ; array count org $1000; ds.b1 arrmax loop org $1500 movb array, arrmax 1dx

just write the comments next to the codes.
just write the comments next to the codes. N egu 20 ;

N egu 20 ; array count org $1000; ds.b1 arrmax loop org $1500 movb array, arrmax 1dx #array+N-1 ; ldab N-1; ldaa arrmax ; cmpa 0, X bge chk end movb 0,x, arrmax dex bne b, loop swi i ; move the bigger number to arrmax chk end ; if bo, go to loop array db 1,3,5,6,19,41,53,28,13, 42, 76,14,20,54, 64, 74, 29, 33, 41, 45 end

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!