2 * PROJECT: Win32 subsystem
3 * LICENSE: See COPYING in the top level directory
4 * FILE: subsystems/win32/win32k/dib/i386/dib32bpp_hline.c
5 * PURPOSE: ASM optimised 32bpp HLine
6 * PROGRAMMERS: Magnus Olsen
13 PUBLIC _DIB_32BPP_HLine
16 sub esp, 12 // rember the base is not hex it is dec
19 mov edx, [esp+20] // edx = LONG x1
23 mov ebx, [esp+24] // ebx = LONG x2
26 sub ebx, edx // cx = (x2 - x1) ;
33 test edi, 3 // Align to fullword boundary
35 mov ecx, ebx // Setup count of fullwords to fill
45 mov ecx, ebx // Setup count of fullwords to fill
47 rep stosd // The actual fill