; 99 Bottles of Beer. ; x86 Assembler for Windows console. ; ; by Roman Ovseytsev (tsech@mail.ru, www.eccentrix.com/members/arafel) ; ; Assemble with MASM32: ; ml.exe /c /coff beer.asm ; link.exe /SUBSYSTEM:CONSOLE beer.obj .486 .model flat, stdcall option casemap:none include \masm32\include\user32.inc include \masm32\include\kernel32.inc includelib \masm32\lib\user32.lib includelib \masm32\lib\kernel32.lib .data strng1 db "%i bottle%sof beer on the wall, %i bottle%sof beer.",13,10,0 strng2 db "Take one down and pass it around, %i bottle%sof beer on the wall.",13,10,13,10,0 strng6 db "Go to the store and buy some more, 99 bottles of beer on the wall.",13,10 str1 db "s ",0 str3 db "no more"