Windows Metro: The hardest Hello World example I have ever seen :P
Posted
by Rob Addis
on Geeks with Blogs
See other posts from Geeks with Blogs
or by Rob Addis
Published on Sun, 28 Oct 2012 22:04:50 GMT
Indexed on
2012/10/29
5:03 UTC
Read the original article
Hit count: 254
http://msdn.microsoft.com/en-us/library/windows/apps/hh986965.aspx
Contrast that with Hello World in assembler on Windows:
.386
.model flat, stdcall
option casemap :none
extrn MessageBoxA@16 : PROC
extrn ExitProcess@4 : PROC
.data
HelloWorld db "Hello World!", 0
.code
start:
lea eax, HelloWorld
mov ebx, 0
push ebx
push eax
push eax
push ebx
call MessageBoxA@16
push ebx
call ExitProcess@4
end start
© Geeks with Blogs or respective owner