Sorting algorithms/Cocktail sort: Difference between revisions
m
→{{header|360 Assembly}}: a correction
PatGarrett (talk | contribs) m (→{{header|360 Assembly}}: A better comment) |
PatGarrett (talk | contribs) m (→{{header|360 Assembly}}: a correction) |
||
Line 34:
=={{header|360 Assembly}}==
{{trans|PL/I}}
The program uses HLASM structured macros (DO,ENDDO,IF,ELSE,ENDIF) for readability and two ASSIST/360 macros (XDECO,XPRNT) to keep the code as short as possible.
<lang 360asm>* Cocktail sort 25/06/2016
|