News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Song Sung Blue

Started by Magnum, August 10, 2013, 02:50:14 AM

Previous topic - Next topic

Magnum

I understand the mov commands but how does this make windows "Blue."  :biggrin:


16:     DbgPrint("Some western classical music in the background with rodeo guns blazing.\n");
    17:     _asm
    18:     {
    19:         mov eax,0
>   20:         mov [eax],0
    21:     }
    22:     return STATUS_SUCCESS; // What the compiler knows we arent returning ever.
    23: }


Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

dedndave

that code doesn't turn the screen blue - lol

it does, however, generate an exception
on windows versions older than, say, win 2000, exceptions may have resulted in a BSOD

Magnum

Dave,

For security purposes I did not include all the source.  :t

Andy
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org