Below I have the program in question's source code listed.
Now I see that for the cd player to open on your computer when you run it, you have to answer the message box "YES", and assembly language compares the message box with what you entered to see if the program will continue. With a little bit of research IDYES obviously has something to do with basic/message-box. But what?
; Beer - example of tiny (one section) Win32 program
include'win32a.inc' ; no section defined - fasm will automatically create .flat section for both
; code and data, and set entry point at the beginning of this section
_messagedb'Do you need additional place for the beer?',0
_cmd_ejectdb'set cdaudio door open',0
; import data in the same section
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum