Public feed #887602

Untitled

public text v1 · immutable
Raw Edit
·published 2008-02-01 13:32 UTC
rendered paste body
gcc test.c
test.c: In function ‘main’:
test.c:7: error: expected ‘(’ before ‘{’ token
test.c:8: error: ‘mov’ undeclared (first use in this function)
test.c:8: error: (Each undeclared identifier is reported only once
test.c:8: error: for each function it appears in.)



cat test.c
#include <stdio.h>
#include <pthread.h>
int main(int argc,char** argv)
{
int stack;
__asm
{
mov stack,esp
}
printf("%d\n",stack);
}