Language IBM HLASM Macro
| Date: | 11/17/09 |
| Author: | John P. Rotten |
| URL: | n/a |
| Comments: | 1 |
| Info: | http://www-01.ibm.com/software/awdtools/hlasm/ |
| Score: |
MACRO
BEER
.* IBM High Level Assembler Macro Version
LCLA &BEER
&BEER SETA 99
.LOOP ANOP
MNOTE '&BEER bottles of beer on the wall'
MNOTE '&BEER bottles of beer'
MNOTE 'Take one down and pass it around'
&BEER SETA &BEER-1
AIF (&BEER EQ 0).NOMORE
MNOTE '&BEER bottles of beer on the wall'
MNOTE ' '
AIF (&BEER NE 0).LOOP
.NOMORE ANOP
MNOTE 'No more bottles of beer on the wall'
MNOTE ' '
MNOTE 'No more bottles of beer on the wall'
MNOTE 'No more bottles of beer'
MNOTE 'Go to the store, buy some more,'
MNOTE '99 bottles of beer on the wall'
MEND
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments