Bubble Sort for Array



High Level Assembler(HLASM) for MVS & VM & VSE

Re: Bubble Sort for Array

Postby steve-myers » Tue Apr 11, 2017 6:52 am

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.
steve-myers
Global moderator
 
Posts: 1932
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 206 times

Re: Re: Bubble Sort for Array

 

Previous

Return to Assembler

 


  • Related topics
    Replies
    Views
    Last post