Page 2 of 2

Re: Bubble Sort for Array

PostPosted: Tue Apr 11, 2017 6:52 am
by steve-myers
FrankDCC wrote:Thank you very much for the helpful information and the updated code, first and foremost! The reason I have not been using the mentioned:
COUNT    EQU   (*-ARRAY)/L'ARRAY
FOUR     DC    A(L'ARRAY)
LIMIT    DC    A(L'ARRAY*COUNT)

is because I have not been taught how to do so yet, the only way I know how so far is the way I posted originally and I don't think I'm at liberty to skip ahead even if it's a better way. I do understand the point of using LA vs A though to eliminate a storage reference and will do so! Is there anyway you can "doctor" my code a bit more with the restrictive knowledge that I have / can use?

In some ways this is an unreasonable request; I don't really know what you do know and don't know. My only formal training in Assembler was for the IBM 7040 in the summer of 1965. Most of the techniques you see in my code are self learned in the school of hard knocks over more than 40 years.