All pastes #546561 Raw Edit

Something

public text v1 · immutable
·published 2007-06-07 02:55 UTC
rendered paste body
// tic tac toe.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdio.h>
#include <conio.h>


int _tmain(int argc, _TCHAR* argv[])
{
	char hello[] = "hello";
	char world[] = "world";

	__asm
	{
		lea  eax, world
		push eax
		lea  eax, hello
		push eax
		call printf
		; Reset stack pointer
		add esp, 8
	}

	return 0;
}