; Check for MMX and be done with it ;)

	include 'win32axp.inc'

	.code
start:
	mov eax, 1
	cpuid
	mov eax, nope
MMX_BIT = 1 shl 23
	and edx, MMX_BIT
	jz .show
	mov eax, yes
.show:
	invoke MessageBox, HWND_DESKTOP, eax, title, MB_OK
	invoke ExitProcess, 0

	.data
title db 'MMX enabled?',0
yes db 'Your CPU has the basic MMX functionality.',0
nope db 'Sorry! This CPU has no MMX support. (Upgrade?)',0

.end start
