Howdy all,
I know this is the C/C++ forum, but the Assembly forum is pretty much dead. I'm wanting to know what the following code would be in ASM (MASM really):
I'm wanting to retrieve the Red Green and Blue values of a picture on a DC.Code:#define GetRValue(rgb) ((BYTE)(rgb)) #define GetGValue(rgb) ((BYTE)(((WORD)(rgb)) >> 8)) #define GetBValue(rgb) ((BYTE)((rgb)>>16))
Any help would be great.
Phreak




Reply With Quote